jon         2002/07/30 17:23:07

  Modified:    src/conf build-torque.xml
  Log:
  attempt to work around an ant 1.5 bug where classpathref on a property
  task doesn't work even though the documentation says it should.
  
  i say 'attempt' above because i can't even get torque to compile because
  cvs head of maven produces an error that i can't figure out...it seems the current
  build.xml file in torque doesn't work with latest maven and i can't get
  maven to generate a build.xml file that works...it really bothers me
  that no one fucking tests their shit and that this stuff doesn't work easily.
  
  maven may have ever fucking feature in the world, but if it doesn't work right,
  what good is it?
  
  -jon
  
  [198][ ~/checkout/jakarta-turbine-torque ]% ant
  Buildfile: build.xml
  
  maven:jar:
       [copy] Copying 1 file to 
/Users/jon/checkout/jakarta-turbine-torque/target/classes/org/apache/torque/engine/database/transform
  
  BUILD FAILED
  file:/Users/jon/checkout/jakarta-turbine-torque/build.xml:60: 
java.io.FileNotFoundException: /Users/jon/maven/build-maven.xml (No such file or 
directory)
  
  Total time: 5 seconds
  
  [204][ ~/checkout/jakarta-turbine-torque ]% maven ant
   __  __
  |  \/  |__ Jakarta _ ___
  | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
  |_|  |_\__,_|\_/\___|_||_|   v. 1.0-b5-dev
  
  jakarta-turbine-torque (torque) 3.0-b4-dev
  /Users/jon/checkout/jakarta-turbine-torque
  
  Overriding previous definition of reference to maven.jar.resources.set
  [ERROR] File...... /Users/jon/maven/plugins/xdoc-1.0-plugin/plugin.jelly
  [ERROR] Element... taskdef
  [ERROR] Line...... 15
  [ERROR] Column.... 50
  [ERROR] taskdef class org.apache.maven.BaseProjectTask cannot be found
  BUILD SUCCESSFUL
  Total time: 46 seconds
  
  Revision  Changes    Path
  1.44      +4 -2      jakarta-turbine-torque/src/conf/build-torque.xml
  
  Index: build-torque.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/conf/build-torque.xml,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- build-torque.xml  30 Jul 2002 15:01:16 -0000      1.43
  +++ build-torque.xml  31 Jul 2002 00:23:07 -0000      1.44
  @@ -23,6 +23,8 @@
     <property name="lib.dir" value="lib"/>
     <property name="torque.lib.dir" value="${lib.dir}"/>
   
  +  <property name="torque.jar" value="${torque.lib.dir}/torque-3.0-b4-dev.jar"/>
  +
     <!--
       Build the classpath. Specifically point to each file we're including to avoid 
       version conflicts in the case of the torque.lib.dir being something like 
lib.repo.
  @@ -43,7 +45,7 @@
       <pathelement location="${torque.lib.dir}/log4j-1.1.3.jar"/>
       <pathelement location="${torque.lib.dir}/stratum-1.0-b3-dev.jar"/>
       <pathelement location="${torque.lib.dir}/tomcat-naming-1.0.jar"/>
  -    <pathelement location="${torque.lib.dir}/torque-3.0-b4-dev.jar"/>
  +    <pathelement location="${torque.jar}"/>
       <pathelement location="${torque.lib.dir}/velocity-1.3.jar"/>
       <pathelement location="${torque.lib.dir}/village-1.5.3.jar"/>
       <pathelement location="${torque.lib.dir}/xercesImpl-2.0.2.jar"/>
  @@ -58,7 +60,7 @@
       with setting the corret defaults.
     -->
     <property
  -    classpathref="torque-classpath"
  +    classpath="${torque.jar}"
       resource="org/apache/torque/default.properties"/>
   
     <!--
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to