Changes for page WOApplication

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

From version 31.1
edited by dlee
on 2007/10/10 21:30
Change comment: There is no comment for this version
To version 37.1
edited by anjo
on 2008/07/07 08:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.dlee
1 +XWiki.anjo
Content
... ... @@ -12,7 +12,7 @@
12 12  
13 13  |= Property from the wobuild.properties file |= Description |= Default
14 14  | wo.wosystemroot | Usually this is a WebObjects installation directory, like "C:pple". | NEXT//ROOT environment variable, or root directory "/". //
15 -| wo.localroot | Usually this is a "Local" directory under the directory specified by "wo.woroot". | $wo.woroot/Local
15 +| wo.wolocalroot | Usually this is a "Local" directory under the directory specified by "wo.woroot". | $wo.woroot/Local
16 16  | wo.homeroot | Usually this is a user home directory. | $user.home
17 17  
18 18  == Parameters ==
... ... @@ -39,10 +39,11 @@
39 39  | cfBundleVersion | CFBundleVersion for the Info.plist. Default is no version. | No
40 40  | cfBundleShortVersion | CFBundleShortVersionString for the Info.plist. Default is no version. | No
41 41  | cfBundleID | CFBundleIndetifier for the Info.plist. Defaults to 'com.myapp'. | No
42 -| javaVersion | JavaVersion for the Info.plist. Used for selecting JVM compatibility. Defaults to '1.5+'. | No
42 +| javaVersion | JVMVersion for the Info.plist. Used for selecting JVM compatibility. Defaults to '1.5+'. | No
43 43  | frameworksBaseURL | This denotes the directory containing the framework webserver resources bundles (MyFramework.framework, ERExtensions.framework, etc.).
44 44  \\ This is typically useful for a embedded split install whereby all webserver resource frameworks (all = localroot and systemroot) are embedded in the webserver split install application bundle. The advantage of doing this is of course is clean upgrades with current versions of framework resources being used independently of what is installed on the deployment server.
45 -\\ The URL is relating to the webserver document root.
45 +\\Defaults to '/WebObjects/Frameworks'.
46 +\\ The URL is relative to the webserver document root.
46 46  \\ For example: frameworksBaseURL="/WebObjects/$project.name.woa/Frameworks" | No
47 47  | startupScriptName | ..... | No
48 48  
... ... @@ -64,10 +64,14 @@
64 64  
65 65  The nested ##frameworks## is a [[FrameworkSet>>WOProject-FrameworkSet]] structure that specifies the names of the WebObjects Frameworks that this application is dependant upon. The jar files from these frameworks will be referenced in varios platform-specific depoyment files (such as CLASSPATH.TXT), and specified in the web.xml classpath if an application is deployed as a servlet. When building a FileSet, path should match up to the "**.framework" directory (no need to match individual JAR files).**
66 66  
68 +To embed frameworks set embed to true.
69 +
67 67  === lib ===
68 68  
69 69  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.
70 70  
74 +To embed jars set embed to true.
75 +
71 71  === otherclasspath ===
72 72  
73 73  ? What does this do ?
... ... @@ -112,3 +112,16 @@
112 112  </woapplication>
113 113  
114 114  {{/noformat}}
120 +
121 +Create an application "MyApp" with embedded frameworks:
122 +
123 +{{noformat}}
124 +
125 +<woapplication name="MyApp" destDir="${dist}/WebObjects/Applications">
126 + ...
127 + <frameworks dir="../Frameworks"embed="true">
128 + <include name="**/*.framework"/>
129 + </frameworks>
130 +</woapplication>
131 +
132 +{{/noformat}}