On Mon, 19 Jul 2004 13:41:33 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Yes, they were in a properties file - I was a bit sceptical that this would
> work for a system property like java.library.path so that's good you've
> confirmed this
> 
> I'm trying to set up a build environment that's as automated as possible,
> i.e. -D arguments aren't ideal, so I'd like to pursue the 2nd of your
> suggestions.  But I'm not quite sure where I'd put that little code snippet
> as my Jelly skills are somewhat limited.  I tried this as my maven.xml:
> 
> <project default="jar" xmlns:j="jelly:core">
>         <preGoal name="test:test">
>                 <echo>Hacking path...</echo>
>                 <j:set var="java.library.path" scope="system">C:/Foo</j:set>

Nope, the above line should read:
            ${systemScope.put('java.library.path', 'C:/Foo'}

>         </preGoal>
> </project>

Let me know how that goes.
-- 
http://www.multitask.com.au/people/dion/

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

Reply via email to