facebook

WAR : how to choose JAR librairies ?

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

    lavielle
    Member

    Hi,

    Is it possible to choose the JAR librairies (stored in the WEB-INF/lib) when you create a WAR file ?
    I have a weblogic.jar and I don’t want to deploy it on WLS…

    Thanks in advance,

    Nicolas

    #200749 Reply

    Scott Anderson
    Participant

    Nocolas,

    Actually, no you can’t pick and you certainly shouldn’t deploy weblogic.jar on weblogic. 🙂 I assume you tossed it in your WEB-INF/lib directory because you need a few of the classes in there. The best way to handle this is to simply find the original source of the classes that bea aggregated into the weblogic jar and only place those smaller jars into your weblogic lib directory.

    If you actuallly need to compile against weblogic-specific classes (ie. you’re app isn’t portable), then you can also remove weblogic.jar from the lib directory and just add it to the classpath directly. This will enable it to be seen while developing and those classes should be available at deployment time anyway.

    –Scott
    MyEclipse Support

    #200825 Reply

    logan
    Member

    Hi,

    Will it be possible in the future to choose files when you create a WAR (in Borland JBuilder you can check and choose files you want to export) ?

    #200828 Reply

    support-michael
    Keymaster

    Most definitely. We have had such a feature on the books for a while and just have not yet worked it into the schedule.

    Michael
    MyEclipse Support

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: WAR : how to choose JAR librairies ?

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