facebook

Package required java projects as jars in war WEB-INF/lib

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

    davidbessire
    Member

    In my workspace i have an EAR project, a WAR project, and several java projects. i want to package the required Java projects as jar files in the WAR’s WEB-INF/lib.
    Currently these jars are packaged at EAR level.

    At EAR level, i use settings:
    Dependent Java Project Deployment Policy: Ignore
    Library Deployment Policies: unchecked for both jars and User library jars

    At WAR level, i use settings:
    Web Project Deployment Policy: JAR & place in /lib directory
    Library Deployment Policies: JARs from the build path

    For WAR project, all the Java projects are listed in the Projects tab of the Java Build Path dialog.

    Despite this, the JAR files all appear at EAR level.

    What do i have misconfigured?

    Thanks,
    david bessire

    #352513 Reply

    David,

    Can you clarify which version of MyEclipse you are working on ? If you are working on MyEclipse 10.x or earlier versions, I’m afraid it is no longer fully supported. I suggest you update to our latest release MyEclipse 2015 CI 6.

    In MyEclipse 2013 and later versions, we have done away with most of our deployment preferences in favor of the Deployment Assembly mechanism, which is much more transparent. Learn more about deployment assembly in MyEclipse Deployment Assembly.

    You can download MyEclipse 2015 CI 6 from here. If you are currently holding a MyEclipse license, then the same license is valid for MyEclipse 2015 CI as well.

    If you have any restrictions/limitations upgrading to our latest version then please send me a private message (pm) with your MyEclipse license information and we will check if we can assist you further.

    #352516 Reply

    davidbessire
    Member

    i’m running MyEclipse Blue 10.5. i have no option to upgrade as this software is managed at the enterprise level.

    #352522 Reply

    David,

    Please PM me with your license details and we’ll see if we can assist in this case. Also, please let us know on which server you are deploying the application.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Package required java projects as jars in war WEB-INF/lib

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