facebook

How to add a modules in the enterprise application project

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #272164 Reply

    Diegolai
    Member

    I can only add a module project into enterprise application project. How can I add external jar modules into enterprise application? like following application.xml: how do I add jboss-seam.jar?

    <application >
    <display-name>house</display-name>
    <module>
    <web>
    <web-uri>house-war.war</web-uri>
    <context-root>/house</context-root>
    </web>
    </module>
    <module>
    <ejb>house-ejb.jar</ejb>
    </module>
    <module>
    <java>jboss-seam.jar</java>
    </module>
    </application>

    #272166

    Loyal Water
    Member

    Hi Diegolai,
    If you are talking about adding a dependent java project then the way to add it would be to right click on your project and going to Properties > Project References and checking you project in the list there.

    #272168

    Diegolai
    Member

    I know way to Iadd project modules, But I don’t know how to add external jar modules, like
    after deplyment to create project.ear, it can contain project-ejb.jar, project-war.war and jboss-seam.jar.

    project-ejb.jar and project-war.war are created by depedency projects, but how can I insert jboss-seam; it from external libary after deplyment using eclipse IDE, insterd of manully?

    thanks,

    #272169

    Loyal Water
    Member

    You need to drop the jboss-seam.jar into the root of the EAR. That will do the trick.

    #272187

    Diegolai
    Member

    Thank, it works now.

    #272190

    Loyal Water
    Member

    Glad to know it worked ..

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: How to add a modules in the enterprise application project

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