You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2003/01/02 08:26:28 UTC
cvs commit: jakarta-turbine-maven/src/java/org/apache/maven/project Resource.java SourceModification.java UnitTest.java
jvanzyl 2003/01/01 23:26:28
Modified: src/java/org/apache/maven/project Resource.java
SourceModification.java UnitTest.java
Log:
o we are now using the Resource class only, got rid of the Resources class.
Revision Changes Path
1.7 +5 -0 jakarta-turbine-maven/src/java/org/apache/maven/project/Resource.java
Index: Resource.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/project/Resource.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Resource.java 31 Dec 2002 07:03:29 -0000 1.6
+++ Resource.java 2 Jan 2003 07:26:28 -0000 1.7
@@ -157,4 +157,9 @@
{
return targetPath;
}
+
+ public String toString()
+ {
+ return "[dir = " + dir + "]";
+ }
}
1.7 +4 -4 jakarta-turbine-maven/src/java/org/apache/maven/project/SourceModification.java
Index: SourceModification.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/project/SourceModification.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- SourceModification.java 31 Dec 2002 07:03:38 -0000 1.6
+++ SourceModification.java 2 Jan 2003 07:26:28 -0000 1.7
@@ -57,8 +57,8 @@
*/
/**
- * A source modification is made when a given class or property are present
- * during a build. Currently the way MavenSession works an exclusion is the only thing
+ * A source modification is made when a given class or property is present
+ * during a build. Currently with the way Maven works an exclusion is the only thing
* that makes sense. But I want to account for future cases where the sources
* are not all together and someone may want to include a body of source given
* the presence of a class or property.
@@ -67,7 +67,7 @@
* @version $Id$
*/
public class SourceModification
- extends Resources
+ extends Resource
{
/**
* Class name to check for in the classpath. If it is present then perform
1.10 +1 -1 jakarta-turbine-maven/src/java/org/apache/maven/project/UnitTest.java
Index: UnitTest.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/project/UnitTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- UnitTest.java 31 Dec 2002 07:03:47 -0000 1.9
+++ UnitTest.java 2 Jan 2003 07:26:28 -0000 1.10
@@ -67,7 +67,7 @@
* @author <a href="mailto:james@jamestaylor.org">James Taylor</a>
*/
public class UnitTest
- extends Resources
+ extends Resource
{
/** List of test resources. */
private List resources = new ArrayList();