Hi Antoine, Thanks for your reply.
The argument is passed along with path. But the result is same. In fact here fork="true" causing the problem. The JDK version is 1.4.2_08. Regards Yagna If your mind can conceive it and heart can believe it then you can surely achieve it. Extn: 7897 -----Original Message----- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 9:17 PM To: Ant Users List Subject: Re: jvmarg along with fork="true causing problem in ant 1.6.5 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 <[EMAIL PROTECTED]> > An: <user@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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]