Changes for page WOApplication

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

From version 46.1
edited by Ulrich Köster
on 2007/02/27 03:00
Change comment: There is no comment for this version
To version 49.1
edited by Andrew Lindesay
on 2006/10/24 16:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.uli
1 +XWiki.apl
Content
... ... @@ -12,8 +12,8 @@
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
16 -|wo.homeroot|Usually this is a user home directory.|$user.home
15 +|wo.localroot|Usually this is a "Local" directory under the directory specified by "wo.woroot".|${{wo.woroot}}{{/wo.woroot}}/Local
16 +|wo.homeroot|Usually this is a user home directory.|${{user.home}}{{/user.home}}
17 17  
18 18  == Parameters ==
19 19  
... ... @@ -33,10 +33,6 @@
33 33  |webXML//WOAppMode//|Optional parameter for the web.xml|No
34 34  |webXML//WOtaglib//|Optional parameter for the web.xml|No
35 35  |webXML//CustomContent//|Optional parameter for the web.xml|No
36 -|lib|.....|No
37 -|version|Version for the Info.plist|No
38 -|frameworksBaseURL|.....|No
39 -|startupScriptName|.....|No
40 40  
41 41  == Nested Elements ==
42 42  
... ... @@ -46,57 +46,4 @@
46 46  
47 47  === resources ===
48 48  
49 -The nested ##resources## element specifies a [[FileSet>>http://jakarta.apache.org/ant/manual/CoreTypes/fileset.html]]. 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>>WOProject-Localization]].
50 -
51 -=== wsresources ===
52 -
53 -The nested ##wsresources## element specifies a [[FileSet>>http://jakarta.apache.org/ant/manual/CoreTypes/fileset.html]]. 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>>WOProject-Localization]].
54 -
55 -=== frameworks ===
56 -
57 -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).**
58 -
59 -=== lib ===
60 -
61 -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.
62 -
63 -== Examples ==
64 -
65 -Create an application "MyApp" with a set of standard frameworks:
66 -
67 -{{noformat}}
68 -
69 -<taskdef name="woapplication" classname="org.objectstyle.woproject.ant.WOApplication">
70 - <classpath refid="classpath"/>
71 -</taskdef>
72 -
73 -<woapplication name="MyApp" destDir="${dist}/WebObjects/Applications">
74 - <classes dir="${build}/common">
75 - <exclude name="*.properties"/>
76 - </classes>
77 - <classes dir="${build}/business">
78 - <exclude name="*.properties"/>
79 - </classes>
80 - <resources dir="src/resources">
81 - <include name="*.eomodeld/**"/>
82 - <include name="*.wo/**"/>
83 - </resources>
84 - <wsresources dir="src/frameworks/WSResources">
85 - <include name="Images/**"/>
86 - </wsresources>
87 -</woapplication>
88 -
89 -{{/noformat}}
90 -
91 -Create an application "MyApp" with no implicit standard frameworks and a set of custom frameworks located under HOMEROOT (defined from the value of ##wo.homeroot## property):
92 -
93 -{{noformat}}
94 -
95 -<woapplication name="MyApp" stdFrameworks="false" destDir="${dist}/WebObjects/Applications">
96 - ...
97 - <frameworks dir="../Frameworks">
98 - <include name="**/*.framework"/>
99 - </frameworks>
100 -</woapplication>
101 -
102 -{{/noformat}}
45 +The nested ##resources## element specifies a [[FileSet>>http://jakarta.apache.org/ant/manual/CoreTypes/fileset.html]]. 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.