MitchellChu / enterprise-java-xacml

Automatically exported from code.google.com/p/enterprise-java-xacml
0 stars 2 forks source link

r258 svn doesn't build without modifications #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. svn co -r258 http://enterprise-java-xacml.googlecode.com/svn/trunk/an
2. cd an; # no README to follow
3. ant
4. # build fails with log4j errors
5. export AN_HOME=`pwd` # directory of an checkout above.  This succeeds at
this point since you've included log4j in the lib directory and have set
your build.xml files to reference env.AN_HOME.

6. ant
7. # build fails with junit errors
8. # modify some files manually
9. svn diff
Index: tests/indexing/build.xml
===================================================================
--- tests/indexing/build.xml    (revision 258)
+++ tests/indexing/build.xml    (working copy)
@@ -6,6 +6,7 @@
     <condition property="optimize" value="${env.OPTIMIZE}" else="false">
         <isset property="env.OPTIMIZE"/>
     </condition>
+       <property name="junit.jar"
value="${env.AN_HOME}/tools/junit4/junit.jar"/>
     <property name="log4j.jar" value="${env.AN_HOME}/lib/log4j-1.2.14.jar"/>
     <property name="util.jar"
value="${env.AN_HOME}/components/util/build/lib/an.util.jar"/>
     <property name="pdp.jar"
value="${env.AN_HOME}/components/pdp/build/lib/an.pdp.jar"/>
@@ -25,6 +26,7 @@

         <javac debug="${debug}" srcdir="src" optimize="${optimize}"
destdir="build/classes">
             <classpath>
+                <path path="${junit.jar}"/>
                 <path path="${pdp.jar}"/>
                 <path path="${functions.jar}"/>
                 <path path="${util.jar}"/>
@@ -71,4 +73,4 @@
     <target name="clean" description="">
         <delete dir="build"/>
     </target>
-</project>
\ No newline at end of file
+</project>
Index: tests/conformance20/build.xml
===================================================================
--- tests/conformance20/build.xml       (revision 258)
+++ tests/conformance20/build.xml       (working copy)
@@ -6,6 +6,7 @@
     <condition property="optimize" value="${env.OPTIMIZE}" else="false">
         <isset property="env.OPTIMIZE"/>
     </condition>
+       <property name="junit.jar"
value="${env.AN_HOME}/tools/junit4/junit.jar"/>
     <property name="log4j.jar" value="${env.AN_HOME}/lib/log4j-1.2.14.jar"/>
     <property name="util.jar"
value="${env.AN_HOME}/components/util/build/lib/an.util.jar"/>
     <property name="pdp.jar"
value="${env.AN_HOME}/components/pdp/build/lib/an.pdp.jar"/>
@@ -25,6 +26,7 @@

         <javac debug="${debug}" srcdir="src" optimize="${optimize}"
destdir="build/classes">
             <classpath>
+                <path path="${junit.jar}"/>
                 <path path="${pdp.jar}"/>
                 <path path="${functions.jar}"/>
                 <path path="${util.jar}"/>
@@ -72,4 +74,4 @@
     <target name="clean" description="">
         <delete dir="build"/>
     </target>
-</project>
\ No newline at end of file
+</project>

10. ant
11. # build succeeds

Original issue reported on code.google.com by kaleb.pe...@gmail.com on 26 Feb 2009 at 11:24