Changes for page Add a Jar Dependency

Last modified by Pascal Robert on 2010/10/03 00:50

From version 8.1
edited by Pascal Robert
on 2010/10/03 00:50
Change comment: There is no comment for this version
To version 7.1
edited by Gavin Eadie
on 2009/02/17 22:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.probert
1 +XWiki.gavineadie
Content
... ... @@ -11,3 +11,22 @@
11 11  !Picture 11.jpg!
12 12  
13 13  {{/info}}
14 +
15 +1. Adjust your ##build.xml## file to ensure that the jar is also embedded in ##Contents/Resources/Java## directory of the final build as below.
16 +
17 +Either add an include entry for each jar...
18 +
19 +{{noformat}}
20 +
21 +<target name="build.woapp" depends="setProps,init.build,compile">
22 + <...>
23 + <lib dir="Libraries">
24 + <include name="Add .jar's that should be copied in the woa."/>
25 + <exclude name="**/*.woa/**"/>
26 + </lib>
27 + </woapplication>
28 +</target>
29 +
30 +{{/noformat}}
31 +
32 +... or have a single ##<include name="**/**.jar"/>## to include all jars in the specified directory.