facebook

Library files in a Web Project [Enhancement]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #203219 Reply

    Hi,

    I’m just getting started with MyEclipse – previously I’ve been using JBuilder for developing Web Apps.

    I’m trying to figure out how to set up the library files for my Web project. At present I have configured them using the Java Build Path in the project properties – but I note that none of them get copied into the /WEB-INF/lib directory during a build (which is what happens in JB). Do I need to manually import them to the WEB-INF/lib directory?

    Thanks

    Phil

    #203220

    Riyad Kalla
    Member

    Phil,
    My office mate and I just had this conversation this morning 🙂

    In ME, the idea is that you work on your app in an exploded WAR format; meaning the libs necessary for your app are already in WEB-INF/lib.
    In JBuilder everything is copied into the final destination on build.

    Unfortunately you will need to change your project structure to have the libs in the WEB-INF/lib dir.

    #203230

    Thats unfortunate. Maybe this should be added as a feature request. BTW – JBuilder also works of an exploded WAR format during development. Its builder is smart enough to detect any changes to external library files and copy them to the /lib dir during a build. I think this is functionality that I’d like to see in ME.

    #203231

    Riyad Kalla
    Member

    Phil,
    Yes I see you point, this could be a very nice addition.

    Thanks for letting me know about JBuilder, I’ll tell my office mate ASAP so he can stop complaining about my CVS structure 😈

    #203286

    Scott Anderson
    Participant

    I believe the 2.7 GA release will fully support links in exploded formats. This would at least allow you to link your WEB-INF/lib directory to another location where you keep your libraries. The deployer will then follow the link and deploy them properly.

    #204756

    andyrut
    Member

    @scott wrote:

    I believe the 2.7 GA release will fully support links in exploded formats. This would at least allow you to link your WEB-INF/lib directory to another location where you keep your libraries.

    How do I go about linking the WEB-INF/lib directory to another location?

    #204761

    Riyad Kalla
    Member

    Right click in the folder, create new Folder, click ‘advanced’ and I believe there is a checkbox for ‘Linked’ or ‘Create Link’, something like that.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Library files in a Web Project [Enhancement]

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