Changes for page Development-Third Party Jars
Last modified by Pascal Robert on 2010/09/19 10:26
From version 9.1
edited by Pascal Robert
on 2007/12/22 20:34
on 2007/12/22 20:34
Change comment:
There is no comment for this version
To version 11.1
edited by Pascal Robert
on 2007/12/22 20:32
on 2007/12/22 20:32
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -8,19 +8,19 @@ 8 8 9 9 {{warning}} 10 10 11 -First a word of warning: DO NOT PUT YOUR JARS INTO _/Library/WebObjects/Extensions/_ \!. You're heading for deployment and classpath problems if you do that.11 +First a word of warning: DO NOT PUT YOURS JARS INTO _/Library/WebObjects/Extensions/_!. You're heading for deployment and classpath problems if you do that. 12 12 13 13 {{/warning}} 14 14 15 -It's really easy to add third party jars into your WOLips project. Add your third party JARs by dragging the JARs from the Finder to the //Libraries// folder of your Eclipse project. 15 +It's really easy to add third party jars into your WOLips project. Add your third party JARs by dragging the JARs from the Finder to the //Libraries// folder of your Eclipse project. 16 16 17 -Next step: right-click on the JAR in Eclipse and select //Build Path// > //Add To Build Path//. The JAR should now be visible in //Referenced Libraries//. 17 +Next step: right-click on the JAR in Eclipse and select //Build Path// -> //Add To Build Path//. The JAR should now be visible in //Referenced Libraries//. 18 18 19 19 This solves the problem of adding JARs for development. For deployment, what do you need to do ? If you put your JARs into the //Libraries// folders, the Ant build system will put the JARs into your .woa (or .framework). If you put your JARs in another folder, you need to modify the //build.xml// file. Locate this part: 20 20 21 21 {{code}} 22 22 23 -<lib dir="Libraries"> 23 + <lib dir="Libraries"> 24 24 <include name="*.jar"/> 25 25 <exclude name="**/*.woa/**"/> 26 26 </lib>