Did u get my second email about the typo?
On Mon, 19 Jul 2004 13:51:08 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Do you mean change it to this: ?
>
> <project default="jar" xmlns:j="jelly:core">
> <preGoal name="test:test">
> <echo>Hacking Path...</echo>
> ${systemScope.put('java.library.path', 'C:/Foo'}
> </preGoal>
> </project>
>
> If so I get this output:
> org.apache.commons.jelly.JellyException: null:-1:-1: <null> Unable to create
> expression: systemScope.put('java.library.path', 'C:/Foo'
>
> BTW - whilst doing some more experimenting I've found that if I just remove
> the scope attribute from my original attempt it does work. Is this
> expected, or just me getting lucky?
>
> James
>
> -----Original Message-----
> From: Dion Gillard [mailto:[EMAIL PROTECTED]
> Sent: 19 July 2004 13:46
> To: Maven Users List
> Subject: Re: RC4 to 1.0 problems
>
> 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]
>
> ------------------------------------------------------------------------
> For more information about Barclays Capital, please
> visit our web site at http://www.barcap.com.
>
> Internet communications are not secure and therefore the Barclays
> Group does not accept legal responsibility for the contents of this
> message. Although the Barclays Group operates anti-virus programmes,
> it does not accept responsibility for any damage whatsoever that is
> caused by viruses being passed. Any views or opinions presented are
> solely those of the author and do not necessarily represent those of the
> Barclays Group. Replies to this email may be monitored by the Barclays
> Group for operational or business reasons.
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
http://www.multitask.com.au/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]