Changeset 9830
- Timestamp:
- 08/09/07 18:45:38 (3 years ago)
- Location:
- documents/trunk/documentation/src
- Files:
-
- 5 modified
-
app-dev/build-app.xml (modified) (3 diffs)
-
enterprise/running.xml (modified) (2 diffs)
-
nof-application-development-manual.xml (modified) (4 diffs)
-
reference/reflector-properties.xml (modified) (1 diff)
-
reference/run-parameters.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
documents/trunk/documentation/src/app-dev/build-app.xml
r9828 r9830 118 118 <chmod file="${build.dir}/run.sh" perm="ugo+x"/> 119 119 120 <mkdir dir=" dist" />120 <mkdir dir="${dist.dir}" /> 121 121 <zip destfile="dist/no-application.zip" > 122 122 <zipfileset dir="${build.dir}" prefix="no-application" /> … … 130 130 Buildfile: build.xml 131 131 132 compile: 132 133 dist: 133 134 [copy] Copying 45 files to /home/rcm/workspace/project/build/lib … … 136 137 BUILD SUCCESSFUL 137 138 Total time: 6 seconds</command-listing> 139 140 <para>After this has completed the <path>build</path> directory will look 141 like the following, and the <path>dist</path> directory will contain a 142 zipped file of the same contents.</para> 143 144 <command-listing>build/ 145 classes/ 146 config/ 147 images/ 148 lib/ 149 web/ 150 lcp.bat 151 run.bat 152 run.sh</command-listing> 153 154 <heading>Creating a web-app</heading> 155 156 <para>From the same set of project files we can create a <ital>war</ital> 157 file for running Naked Objects on a web server such as Tomcat. Running Ant 158 again with the <em>web-app</em> target will create war file in the 159 <path>dist</path> directory. It is important to note that we do not need to 160 provide and additional files or configurations to create the war.</para> 161 162 <command-listing>$ ant web-app 163 Buildfile: build.xml 164 165 compile: 166 web-app: 167 [mkdir] Created dir: /home/rcm/no-development/release-trial/office-workspace/build/war 168 [unwar] Expanding: /home/rcm/tmp/release/developer/lib/nos-web-app-3.0M4D2-SNAPSHOT.war into /home/rcm/no-development/release-trial/office-workspace/build/war 169 [war] Building war: /home/rcm/no-development/release-trial/office-workspace/dist/example.war 170 BUILD SUCCESSFUL 171 Total time: 5 seconds</command-listing> 138 172 </section> -
documents/trunk/documentation/src/enterprise/running.xml
r9829 r9830 2 2 <!DOCTYPE section SYSTEM "../documentation.dtd"> 3 3 <section> 4 <title> Enterprise Naked Objects</title>4 <title>Running enterprise Naked Objects</title> 5 5 6 6 <heading>Basic server</heading> … … 46 46 to access the URL http://<ital>server</ital>/ to access the logon 47 47 page.</para> 48 49 <heading>Running the server and web server together</heading> 50 51 <command-listing>$ run.sh --type server --connection xstream --viewer html --persistor xml 52 2007-08-09 12:37:13.671::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 53 2007-08-09 12:37:13.801::INFO: jetty-6.0.2 54 2007-08-09 12:37:13.954::INFO: Started SocketConnector @ 0.0.0.0:8080 55 </command-listing> 56 57 <para>By specifying a connection and the html view the server can be access 58 by both web browsers and remote clients.</para> 48 59 </section> -
documents/trunk/documentation/src/nof-application-development-manual.xml
r9828 r9830 100 100 <title>Enterprise Systems</title> 101 101 102 <include file="enterprise/running.xml" /> 103 102 104 <include file="enterprise/hibernate.xml" /> 105 106 <include file="enterprise/security.xml" /> 107 108 <include file="enterprise/internationalization.xml" /> 103 109 104 110 <!-- … … 128 134 129 135 <section numbered="on"> 130 <title> wReference</title>136 <title>Reference</title> 131 137 132 138 <include file="reference/recognised-types.xml" /> … … 148 154 <include file="reference/helper-classes.xml" /> 149 155 156 <include file="reference/internationalization.xml" /> 157 150 158 <include file="reference/ant-template.xml" /> 151 159 … … 162 170 <include file="reference/viewer-properties.xml" /> 163 171 164 <include file="reference/security.xml" />165 166 172 <include file="reference/other-properties.xml" /> 167 173 -
documents/trunk/documentation/src/reference/reflector-properties.xml
r9829 r9830 36 36 <para>This setting can be overriden for a specific field using the <see 37 37 label="@mask"><code>@Mask</code> annotation</see>.</para> 38 39 <heading>Reflector peers or decorators</heading> 40 41 <para>The reflector peers property specifies a list of 42 <class>ReflectionPeerFactoryInstaller</class> objects that should be 43 installed and registered with the reflector. These peers decorate the 44 reflector allowing it change the behaviour of the reflector. This allows us 45 to add internationalization, help look up, authorisation and other features. 46 Although transaction management is also achieved by decorating the reflector 47 this is done automatically and does not need to be specified using this 48 property. The following example adds a single decorator that provide 49 internationalization via resource files.</para> 50 51 <property-listing>nakedobjects.reflector.peers=resource-i18n</property-listing> 38 52 </section> -
documents/trunk/documentation/src/reference/run-parameters.xml
r9828 r9830 2 2 <!DOCTYPE section SYSTEM "../documentation.dtd"> 3 3 <section> 4 <title> Running Naked Objects - command line parameters</title>4 <title>Command line parameters</title> 5 5 6 6 <para>The framework's bootstrapper takes care or loading up the Naked
