ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "glenn opdycke-hansen" <glenn...@gmail.com>
Subject ant/junit problem with FileNotFound
Date Wed, 26 Apr 2006 11:28:27 GMT
I have several ant scripts that invoke the next ant script via <ant>.
The last ant script has a <junit> task that invokes Java code.
There is a problem in the Java code that the File class cannot find the file
with a relative path.
I can resolve this by using the complete path to the file.
This problem does not occur if the test ant script is directly invoked.
(sounds like a basedir problem.)

Suggestions?

--glenn

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message