• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDeveloper, external JAR into WAR

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Probably begginer's problem:
We have a j2ee application made in JDeveloper. Now we must use foreign jar library. So we added this libary with full path into Selected libraries (as Project Libraries) and checked Deploy by default. Out first finding - we must also add full path of this library into Additional classpath, so we could translate and run the whole application. So far so good. But our main problem is, that deployed WAR file doesn't include this library. When we check all libraries listed in deployment profile, ours is not among them. Why?

Thanks for any suggestions.
 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should be able to specify all necessary .jar files to be included in a .war file by clicking on the .war deployment profile in JDeveloper.

There are various options there that allow you to select dependencies for your .war.

You might want to think about using ANT anyway... building a .war in your IDE is not necessarily the best bet for production deployments.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic