Topic
  • 3 replies
  • Latest Post - ‏2012-11-22T04:05:43Z by SystemAdmin
r6dude
r6dude
2 Posts

Pinned topic Export WAR does not include the dependent jar files.

‏2007-06-11T18:34:27Z |
Folks,

When I try to export my project as WAR file for WPS 5.1, I can't get the dependent JAR files included in the lib directory. I always have to go in & manually add these later. Is there anyway to get the dependent JAR files packaged in the exported war?

AJ
Updated on 2012-11-22T04:05:43Z at 2012-11-22T04:05:43Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    14225 Posts

    Re: Export WAR does not include the dependent jar files.

    ‏2007-06-14T16:55:24Z  
    Hi,

    In your project folder you can find .websettings file.
    In that file you can add your dependencies. Please have a look at the attached
    .websettings file.

    I am not sure of how to do this from RAD/WSAD UI. I normally use to add the dependencies manually in that file.

    Let me know if you have any thoughts.

    -Rakesh
    Updated on 2007-06-14T16:55:24Z at 2007-06-14T16:55:24Z by SystemAdmin
  • r6dude
    r6dude
    2 Posts

    Re: Export WAR does not include the dependent jar files.

    ‏2007-06-14T18:41:01Z  
    Hi,

    In your project folder you can find .websettings file.
    In that file you can add your dependencies. Please have a look at the attached
    .websettings file.

    I am not sure of how to do this from RAD/WSAD UI. I normally use to add the dependencies manually in that file.

    Let me know if you have any thoughts.

    -Rakesh
    Awesome. Works perfect.

    Thank you.

    AJ
  • SystemAdmin
    SystemAdmin
    14225 Posts

    Re: Export WAR does not include the dependent jar files.

    ‏2012-11-22T04:05:43Z  
    Hi,

    In your project folder you can find .websettings file.
    In that file you can add your dependencies. Please have a look at the attached
    .websettings file.

    I am not sure of how to do this from RAD/WSAD UI. I normally use to add the dependencies manually in that file.

    Let me know if you have any thoughts.

    -Rakesh
    I know it is age old and things are no longer the same. However, thought its better to conclude on this one.

    (Based on Eclipse Juno) In eclipse IDE based tools, most likely one can include the libraries under 'Project Properties' -> 'Deployment Assembly' settings.

    • Rakesh