dion 2003/08/10 18:29:38
Modified: src/plugins-build/checkstyle/xdocs Tag: MAVEN_RC1_STABLE
changes.xml
src/plugins-build/checkstyle Tag: MAVEN_RC1_STABLE
plugin.jelly
Log:
Fix for MAVEN-664
Revision Changes Path
No revision
No revision
1.6.4.1 +4 -0 maven/src/plugins-build/checkstyle/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/checkstyle/xdocs/changes.xml,v
retrieving revision 1.6
retrieving revision 1.6.4.1
diff -u -r1.6 -r1.6.4.1
--- changes.xml 8 Jul 2003 11:01:07 -0000 1.6
+++ changes.xml 11 Aug 2003 01:29:37 -0000 1.6.4.1
@@ -9,6 +9,10 @@
<body>
<release version="2.0" date="in CVS">
+ <action dev="dion" type="fix">
+ Add maven dependency and classes directory to classpath. This stops
+ 'Unable to get class information for '<classname>' errors.
+ </action>
<action dev="evenisse" type="fix">
Add xml declaration to generated report. Fixed for character encoding.
</action>
No revision
No revision
1.13.4.2 +9 -7 maven/src/plugins-build/checkstyle/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/checkstyle/plugin.jelly,v
retrieving revision 1.13.4.1
retrieving revision 1.13.4.2
diff -u -r1.13.4.1 -r1.13.4.2
--- plugin.jelly 7 Aug 2003 16:58:49 -0000 1.13.4.1
+++ plugin.jelly 11 Aug 2003 01:29:37 -0000 1.13.4.2
@@ -47,13 +47,15 @@
<ant:taskdef name="checkstyle"
classname="com.puppycrawl.tools.checkstyle.CheckStyleTask">
- <classpath>
- <pathelement
location="${plugin.getDependencyPath('checkstyle:checkstyle')}"/>
- <pathelement location="${plugin.getDependencyPath('antlr:antlr')}"/>
- <pathelement location="${plugin.getDependencyPath('regexp:regexp')}"/>
- <pathelement
location="${plugin.getDependencyPath('commons-beanutils:commons-beanutils')}"/>
- <pathelement
location="${plugin.getDependencyPath('commons-collections:commons-collections')}"/>
- <pathelement
location="${plugin.getDependencyPath('commons-logging:commons-logging')}"/>
+ <ant:classpath>
+ <ant:pathelement
location="${plugin.getDependencyPath('checkstyle:checkstyle')}"/>
+ <ant:pathelement location="${plugin.getDependencyPath('antlr:antlr')}"/>
+ <ant:pathelement location="${plugin.getDependencyPath('regexp:regexp')}"/>
+ <ant:pathelement
location="${plugin.getDependencyPath('commons-beanutils:commons-beanutils')}"/>
+ <ant:pathelement
location="${plugin.getDependencyPath('commons-collections:commons-collections')}"/>
+ <ant:pathelement
location="${plugin.getDependencyPath('commons-logging:commons-logging')}"/>
+ <ant:path refid="maven.dependency.classpath"/>
+ <ant:pathelement path="${maven.build.dest}"/>
</classpath>
</ant:taskdef>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]