]> git.uio.no Git - ifi-stolz-refaktor.git/commitdiff
build_a_work_in_progress: adding paths to specific aspects
authorErlend Kristiansen <erlenkr@ifi.uio.no>
Mon, 10 Mar 2014 16:15:05 +0000 (17:15 +0100)
committerErlend Kristiansen <erlenkr@ifi.uio.no>
Mon, 10 Mar 2014 16:44:00 +0000 (17:44 +0100)
software/no.uio.ifi.refaktor/build_a_work_in_progress.xml

index 491d645f01324ff1ad8bd165caf1bb647344f7e3..be50c1fd66fb49dd3c91f95f8ee0a7d03d91cd16 100644 (file)
@@ -15,6 +15,8 @@
     <target name="init"  depends="init.variables,init.taskdefs"/>
 
     <target name="init.variables">
+       
+       <property name="build.compiler.clean" value="anything"/>
 
         <!-- build.compiler value to pick up our CompilerAdapter for javac -->
         <property name="ajc.adapter"
 
     <target name="compile" depends="init">
         <antcall target="clean" />
-        <javac destdir="${output.dir}" source="1.6">
-            <src path="${source.dir}"/>
+        <javac srcdir="${source.dir}" destdir="${output.dir}" source="1.6" includeantruntime="false" >
             <classpath refid="no.uio.ifi.refaktor.classpath"/>
 
             <!-- compilerarg's ignored unless using our compiler adapter -->
             <!-- use separate values if a path might have spaces -->
             <compilerarg compiler="${ajc.adapter}" value="-classpath"/>
             <compilerarg compiler="${ajc.adapter}" value="${aspectjrt.jar}"/>
+               <!-- ASPECTS: -->
+            <compilerarg compiler="${ajc.adapter}" path="${source.dir}/no/uio/ifi/refaktor/aspects/StatisticsAspect.aj"/>
+            <compilerarg compiler="${ajc.adapter}" path="${source.dir}/no/uio/ifi/refaktor/aspects/HeapDumperAspect.aj"/>
+            <compilerarg compiler="${ajc.adapter}" path="${source.dir}/no/uio/ifi/refaktor/aspects/DebugCatchThrowableAspect.aj"/>
         </javac>          
     </target>