On Mon, 19 Jul 2004 08:57:45 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:

> Run 1, with properties:
> java.library.path=${maven.tcw.path}
> maven.junit.sysproperties=java.library.path

Please tell me that these are not properties in a .properties file.
You can't change a system property by specifying it in a properties
file. You need to pass java.library.path in using
-Djava.library.path=C:/blah, or use
${systemScope.put('java.library.path','c:/blah')}

If I do this:

maven "-Djava.library.path=C:\foo;%PATH%" -Dmaven.junit.fork=true
-Dmaven.junit.sysproperties=java.library.path -X test

I get this:
    [junit] [DEBUG] Execute:Java13CommandLauncher: Executing
'C:\jdk1.3.1_07\jre\bin\java.exe' with arguments:
'-Dbasedir=C:\source\maven'
'-Djava.library.path=C:\foo;C:\Python23\.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\tools;C:\Program
Files\Common F
iles\Adaptec Shared\System;C:\Program
Files\cvsnt;C:\WebSphere\AppServer\bin;c:\cygwin\bin;C:\Program
Files\ibm\gsk5\lib;C:\PROGRA~1
\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;'


Which is what I'd expect. Could you please try it this way?

> Run 2, with property:
> maven.junit.sysproperties=java.library.path=${maven.tcw.path}

I now get why this works, and it's just a fluke.
-- 
http://www.multitask.com.au/people/dion/

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

Reply via email to