Stepan, Thanks for fixing the Texen Gump build. Been meaning to tinker with the ant script-- did a commit tonight but it was unnecessary -- hadn't noticed you silently edited the Gump config a few days ago and the errors went away. Thinking about it, that's definitely the better approach so I reversed my patch (which might not have worked anyway). Appreciate the slient assistence.
WILL ---------- Forwarded message ---------- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Apr 19, 2007 9:22 PM Subject: svn commit: r530635 - in /velocity/texen/trunk/build: build.xml testcases.xml To: [EMAIL PROTECTED] Author: wglass Date: Thu Apr 19 21:22:13 2007 New Revision: 530635 URL: http://svn.apache.org/viewvc?view=rev&rev=530635 Log: reversed previous change to Texen build. Apparently the Gump elves mysteriously made this work a few days ago by changing the Gump config. (Thanks Stepan!) Removed: velocity/texen/trunk/build/testcases.xml Modified: velocity/texen/trunk/build/build.xml Modified: velocity/texen/trunk/build/build.xml URL: http://svn.apache.org/viewvc/velocity/texen/trunk/build/build.xml?view=diff&rev=530635&r1=530634&r2=530635 ============================================================================== --- velocity/texen/trunk/build/build.xml (original) +++ velocity/texen/trunk/build/build.xml Thu Apr 19 21:22:13 2007 @@ -509,12 +509,70 @@ <target name="test" - depends="build-prepare,compile-test" - description="runs the test cases"> + depends="build-prepare,compile-test,test-texen,test-texen-classpath"/> - <ant antfile="${ant.build.dir}/testcases.xml" - target="test-all"/> + <!-- ================================================================ --> + <!-- T E X E N T E S T --> + <!-- ================================================================ --> + <!-- Generate turbine service code via Texen --> + <!-- ================================================================ --> - </target> + <target name="test-texen"> + + <taskdef name="texen" classname="org.apache.texen.ant.TexenTask" + classpathref="test.classpath"/> + + <texen + contextProperties="${test.dir}/texen/service.props,${test.dir }/texen/additional.props" + controlTemplate="Control.vm" + outputDirectory="${build.test}/texen" + templatePath="${test.dir}/texen/templates" + outputFile="report" + /> + + <java classname="${test.runner}" fork="yes" dir="${app.dir}" failonerror="${test.haltonerror}" + classpathref="test.classpath"> + <arg value="org.apache.texen.TexenTestCase"/> + </java> + + </target> + + <!-- ================================================================ --> + <!-- T E X E N C L A S S P A T H --> + <!-- ================================================================ --> + <!-- Generate turbine service code via Texen with all the templates --> + <!-- and ancillary files in a JAR. --> + <!-- ================================================================ --> + + <target name="test-texen-classpath"> + + <path id="test.texen.classpath"> + <fileset dir="${build.test.lib}"> + <include name="**/*.jar"/> + </fileset> + <fileset dir="${build.lib}"> + <include name="**/*.jar"/> + </fileset> + <pathelement location="${build.dest}" /> + <pathelement location="${build.test.dest}" /> + <pathelement location="${test.dir}/texen-classpath/test.jar"/> + </path> + + <taskdef name="texen" classname="org.apache.texen.ant.TexenTask" classpathref="test.texen.classpath"/> + + <texen + useClassPath="true" + contextProperties="service.props" + controlTemplate="Control.vm" + outputDirectory="${build.test}/texen-classpath" + outputFile="report" + /> + + <java classname="${test.runner}" fork="yes" dir="${app.dir}" failonerror="${test.haltonerror}" + classpathref="test.classpath"> + <arg value="org.apache.texen.TexenClasspathTestCase"/> + </java> + + </target> </project> -- Forio Business Simulations Will Glass-Husain [EMAIL PROTECTED] www.forio.com