lukewpatterson wrote:
> 
> ok, and then the plugin does some massaging, and '\' is an escape
> character
> 
> http://fisheye.codehaus.org/browse/mojo/trunk/mojo/exec-maven-plugin/src/main/java/org/codehaus/mojo/exec/AbstractExecMojo.java?r=HEAD#l155
> 
> try (with the quotes)
> 
> "${basedir}${file.separator}target${file.separator}lib"
> 
> interestingly though,
> 
> "\" or "\a" or "a\"
> 
> throw error "args contains not properly formatted string"
> 
> but "a\a" is ok
> 
> So looks like you can get by if you use the quotes, and then hope the
> characters touching the quotes aren't a '\'.  I didn't test for nested
> quotes.
> 

That works (using quotes) but based on what you wrote above I believe this
is a bug.

1. I am expecting this to work without quotes (since my path does not
contain any spaces)
2. I am expecting to be able to put anything inside the quotes

Do you agree? Should I file a bug report?

Thanks,
Gili
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Passing-basedir-into-Exec-plugin-tp512272p699142.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to