Changes for page WOApplication

Last modified by Andrew Lindesay on 2011/07/17 09:52

From version 37.1
edited by anjo
on 2008/07/07 08:43
Change comment: There is no comment for this version
To version 39.1
edited by Kieran Kelleher
on 2010/01/14 20:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.anjo
1 +XWiki.kieran
Content
... ... @@ -67,6 +67,16 @@
67 67  
68 68  To embed frameworks set embed to true.
69 69  
70 +{{note title="Nov13/08 email from Kieran Kelleher" bgColor="#FFFFCE"}}
71 +
72 +Q: _Kieran Kelleher_
73 +With regards the woapplication task and nested elements, what does the eclipse="true" attribute of the 'frameworks' nested element do?
74 + {{<frameworks dir="ProjectLocal" embed="$\{embed.ProjectLocal}" eclipse="true" />}}
75 +
76 +A: _Mike Schrag_
77 +eclipse="true" makes the <frameworks> tag parse your .classpath file to determine framework dependencies.
78 +{{/note}}
79 +
70 70  === lib ===
71 71  
72 72  The nested lib element specifies a [[FileSet>>http://jakarta.apache.org/ant/manual/CoreTypes/fileset.html]]. This should be a fileset of jar libraries required by your application. All files in this fileset will end up in the ##Resources/Java## folder of the application, and will be included on the classpath for this application.
... ... @@ -75,8 +75,19 @@
75 75  
76 76  === otherclasspath ===
77 77  
78 -? What does this do ?
88 +This nested element i sued to add an arbitrary directory or file path to the runtime classpath. For example on Mac OS X, the directory at APPROOT/Resources/SSLKeyStore/ can be added to the runtime classpath by doing something like this:
79 79  
90 +{{code}}
91 +
92 +<woapplication>
93 + [...]
94 + <otherclasspath dir="." embed="true">
95 + <include name="Resources/SSLKeyStore" />
96 + </otherclasspath>
97 +</woapplication>
98 +
99 +{{/code}}
100 +
80 80  == Examples ==
81 81  
82 82  Create an application "MyApp" with a set of standard frameworks: