Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 74500 invoked by uid 500); 2 Aug 2001 21:52:49 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 74484 invoked from network); 2 Aug 2001 21:52:48 -0000 Message-ID: <3B69CB87.4E484520@intraware.com> Date: Thu, 02 Aug 2001 14:52:07 -0700 From: "Tim Meals" Organization: Intraware, Inc. X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: java and asterisk (*) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Chris -- If I'm reading right, you're trying to run something like this: % java test.ReplaceTags -Dtagname=something *.xml Unfortunately, the shell is interpretting the *.xml and passing all the necessary files into the JVM. If you wanted, from the shell you could also do "[a-z]*.xml" and get a list of all files with an initial lower case letter. Again, it's the shell that's doing the expansion. Because the Ant Java task executes without the shell's invocation, if you want to do "*.xml" you'll have to wrap the java executable in a shell script or batch file. Tim Bill.J.Fellows@mail.sprint.com wrote: > Huh? > Perhaps I'm not following you. Would you mind including the xml? > > /bill > > -----Original Message----- > From: chris.wall [mailto:chris.wall@bea.com] > Sent: Thursday, August 02, 2001 2:59 PM > To: ant-user > Subject: java and asterisk (*) > > Has anyone tried to use and within specify files to be > compiled > using an asterisk (*)? > On NT this seems to work fine, but not on Solaris- resulted with > java.io.FileNotFoundException. > > Thanks. -- Tim Meals Web Applications Developer mailto:tmeals@intraware.com fax: 925-253-4599 http://www.intraware.com operator: 925-253-4500 Intraware ... Control Your Technology