dion        2003/03/29 03:33:21

  Modified:    src/plugins-build/genapp plugin.jelly
  Log:
  Explicity use ant name space. In prep for removal of jeez etc
  
  Revision  Changes    Path
  1.2       +18 -17    maven/src/plugins-build/genapp/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/genapp/plugin.jelly,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- plugin.jelly      24 Jan 2003 03:45:11 -0000      1.1
  +++ plugin.jelly      29 Mar 2003 11:33:21 -0000      1.2
  @@ -1,6 +1,7 @@
   <?xml version="1.0"?>
   
   <project
  +  xmlns:ant="jelly:ant"
     xmlns:j="jelly:core"
     xmlns:u="jelly:util">
   
  @@ -9,42 +10,42 @@
       description="Generate Application using 'maven -Dpackage=org.mycompany.project 
genapp'">
       
       <j:if test="${package == null}">
  -      <fail message="">
  +      <ant:fail message="">
         
         You must specifiy a package for your application!
         
  -      </fail>
  +      </ant:fail>
       </j:if>
       
       <!-- Turn the specified package into a path -->
       <u:replace var="appPath" oldChar="." newChar="/" value="${package}"/>
       
       <!-- We want to substitute in the package name. -->
  -    <filter token="PACKAGE" value="${package}"/>
  +    <ant:filter token="PACKAGE" value="${package}"/>
       
       <!-- Make Java source directory and populate. -->
       <j:set var="appDirectory" value="${basedir}/src/java/${appPath}"/>
  -    <mkdir dir="${appDirectory}"/>
  -    <copy todir="${appDirectory}" filtering="true">
  -      <fileset dir="${plugin.resources}/src/java"/>
  -    </copy>
  +    <ant:mkdir dir="${appDirectory}"/>
  +    <ant:copy todir="${appDirectory}" filtering="true">
  +      <ant:fileset dir="${plugin.resources}/src/java"/>
  +    </ant:copy>
       
       <!-- Make Java unit test source directory and populate. -->
       <j:set var="appTestDirectory" value="${basedir}/src/test/${appPath}"/>
  -    <mkdir dir="${appTestDirectory}"/>
  -    <copy todir="${appTestDirectory}" filtering="true">
  -      <fileset dir="${plugin.resources}/src/test"/>
  -    </copy>
  +    <ant:mkdir dir="${appTestDirectory}"/>
  +    <ant:copy todir="${appTestDirectory}" filtering="true">
  +      <ant:fileset dir="${plugin.resources}/src/test"/>
  +    </ant:copy>
       
       <!-- Starter POM and POM properties. -->
  -    <copy todir="${basedir}" filtering="true">
  -      <fileset dir="${plugin.resources}/src/pom"/>
  -    </copy>
  +    <ant:copy todir="${basedir}" filtering="true">
  +      <ant:fileset dir="${plugin.resources}/src/pom"/>
  +    </ant:copy>
   
       <!-- Starter conf files to be placed in the JAR. -->
  -    <copy todir="${basedir}/src/conf">
  -      <fileset dir="${plugin.resources}/src/conf"/>
  -    </copy>
  +    <ant:copy todir="${basedir}/src/conf">
  +      <ant:fileset dir="${plugin.resources}/src/conf"/>
  +    </ant:copy>
   
     </goal>
   
  
  
  

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

Reply via email to