You may want to look at the task along with the ClassConstants
filterReader class. If you jar contains a class file that has simple public
JAVA constants (maybe a constant that is the build time/version number perhaps)
you than can use the following target snippit to read load up all the const
Try calling .exitValue() after the .waitFor() returns.
It seems like both .waitFor() and .exitValue() would return the same value
(based on looking at the JAVA API) however in my experience the .exitValue()
seems to give me the sub-process value more realiably.
Process p = pb.start();
int r =
Hi Antoine,
Have you had a chance to try this out? Are you able to reproduce my findings?
Jake
At 10:14 PM 2/10/2007, you wrote:
>Hello Jake,
>
>I remember that the code concerning translating File to URL has been
>kind of 90% rewritten between 1.6.5 and 1.7.0, and delegates more to
>the JDK