Last modified by Pascal Robert on 2010/09/19 10:26

From version 12.1
edited by Pascal Robert
on 2007/12/22 20:32
Change comment: There is no comment for this version
To version 13.1
edited by Pascal Robert
on 2007/12/22 21:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,34 +9,20 @@
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 9  {{warning}}
10 10  
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  
4 +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.
5 +
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.
8 +== Third Party Jars with Eclipse/WOLips ==
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//.
10 +=== Problem ===
18 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:
12 +You're using Eclipse, and you'd like to use one or more third party JAR files in your project.
20 20  
21 -{{code}}
14 +=== Solution ===
22 22  
23 - <lib dir="Libraries">
24 - <include name="*.jar"/>
25 - <exclude name="**/*.woa/**"/>
26 - </lib>
16 +Check out the [[tutorial>>http://wiki.objectstyle.org/confluence/display/WOL/Add+a+Jar+Dependency]] on how to do it with WOLips.
27 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 ===