You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jh...@apache.org on 2003/09/08 16:05:51 UTC

cvs commit: ant/src/testcases/org/apache/tools/ant/types CommandlineJavaTest.java

jhm         2003/09/08 07:05:51

  Modified:    src/testcases/org/apache/tools/ant/types
                        CommandlineJavaTest.java
  Log:
  Remove dependency to bootstap version.
  
  Revision  Changes    Path
  1.17      +3 -2      ant/src/testcases/org/apache/tools/ant/types/CommandlineJavaTest.java
  
  Index: CommandlineJavaTest.java
  ===================================================================
  RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/types/CommandlineJavaTest.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- CommandlineJavaTest.java	12 May 2003 14:00:10 -0000	1.16
  +++ CommandlineJavaTest.java	8 Sep 2003 14:05:51 -0000	1.17
  @@ -106,7 +106,8 @@
           }
   
           c.createClasspath(project).setLocation(project.resolveFile("lib/optional/junit.jar"));
  -        c.createClasspath(project).setLocation(project.resolveFile("bootstrap/lib/ant.jar"));
  +        c.createClasspath(project).setLocation(project.resolveFile(
  +            System.getProperty("ant.home")+"/lib/ant.jar"));
           s = c.getCommandline();
           assertEquals("with classpath", 6, s.length);
           //        assertEquals("with classpath", "java", s[0]);
  @@ -167,4 +168,4 @@
           assertNull(System.getProperty("key2"));
       }
   
  -}
  +}
  \ No newline at end of file
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org