I think %myvar2% will result in windows shell doing teh substitution I dont think maven will use system variables set using -D as pom variables ( maybe I m wrong ) --sony On Thu, Apr 21, 2011 at 7:24 PM, Phillip Hellewell <[email protected]> wrote:
> This is on Windows from a command prompt, not Linux. > > Phillip > > On Thu, Apr 21, 2011 at 12:21 PM, Jörg Schaible <[email protected]> > wrote: > > Phillip Hellewell wrote: > > > >> Oh, I just thought of something shorter that will work: > >> > >> -Dmyvar1=c:\test\${myvar2}\. > >> > >> Still seems kinda crazy though. Anyone want to shed some light on why > >> it works this way? This is with Maven 3.0.1. > > > > Maybe you should have a look into the bash manual instead ? > > > > - Jörg > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
