Changes for page Development-Third Party Jars
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
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
on 2007/12/22 21:28
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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'sreally easy to add thirdpartyjars intoyour WOLips project. Add your thirdparty JARsby dragging theJARs from the Finder to the//Libraries// folder of your Eclipseproject.8 +== Third Party Jars with Eclipse/WOLips == 16 16 17 - Nextstep:right-clickon the JAR in Eclipse and select //Build Path// -> //Add To Build Path//. The JAR should nowbe visiblein //Referenced Libraries//.10 +=== Problem === 18 18 19 - This solves the problemof addingJARs for development. For deployment,whatdoyouneedtodo ? If youput your JARsintothe//Libraries//folders, theAntbuild system will put the JARsinto your.woa(or.framework). If you putourJARsin anotherfolder,youneedto modifythe //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 ===