Changes for page WOApplication

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

From version 48.1
edited by Andrew Lindesay
on 2006/10/24 17:04
Change comment: There is no comment for this version
To version 50.1
edited by Andrew Lindesay
on 2006/10/24 16:57
Change comment: There is no comment for this version

Summary

Details

Page properties
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  
... ... @@ -42,57 +42,4 @@
42 42  
43 43  === resources ===
44 44  
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>>WOProject-Localization]].
46 -
47 -=== wsresources ===
48 -
49 -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]].
50 -
51 -=== frameworks ===
52 -
53 -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).**
54 -
55 -=== lib ===
56 -
57 -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.
58 -
59 -== Examples ==
60 -
61 -Create an application "MyApp" with a set of standard frameworks:
62 -
63 -{{noformat}}
64 -
65 -<taskdef name="woapplication" classname="org.objectstyle.woproject.ant.WOApplication">
66 - <classpath refid="classpath"/>
67 -</taskdef>
68 -
69 -<woapplication name="MyApp" destDir="${dist}/WebObjects/Applications">
70 - <classes dir="${build}/common">
71 - <exclude name="*.properties"/>
72 - </classes>
73 - <classes dir="${build}/business">
74 - <exclude name="*.properties"/>
75 - </classes>
76 - <resources dir="src/resources">
77 - <include name="*.eomodeld/**"/>
78 - <include name="*.wo/**"/>
79 - </resources>
80 - <wsresources dir="src/frameworks/WSResources">
81 - <include name="Images/**"/>
82 - </wsresources>
83 -</woapplication>
84 -
85 -{{/noformat}}
86 -
87 -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):
88 -
89 -{{noformat}}
90 -
91 -<woapplication name="MyApp" stdFrameworks="false" destDir="${dist}/WebObjects/Applications">
92 - ...
93 - <frameworks dir="../Frameworks">
94 - <include name="**/*.framework"/>
95 - </frameworks>
96 -</woapplication>
97 -
98 -{{/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.