facebook

Automatic library inclusion from build path

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

    Chanchal
    Member

    I have my libraries grouped into sets, so based on web app functionality I include the appropriate library set (defined by a library variable) in my build path. But in order to deploy that app I have to copy all those libraries in the WEB-INF/lib folder. Is there some way I can get jars copied automatically from the build path. The present approach to me is very ugly as it sort of takes away the flexibility provided by library variables. Is there something I am missing or a better way to handle this.

    Also on other note is there a way to have another folder for java classes. Like “src” for source files and “test” for all tests.

    #205543 Reply

    Riyad Kalla
    Member

    We currently don’t support the library deployment features that you are asking about, but since library sets were introduced into Eclipse 3.0M8 we are looking into the natural addition of them into MyEclipse as well as associated enhancements (like you accurately pointed out).

    As far hasving multiple source folders, sure. Open up your project properties, go to your Java Build Path node, and click on the Source tab, and add another source folder.

    I will pass your request to the devs so we can keep this consideration on our radar when we do add library support.

    #205544 Reply

    Chanchal
    Member

    What I meant holds for normal classpath variables too. Like you have a classpath variable for a certain jar say Log4j and I include it in my projects build path but in order to deploy that I will also have to add that jar to WEB-INF/lib directory manually.

    #205545 Reply

    Riyad Kalla
    Member

    I believe overall the need for ‘deploying project-dependant resources’ is what we will be focusing on in 2.8 and 2.9 along with our other deployment enhancements. When we start releasing previews of those, give them a look over and let us know if we are providing you with the support you need.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Automatic library inclusion from build path

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