You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Yagna Boorada <ya...@mastek.com> on 2006/05/25 14:25:35 UTC
jvmarg along with fork="true" causing problem in ant 1.6.5
Hi,
I am passing few arguments to the java task.
I would like to pass an endorsed folder as a jvmarg to the
task with fork="true".
As one of the arguments take with a pattern like "*.xml" the
fork is causing problem in the ant task.
This is sending all the pattern matching files as individual arguments
to the executable.
It is a great help if some one can give me a solution for this.
Regards
Yagna
If your mind can conceive it and heart can believe it then you can
surely achieve it.
Extn: 7897
MASTEK
"Making a valuable difference"
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from all computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Re: jvmarg along with fork="true causing problem in ant 1.6.5
Posted by Antoine Levy-Lambert <an...@gmx.de>.
Hi,
I am not sure why the java task expands the "*.xml",
try \*.xml instead, may be it will work.
I was not aware that there is a shell interpreter between the java task and the actual invocation of java. Java itself does not expand wildcards, as they do not mean anything in general for Java.
Regards,
Antoine
> -------- Original-Nachricht --------
> Datum: Thu, 25 May 2006 17:55:35 +0530
> Von: Yagna Boorada <ya...@mastek.com>
> An: <us...@ant.apache.org>
> Betreff: jvmarg along with fork="true causing problem in ant 1.6.5
>
> Hi,
>
> I am passing few arguments to the java task.
>
> I would like to pass an endorsed folder as a jvmarg to the
> task with fork="true".
>
> As one of the arguments take with a pattern like "*.xml" the
> fork is causing problem in the ant task.
>
> This is sending all the pattern matching files as individual arguments
> to the executable.
>
> It is a great help if some one can give me a solution for
> this.
>
> Regards
>
> Yagna
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org