Versions Compared

Key

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

...

Property from the wobuild.properties file

Description

Default

wo.wosystemroot

Usually this is a WebObjects installation directory, like "C:\Apple".

NEXT_ROOT environment variable, or root directory "/".

wo.localroot wolocalroot

Usually this is a "Local" directory under the directory specified by "wo.woroot".

${wo.woroot}/Local

wo.homeroot

Usually this is a user home directory.

${user.home}

...

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:

...