facebook

application.xml

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #244925 Reply

    logins123
    Member

    In my J2EE project when I try to change the name of the file in application.xml file and deploy the ear file, the ear file does not acknowledge the changes. still it has TestEJB.jar directory can you explain why?

    I am using myeclipse 4.0GA

    ex:
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <application xmlns=”http://java.sun.com/xml/ns/j2ee&#8221; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; version=”1.4″ xsi:schemaLocation=”http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd”&gt;
    <display-name>Test</display-name>
    <module id=”myeclipse.1133010454307″>
    <web>
    <web-uri>TestWeb.war</web-uri>
    <context-root>/AfterDocWeb</context-root>
    </web>
    </module>
    <module id=”myeclipse.1133010455589″>
    <ejb>TestEJB.xxx</ejb>
    </module>
    </application>

    #244933 Reply

    Riyad Kalla
    Member

    Right click on your EAR project, go to MyEclipse > Add / Remove Modules, then use that dialog to remove or add modules to your ear. This is where your application file is generated from.

    #244942 Reply

    logins123
    Member

    True thats correct, still I cannot change the extension of the files EJBproject and WEB project. As I posted earlier my question is, can I change the extension of EJB file to .xxx instead of .jar file.

    #244946 Reply

    Riyad Kalla
    Member

    Oh I appologize, I mis-read your original question. Is the name of your EJB project “TestEJB.xxx”?

    #244953 Reply

    logins123
    Member

    My Project Name is Test
    My EjbProject Name is TestEJB
    My WebProject Name is TestWeb

    #244961 Reply

    Riyad Kalla
    Member

    If you change the name of your EJB project to include an extension, that extension will be used instead.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: application.xml

You must be logged in to post in the forum log in