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

Ben Wang bwang at jboss.com
Wed Sep 20 06:45:45 EDT 2006


  User: bwang   
  Date: 06/09/20 06:45:45

  Modified:    examples/PojoCache/loadtime  build.xml
  Log:
  First update to repackage the distro into core, pojo, and all.
  
  Revision  Changes    Path
  1.2       +12 -30    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.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- build.xml	5 Feb 2006 06:42:13 -0000	1.1
  +++ build.xml	20 Sep 2006 10:45:45 -0000	1.2
  @@ -75,32 +75,14 @@
     	
     </target>
   
  -   <target name="generateClassLoader" description="Generate a new modified class loader so we can perform load time instrumentation">
  -   
  -      <!-- Generate the new classloader in a special dir under output -->
  -      <property name="build.bootclasspath" value="${output}/gen-bootclasspath"/>
  -      <java classname="org.jboss.aop.hook.GenerateInstrumentedClassLoader">
  -         <classpath>
  -            <path refid="lib.classpath"/>
  -         </classpath>
  -         <arg value="${build.bootclasspath}"/>
  -      </java>
  -   </target>
  -
  -  <target name="run.aop.example" depends="generateClassLoader, compile" description="run standalone server replicator.">
  +  <target name="run.aop.example" depends="compile" description="run standalone server replicator.">
       
       <!-- Create a special bootclasspath that contains the classloader we generated,
            plus the library files used by aop.  DO NOT INCLUDE the domain model classes -->
  -    <path id="bootclasspath">
  -      <pathelement location="${build.bootclasspath}"/>
  -      <path refid="aop.classpath"/>
  -    </path>
  -    <property name="bootclasspath" refid="bootclasspath"/>
  -      
       <java classname="test.examples.StudentMaintTest" fork="yes" >
         
         <!-- Set the bootclasspath to be the one we created above -->
  -      <jvmarg value="-Xbootclasspath/p:${bootclasspath}"/>
  +      <jvmarg value="-javaagent:${lib}/jboss-aop-jdk50.jar"/>
         
         <!-- don't need to specify jboss.aop.path, as aop will find META-INF/jboss-aop.xml automatically -->
         <!--jvmarg value="-Djboss.aop.path=${output}/etc/META-INF/jboss-aop.xml"/-->
  @@ -113,7 +95,7 @@
     </target>
   
     <target name="run.aop.demo" depends="compile" description="run tree cache demo.">
  -    <java classname="org.jboss.cache.aop.TreeCacheAopView" fork="yes">
  +    <java classname="org.jboss.cache.TreeCacheView" fork="yes">
         <jvmarg value="-Xmx128M"/>
         <classpath refid="lib.classpath" />
         <sysproperty key="log4j.configuration" value="file:${output}/etc/log4j.xml"/>
  
  
  



More information about the jboss-cvs-commits mailing list