Re: Escape '*' in property command line

2013-01-15 Thread Billy Newman
I have with no luck. The problem with escaping is that I have spaces in the arg. With spaces seems like the correct way is to surround the arg in qoutes. -Dcron="0 0 23 * * *" Which should work. If I add escape chars within the string those escape chars are passed as part of the property itse

Re: Re: Escape '*' in property command line

2013-01-15 Thread Thorsten Heit
Hi, > I did try single quotes, unfortunately that did not work either. > > I modified the maven script to print out is quoted args variable, > looks like it did some sort of filename expansion with the '*' > character. > > When I perform: > echo "0 0 23 * * *" I get: > 0 0 23 * * *, as one would

Re: Escape '*' in property command line

2013-01-14 Thread Billy Newman
I did try single quotes, unfortunately that did not work either. I modified the maven script to print out is quoted args variable, looks like it did some sort of filename expansion with the '*' character. When I perform: echo "0 0 23 * * *" I get: 0 0 23 * * *, as one would expect. Seems like a

Re: Escape '*' in property command line

2013-01-14 Thread Curtis Rueden
Hi Billy, > I actually get a directory listing of the current directory in which > the pom is executing. That sounds more like your shell is interpreting the asterisks as globs. Did you try it with single quotes instead of double quotes? -Curtis On Mon, Jan 14, 2013 at 2:57 PM, Billy Newman