geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: incubator-geronimo/modules/twiddle maven.xml
Date Fri, 15 Aug 2003 18:44:40 GMT
dain        2003/08/15 11:44:40

  Modified:    modules/twiddle maven.xml
  Log:
  Added a classpath for castor and set it to fork.  Sometimes the generator gets confused
and forking seems to eliminate the confusion.
  
  Revision  Changes    Path
  1.4       +9 -4      incubator-geronimo/modules/twiddle/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/twiddle/maven.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- maven.xml	14 Aug 2003 17:08:00 -0000	1.3
  +++ maven.xml	15 Aug 2003 18:44:40 -0000	1.4
  @@ -24,9 +24,14 @@
       
       <j:set var="schema" value="${basedir}/src/schema/twiddle-configuration.xsd"/>
       <j:set var="gen" value="${pom.getPluginContext('maven-castor-plugin').getVariable('maven.castor.dest')}"/>
  -    
  +
  +    <ant:path id="castor.classpath">
  +      <ant:path refid="maven.dependency.classpath"/>
  +    </ant:path>
  +     
       <ant:java className="org.exolab.castor.builder.SourceGenerator"
  -              failonerror="true">
  +              failonerror="true" fork="yes">
  +      <ant:classpath refid="castor.classpath"/>
         <ant:arg value="-i"/>
         <ant:arg value="${schema}"/>
         <ant:arg value="-binding-file"/>
  @@ -43,4 +48,4 @@
       
     </preGoal>
   
  -</project>
  \ No newline at end of file
  +</project>
  
  
  

Mime
View raw message