ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Leal "Valmaņa" <achepat...@yahoo.es>
Subject RE: Properties files are not properly loaded when testing class under junit task (possible bug)
Date Sat, 15 Nov 2003 11:58:37 GMT

Dear Stefan,

On Fri, 14 Nov 2003, David Leal <achepati67@yahoo.es> wrote:

> I HAVE SET TO THE VALUE:

> 

> SET ANT_OPTS=-Duser.language=en

> 

> AND IT WORKS,

> OK, so you have to set it before starting the Java VM that runs

> JUnit. If you fork <junit>, this can be done from inside Ant with

> <sysproperty>. 

THIS SOLUTION WORKS!!!!, AND IS GOOD FOR ME ENOUGH, THANKS. FINALLY I HAVE FOUND HOW TO FORK
WITHOUT PROBLEMS.

> If you don't fork <junit> you must set it before you

> start Ant and ANT_OPTS (that you can set in ~/.antrc on Unix or

> %HOME%\antrc_pre.bat on Windows).



---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message