commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r705674 - in /commons/proper/cli/trunk: README.txt build-gump.xml maven.xml project.xml src/test/org/apache/commons/cli2/validation/FileValidatorTest.java xdocs/index.xml
Date Fri, 17 Oct 2008 17:06:43 GMT
Author: ebourg
Date: Fri Oct 17 10:06:43 2008
New Revision: 705674

URL: http://svn.apache.org/viewvc?rev=705674&view=rev
Log:
Removed the Maven 1 build and the old Gump descriptor

Removed:
    commons/proper/cli/trunk/build-gump.xml
    commons/proper/cli/trunk/maven.xml
    commons/proper/cli/trunk/project.xml
Modified:
    commons/proper/cli/trunk/README.txt
    commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java
    commons/proper/cli/trunk/xdocs/index.xml

Modified: commons/proper/cli/trunk/README.txt
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/README.txt?rev=705674&r1=705673&r2=705674&view=diff
==============================================================================
--- commons/proper/cli/trunk/README.txt (original)
+++ commons/proper/cli/trunk/README.txt Fri Oct 17 10:06:43 2008
@@ -7,36 +7,36 @@
 downloaded a CLI source distribution.
 
 For testing the project, you will need JUnit (if you use
-maven this will be automatically installed and configured
+Maven this will be automatically installed and configured
 for you):
 
-  http://www.junit.org/
+  http://www.junit.org
 
-There are two ways to build CLI, either with ant or maven.
+There are two ways to build CLI, either with Ant or Maven 2.
 
 Ant can be found here :
 
-  http://ant.apache.org/
+  http://ant.apache.org
 
 and to build and test the system use:
 
   ant dist
 
-Maven can be found here :
+Maven 2 can be found here :
 
-  http://maven.apache.org/
+  http://maven.apache.org
 
 and to build and test the system use:
 
-  maven jar:jar
+  mvn clean package
 
 The system will build and test itself.
 
 For complete documentation and to create a local copy of the
 CLI project website, type:
 
-  maven site
+  mvn site
 
 Good luck!
 
--The CLI Team
+- The Apache Commons Team

Modified: commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java?rev=705674&r1=705673&r2=705674&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java
(original)
+++ commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java
Fri Oct 17 10:06:43 2008
@@ -33,8 +33,7 @@
 public class FileValidatorTest extends TestCase {
 
     public void testValidate() throws InvalidArgumentException {
-        final Object[] array = new Object[] { "src", "project.xml",
-                "veryunlikelyfilename" };
+        final Object[] array = new Object[] { "src", "pom.xml", "veryunlikelyfilename" };
         final List list = Arrays.asList(array);
         final FileValidator validator = new FileValidator();
 
@@ -42,13 +41,13 @@
 
         final Iterator i = list.iterator();
         assertEquals(new File("src"), i.next());
-        assertEquals(new File("project.xml"), i.next());
+        assertEquals(new File("pom.xml"), i.next());
         assertEquals(new File("veryunlikelyfilename"), i.next());
         assertFalse(i.hasNext());
     }
 
     public void testValidate_Directory() {
-        final Object[] array = new Object[] { "src", "project.xml" };
+        final Object[] array = new Object[] { "src", "pom.xml" };
         final List list = Arrays.asList(array);
         final FileValidator validator = FileValidator
                 .getExistingDirectoryInstance();
@@ -62,7 +61,7 @@
             validator.validate(list);
             fail("InvalidArgumentException");
         } catch (InvalidArgumentException e) {
-            assertEquals("project.xml", e.getMessage());
+            assertEquals("pom.xml", e.getMessage());
         }
     }
 
@@ -163,8 +162,7 @@
     }
 
     public void testValidate_Existing() {
-        final Object[] array = new Object[] { "project.xml",
-                "veryunlikelyfilename" };
+        final Object[] array = new Object[] { "pom.xml", "veryunlikelyfilename" };
         final List list = Arrays.asList(array);
         final FileValidator validator = FileValidator.getExistingInstance();
 
@@ -182,7 +180,7 @@
     }
 
     public void testValidate_File() {
-        final Object[] array = new Object[] { "project.xml", "src" };
+        final Object[] array = new Object[] { "pom.xml", "src" };
         final List list = Arrays.asList(array);
         final Validator validator = FileValidator.getExistingFileInstance();
 

Modified: commons/proper/cli/trunk/xdocs/index.xml
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/xdocs/index.xml?rev=705674&r1=705673&r2=705674&view=diff
==============================================================================
--- commons/proper/cli/trunk/xdocs/index.xml (original)
+++ commons/proper/cli/trunk/xdocs/index.xml Fri Oct 17 10:06:43 2008
@@ -76,7 +76,7 @@
     <section name="Documentation">
       <p>
         A full <a href="introduction.html">User's Guide</a> is available
-        as are various<a href="maven-reports.html">project reports</a>.
+        as are various <a href="project-reports.html">project reports</a>.
       </p>
       <p>
         The Javadoc API documents are available online:



Mime
View raw message