geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject cvs commit: incubator-geronimo/etc maven.xml
Date Mon, 01 Sep 2003 16:17:50 GMT
jdillon     2003/09/01 09:17:50

  Modified:    etc      maven.xml
  Log:
   o allow the src & dest dirs to vary
  
  Revision  Changes    Path
  1.12      +10 -3     incubator-geronimo/etc/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/etc/maven.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- maven.xml	30 Aug 2003 15:01:31 -0000	1.11
  +++ maven.xml	1 Sep 2003 16:17:50 -0000	1.12
  @@ -161,9 +161,16 @@
         </taskdef>
         
         <!-- Where sources will be generated -->
  -      <j:set var="maven.xdoclet.jmx.dest" value="${maven.build.dir}/xdoclet/jmx"/>
  +      <j:if test="${context.getVariable('maven.xdoclet.jmx.dest') == null}">
  +        <j:set var="maven.xdoclet.jmx.dest" value="${maven.build.dir}/xdoclet/jmx"/>
  +      </j:if>
         <mkdir dir="${maven.xdoclet.jmx.dest}"/>
         
  +      <!-- Where sources come from -->
  +      <j:if test="${context.getVariable('maven.xdoclet.jmx.src') == null}">
  +        <j:set var="maven.xdoclet.jmx.src" value="${basedir}/src/java"/>
  +      </j:if>
  +      
         <!-- Inlcude the generated sources in the Javac compile -->
         <path id="maven.xdoclet.jmx.compile.src.set" location="${maven.xdoclet.jmx.dest}"/>
         <maven:addPath id="maven.compile.src.set" refid="maven.xdoclet.jmx.compile.src.set"/>
  @@ -171,7 +178,7 @@
         <!-- Generate MBean interfaces -->
         <jmxdoclet destDir="${maven.xdoclet.jmx.dest}" verbose="false">
           
  -        <fileset dir="${basedir}/src/java">
  +        <fileset dir="${maven.xdoclet.jmx.src}">
             <include name="**/*.java"/>
           </fileset>
           
  
  
  

Mime
View raw message