dion 2003/03/29 04:40:46
Modified: src/plugins-build/jalopy plugin.jelly
Log:
Explicity use ant name space. In prep for removal of jeez etc
Revision Changes Path
1.2 +25 -24 maven/src/plugins-build/jalopy/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/jalopy/plugin.jelly,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plugin.jelly 24 Jan 2003 03:45:32 -0000 1.1
+++ plugin.jelly 29 Mar 2003 12:40:46 -0000 1.2
@@ -1,4 +1,5 @@
-<project>
+<project
+ xmlns:ant="jelly:ant">
<!--==================================================================-->
<!-- J A L O P Y (source code formatter) -->
@@ -10,42 +11,42 @@
<goal name="jalopy:taskdef"
description="Define the jalopy task to Ant and Jelly">
- <taskdef name="jalopy"
- classname="de.hunsicker.jalopy.plugin.ant.AntPlugin">
- <classpath>
- <pathelement path="${plugin.getDependencyPath('jalopy')}"/>
- <pathelement path="${plugin.getDependencyPath('jalopy-ant')}"/>
- <pathelement path="${plugin.getDependencyPath('aelfred')}"/>
- <pathelement path="${plugin.getDependencyPath('jaxp')}"/>
- <pathelement path="${plugin.getDependencyPath('jdom')}"/>
- <pathelement path="${plugin.getDependencyPath('log4j')}"/>
- <pathelement path="${plugin.getDependencyPath('oro')}"/>
- <pathelement path="${plugin.getDependencyPath('sax')}"/>
- <pathelement path="${plugin.getDependencyPath('textarea')}"/>
- </classpath>
- </taskdef>
+ <ant:taskdef name="jalopy"
+ classname="de.hunsicker.jalopy.plugin.ant.AntPlugin">
+ <ant:classpath>
+ <ant:pathelement path="${plugin.getDependencyPath('jalopy')}"/>
+ <ant:pathelement path="${plugin.getDependencyPath('jalopy-ant')}"/>
+ <ant:pathelement path="${plugin.getDependencyPath('aelfred')}"/>
+ <ant:pathelement path="${plugin.getDependencyPath('jaxp')}"/>
+ <ant:pathelement path="${plugin.getDependencyPath('jdom')}"/>
+ <ant:pathelement path="${plugin.getDependencyPath('log4j')}"/>
+ <ant:pathelement path="${plugin.getDependencyPath('oro')}"/>
+ <ant:pathelement path="${plugin.getDependencyPath('sax')}"/>
+ <ant:pathelement path="${plugin.getDependencyPath('textarea')}"/>
+ </ant:classpath>
+ </ant:taskdef>
</goal>
<goal name="jalopy:format"
description="Format all sources with code convention conformance"
prereqs="jalopy:taskdef, java:compile">
- <path id="project.classpath">
- <path refid="maven.dependency.classpath"/>
- <pathelement path="${maven.build.dest}"/>
- </path>
+ <ant:path id="project.classpath">
+ <ant:path refid="maven.dependency.classpath"/>
+ <ant:pathelement path="${maven.build.dest}"/>
+ </ant:path>
- <jalopy fileformat="${maven.jalopy.fileFormat}"
+ <ant:jalopy fileformat="${maven.jalopy.fileFormat}"
style="${maven.jalopy.style}"
history="${maven.jalopy.history}"
loglevel="${maven.jalopy.logLevel}"
failonerror="${maven.jalopy.failOnError}"
threads="${maven.jalopy.nbThread}"
classpathref="project.classpath">
- <fileset dir="${pom.build.sourceDirectory}" >
- <include name="${maven.jalopy.filesetInclude}" />
- </fileset>
- </jalopy>
+ <ant:fileset dir="${pom.build.sourceDirectory}" >
+ <ant:include name="${maven.jalopy.filesetInclude}" />
+ </ant:fileset>
+ </ant:jalopy>
</goal>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]