Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

The nested classes element specifies a FileSet. All files included in this fileset will end up in the Contents/Resources/Java/*.jar file of the application.

...

The nested resources element specifies a FileSet. All files included in this fileset will end up in the Contents/Resources directory of the application. For the discussion of resource localization issues follow this link.

...

The nested wsresources element specifies a FileSet. All files included in this fileset will end up in the Contents/WebServerResources directory of the application. For the discussion of resource localization issues follow this link.

...

To embed frameworks set embed to true.

Note
bgColor#FFFFCE
titleNov13/08 email from Kieran Kelleher

Q: Kieran Kelleher
With regards the woapplication task and nested elements, what does the eclipse="true" attribute of the 'frameworks' nested element do?
<frameworks dir="ProjectLocal" embed="${embed.ProjectLocal}" eclipse="true" />

A: Mike Schrag
eclipse="true" makes the <frameworks> tag parse your .classpath file to determine framework dependencies.

lib

The nested lib element specifies a FileSet. 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.

To embed jars set embed to true.

otherclasspath

??? What does this do ???This nested element is used 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:

Code Block

<woapplication>
   [...]
   <otherclasspath dir="." embed="true">
       <include name="Resources/SSLKeyStore" />
   </otherclasspath>
</woapplication>

Examples

Create an application "MyApp" with a set of standard frameworks:

...