Changeset 9830

Show
Ignore:
Timestamp:
08/09/07 18:45:38 (3 years ago)
Author:
rcmatthews
Message:
 
Location:
documents/trunk/documentation/src
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • documents/trunk/documentation/src/app-dev/build-app.xml

    r9828 r9830  
    118118  <chmod file="${build.dir}/run.sh" perm="ugo+x"/> 
    119119 
    120   <mkdir dir="dist" /> 
     120  <mkdir dir="${dist.dir}" /> 
    121121  <zip destfile="dist/no-application.zip" > 
    122122    <zipfileset dir="${build.dir}" prefix="no-application" /> 
     
    130130Buildfile: build.xml 
    131131 
     132compile: 
    132133dist: 
    133134     [copy] Copying 45 files to /home/rcm/workspace/project/build/lib 
     
    136137BUILD SUCCESSFUL 
    137138Total 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 
     163Buildfile: build.xml 
     164 
     165compile: 
     166web-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 
     170BUILD SUCCESSFUL 
     171Total time: 5 seconds</command-listing> 
    138172</section> 
  • documents/trunk/documentation/src/enterprise/running.xml

    r9829 r9830  
    22<!DOCTYPE section SYSTEM "../documentation.dtd"> 
    33<section> 
    4   <title>Enterprise Naked Objects</title> 
     4  <title>Running enterprise Naked Objects</title> 
    55 
    66  <heading>Basic server</heading> 
     
    4646  to access the URL http://<ital>server</ital>/ to access the logon 
    4747  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 
     522007-08-09 12:37:13.671::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog 
     532007-08-09 12:37:13.801::INFO:  jetty-6.0.2 
     542007-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> 
    4859</section> 
  • documents/trunk/documentation/src/nof-application-development-manual.xml

    r9828 r9830  
    100100    <title>Enterprise Systems</title> 
    101101 
     102    <include file="enterprise/running.xml" /> 
     103 
    102104    <include file="enterprise/hibernate.xml" /> 
     105 
     106    <include file="enterprise/security.xml" /> 
     107 
     108    <include file="enterprise/internationalization.xml" /> 
    103109 
    104110    <!-- 
     
    128134 
    129135  <section numbered="on"> 
    130     <title>wReference</title> 
     136    <title>Reference</title> 
    131137 
    132138    <include file="reference/recognised-types.xml" /> 
     
    148154    <include file="reference/helper-classes.xml" /> 
    149155 
     156    <include file="reference/internationalization.xml" /> 
     157 
    150158    <include file="reference/ant-template.xml" /> 
    151159 
     
    162170    <include file="reference/viewer-properties.xml" /> 
    163171 
    164     <include file="reference/security.xml" /> 
    165  
    166172    <include file="reference/other-properties.xml" /> 
    167173 
  • documents/trunk/documentation/src/reference/reflector-properties.xml

    r9829 r9830  
    3636  <para>This setting can be overriden for a specific field using the <see 
    3737  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> 
    3852</section> 
  • documents/trunk/documentation/src/reference/run-parameters.xml

    r9828 r9830  
    22<!DOCTYPE section SYSTEM "../documentation.dtd"> 
    33<section> 
    4   <title>Running Naked Objects - command line parameters</title> 
     4  <title>Command line parameters</title> 
    55 
    66  <para>The framework's bootstrapper takes care or loading up the Naked