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

Ben Wang bwang at jboss.com
Tue Nov 21 09:39:34 EST 2006


  User: bwang   
  Date: 06/11/21 09:39:34

  Modified:    examples/PojoCache/loadtime    build.properties build.xml
                        readme.txt
  Log:
  upd
  
  Revision  Changes    Path
  1.4       +3 -3      JBossCache/examples/PojoCache/loadtime/build.properties
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.properties
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/examples/PojoCache/loadtime/build.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- build.properties	24 Sep 2006 09:25:52 -0000	1.3
  +++ build.properties	21 Nov 2006 14:39:34 -0000	1.4
  @@ -14,9 +14,9 @@
   output=${basedir}/output
   build=${output}/classes
   cache_home=${basedir}/../../..
  -cache_lib=${cache_home}/lib
  -cache_etc=${cache_home}/etc
  -cache_resources=${cache_home}/resources
  +lib=${cache_home}/lib
  +etc=${cache_home}/etc
  +resources=${cache_home}/resources
   
   #Directory for Junit test result. Subdirectory html contains the result in html format.
   reports=${output}/reports
  
  
  
  1.4       +6 -1      JBossCache/examples/PojoCache/loadtime/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/examples/PojoCache/loadtime/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- build.xml	24 Sep 2006 09:25:52 -0000	1.3
  +++ build.xml	21 Nov 2006 14:39:34 -0000	1.4
  @@ -67,6 +67,11 @@
          <fileset dir="${etc}">
             <include name="**/*"/>
          </fileset>
  +
  +       <!-- Copy user-aop.xml as well -->
  +       <fileset dir="${source}">
  +          <include name="user-aop.xml"/>
  +       </fileset>
        </copy>
     </target>
   
  @@ -78,7 +83,7 @@
         <jvmarg value="-javaagent:${lib}/jboss-aop-jdk50.jar"/>
   
         <!-- Alternatively aop will find META-INF/pojocache-aop.xml automatically -->
  -      <jvmarg value="-Djboss.aop.path=${cache_resources}/pojocache-aop.xml"/>
  +      <jvmarg value="-Djboss.aop.path=${resources}/pojocache-aop.xml;${output}/etc/user-aop.xml"/>
   
         <classpath refid="lib.classpath" />
         <classpath path="${build}" />
  
  
  
  1.3       +3 -0      JBossCache/examples/PojoCache/loadtime/readme.txt
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: readme.txt
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/examples/PojoCache/loadtime/readme.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- readme.txt	24 Sep 2006 09:25:52 -0000	1.2
  +++ readme.txt	21 Nov 2006 14:39:34 -0000	1.3
  @@ -5,6 +5,9 @@
   is done (just normal javac compilation).  Instead, we use "javagent" option
   in JDK5.0 JVM to use the JBoss Aop specific class loader.
   
  +In addition, we don't use annotation in this. Instead, we use a 
  +"user-aop.xml" to define the POJO to be "prepared".
  +
   The example involves 4 domain model classes, Person, Student, Address
   and Course.  Student is a subclass of Person.  A Person has an Address, while
   a Student can be registered for 0 or more Courses.
  
  
  



More information about the jboss-cvs-commits mailing list