[jboss-cvs] JBossCache/examples/PojoCache/passivation ...

Ben Wang bwang at jboss.com
Fri Jan 5 22:51:00 EST 2007


  User: bwang   
  Date: 07/01/05 22:51:00

  Modified:    examples/PojoCache/passivation   build.xml readme.txt
  Log:
  upd
  
  Revision  Changes    Path
  1.3       +2 -13     JBossCache/examples/PojoCache/passivation/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/examples/PojoCache/passivation/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- build.xml	30 Dec 2006 17:49:58 -0000	1.2
  +++ build.xml	6 Jan 2007 03:51:00 -0000	1.3
  @@ -37,7 +37,7 @@
         <echo message="build.sh &lt;command&gt; where command is:"/>
         <echo message="         compile       -- compile the examples code"/>
         <echo message="         clobber       -- clean up the whole directory"/>
  -      <echo message="         run.aopc.example -- run aop examples with annoc and aopc pre-compiler"/>
  +      <echo message="         run.compiletime.example -- run examples with aopc pre-compiler"/>
      </target>
   
      <!-- set up directory -->
  @@ -84,7 +84,7 @@
         </java>
      </target>
   
  -   <target name="run.aopc.example" depends="compile, aopc" description="run standalone server replicator.">
  +   <target name="run.compiletime.example" depends="compile, aopc" description="run standalone server replicator.">
         <java classname="test.examples.StudentMaintTest" fork="yes">
            <classpath refid="lib.classpath"/>
            <classpath path="${build}"/>
  @@ -92,15 +92,4 @@
         </java>
      </target>
   
  -   <target name="run.aop.demo" depends="compile" description="run JBoss Cache demo.">
  -      <java classname="org.jboss.cache.aop.TreeCacheView" fork="yes">
  -         <jvmarg value="-Xmx128M"/>
  -         <classpath refid="lib.classpath"/>
  -         <sysproperty key="log4j.configuration" value="file:${output}/etc/log4j.xml"/>
  -         <classpath path="${output}/etc"/>
  -         <classpath path="${build}"/>
  -      </java>
  -   </target>
  -
  -
   </project>
  
  
  
  1.3       +4 -6      JBossCache/examples/PojoCache/passivation/readme.txt
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: readme.txt
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/examples/PojoCache/passivation/readme.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- readme.txt	21 Nov 2006 06:08:06 -0000	1.2
  +++ readme.txt	6 Jan 2007 03:51:00 -0000	1.3
  @@ -9,10 +9,8 @@
   the necessary domain model classes have been annotated with
   @org.jboss.cache.pojo.annotation.Replicable annotation.
   
  -You can run either using loadtime mode ("run.aop.example"), meaning there is
  -no need for pre-compilation once you have annotated your POJOs, or using
  -compilation mode ("run.aopc.example") where another Ant target "aopc" has
  -been invoked first.
  +You can run using compilation mode ("run.compiletime.example") 
  +where another Ant target "aopc" has been invoked first.
   
   The example involves 4 domain model classes, Person, Student, Address
   and Course.  Student is a subclass of Person.  A Person has an Address, while
  @@ -35,7 +33,7 @@
   
   1. Run "build.bat compile" to do a standard Java compilation.
   
  -2. Run "build.bat run.aop.example" (or run.aopc.example) to run the example.
  -The run.aopc.example Ant target depends on "aopc", so calling it will cause
  +2. Run "build.bat run.loadtime.example" (or run.compiletime.example) to run the example.
  +The run.compiletime.example Ant target depends on "aopc", so calling it will cause
   "compile" and "aopc" to run as well.
   
  
  
  



More information about the jboss-cvs-commits mailing list