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 8.1
edited by Pascal Robert
on 2007/09/03 15:06
on 2007/09/03 15:06
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,34 +32,3 @@ 1 -== Third Party Jars with Eclipse/WOLips == 2 - 3 -=== Problem === 4 - 5 -You're using Eclipse, and you'd like to use one or more third party JAR files in your project. 6 - 7 -=== Solution === 8 - 9 -{{warning}} 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. 12 - 13 -{{/warning}} 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. 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//. 18 - 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 - 21 -{{code}} 22 - 23 -<lib dir="Libraries"> 24 - <include name="*.jar"/> 25 - <exclude name="**/*.woa/**"/> 26 - </lib> 27 - 28 -{{/code}} 29 - 30 -Copy and paste this action and replace //Libraries// with the folder containing your JARs. 31 - 32 32 == Third Party Jars with Xcode == 33 33 34 34 === Problem ===