mbenson     2005/02/24 14:39:27

  Modified:    src/testcases/org/apache/tools/ant/taskdefs
                        ExecuteJavaTest.java
  Log:
  Test failed on 1.2 due to ant.home not being set on the helper Project.
  
  Revision  Changes    Path
  1.10      +1 -0      
ant/src/testcases/org/apache/tools/ant/taskdefs/ExecuteJavaTest.java
  
  Index: ExecuteJavaTest.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/ExecuteJavaTest.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ExecuteJavaTest.java      2 Feb 2005 12:52:50 -0000       1.9
  +++ ExecuteJavaTest.java      24 Feb 2005 22:39:27 -0000      1.10
  @@ -51,6 +51,7 @@
           ej.setTimeout(new Long(TIME_OUT));
           project = new Project();
           project.setBasedir(".");
  +        project.setProperty("ant.home", System.getProperty("ant.home"));
           cp = new Path(project, getTestClassPath());
           ej.setClasspath(cp);
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to