Re: Run a BAT

2006-10-19 Thread Dominique Devienne
Can some one tell me if there is another command to use for running .bat or .exe See the FAQ. A .bat is not an executable, cmd.exe is. --DD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Run a BAT

2006-10-19 Thread Muthyala, Sunil
I am trying to run a bat file, which in calls several .bat files to remove white space in JS files. I am using for this purpose and I get and error while the bat file runs fines outside of ANT. Here is my script Gen_build.bat is the file i am trying to run in C:\vss_home\com d

RE: regexpmapper question

2006-10-19 Thread Fenlason, Josh
I'm using 1.6.5 also. , Josh. > -Original Message- > From: Chun Ji [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 19, 2006 4:10 PM > To: Ant Users List > Subject: RE: regexpmapper question > > > That works for me. Which ant do you use ? Mine is 1.6.5. > > -cji > > > -Orig

RE: regexpmapper question

2006-10-19 Thread Chun Ji
That works for me. Which ant do you use ? Mine is 1.6.5. -cji -Original Message- From: Fenlason, Josh [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 2:00 PM To: Ant Users List Subject: RE: regexpmapper question Importance: Low That moves foo-0.1.2-bar and all its content

RE: regexpmapper question

2006-10-19 Thread Fenlason, Josh
That moves foo-0.1.2-bar and all its contents into dest.dir. I only want the contents of foo-0.1.2-bar moved into dest.dir. , Josh. > -Original Message- > From: Chun Ji [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 19, 2006 3:51 PM > To: Ant Users List > Subject: RE: regexpmapper

Re: regexpmapper question

2006-10-19 Thread Peter Reilly
On 10/19/06, Fenlason, Josh <[EMAIL PROTECTED]> wrote: I'm trying to move some files using regexpmapper and I'm not having much luck, probably because I'm no good at regular expressions. I have a directory structure like this: foo-0.1.2-bar/js foo-0.1.2-bar/css foo-0.1.2-bar/util/test

RE: regexpmapper question

2006-10-19 Thread Chun Ji
how about : -Original Message- From: Fenlason, Josh [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 1:15 PM To: user@ant.apache.org Subject: regexpmapper question Importance: Low I'm trying to move some files using regexpmapper and I'm not having much luck, probably

regexpmapper question

2006-10-19 Thread Fenlason, Josh
I'm trying to move some files using regexpmapper and I'm not having much luck, probably because I'm no good at regular expressions. I have a directory structure like this: foo-0.1.2-bar/js foo-0.1.2-bar/css foo-0.1.2-bar/util/test etc. I would like to move everything inside of foo-0

Re: antcall / depends

2006-10-19 Thread Markus M. May
Thanks, I found the "memory leak" in our build structure and fixed some of this already. I will also recompile ant and then I will restructe the rest of the build process as soon as we get some time for this. Thanks alot. R, Markus Am Donnerstag, den 19.10.2006, 16:51 +0100 schrieb Peter Reilly

Re: antcall / depends

2006-10-19 Thread Peter Reilly
On 10/19/06, Markus M. May <[EMAIL PROTECTED]> wrote: Hello, this is going to be nearly the same as restructuring the build process, since we have more then one component, using these targets. I am currently digging deeper into this, and hope, that I can restructure the build tonight. This is

Re: antcall / depends

2006-10-19 Thread Markus M. May
Hello, this is going to be nearly the same as restructuring the build process, since we have more then one component, using these targets. I am currently digging deeper into this, and hope, that I can restructure the build tonight. This is going to get a long night :-( Original-Nachr

RE: Re: Classpath failure has me mystified.

2006-10-19 Thread cknell
Bingo! Thanks. That's exactly what I wasn't seeing. You've solved my problem. -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: James Abley <[EMAIL PROTECTED]> Sent: Thu, 19 Oct 2006 15:46:38 +0100 To: Ant Users List Subject: Re: Classpath failure ha

Re: antcall / depends

2006-10-19 Thread Peter Reilly
On 10/19/06, Markus M. May <[EMAIL PROTECTED]> wrote: Hello, I am currently facing a massive OutOfMemoryException problem. I know that this is, because we are using ANTCALL quite heavily. We have e.g. the following structure: TargetA depends on init (via depend) calls TargetB and TargetC (v

Re: Classpath failure has me mystified.

2006-10-19 Thread James Abley
What's in your CLASSPATH environment variable? James [EMAIL PROTECTED] wrote: Thanks. I tried them both but didn't see anything I didn't expect to see. I am still no closer to an answer. = Execute:Java13CommandLauncher: Executing 'C:\Program Files\Java\jdk1.5.0_06\

antcall / depends

2006-10-19 Thread Markus M. May
Hello, I am currently facing a massive OutOfMemoryException problem. I know that this is, because we are using ANTCALL quite heavily. We have e.g. the following structure: TargetA depends on init (via depend) calls TargetB and TargetC (via antcall) TargetB depends on init (via depend) Targ

RE:Classpath failure has me mystified.

2006-10-19 Thread cknell
Thanks. I tried them both but didn't see anything I didn't expect to see. I am still no closer to an answer. = Execute:Java13CommandLauncher: Executing 'C:\Program Files\Java\jdk1.5.0_06\jr bin\java.exe' with arguments: '-classpath' 'H:\SARS-reports-j\sars.jar;C:\oracl

RE: Deleting file does not work?

2006-10-19 Thread Lars Monsees
ok, thx for the quick answer. Lars > Hi, > > works as designed, means when working with patterns like *.jar you > have to use a fileset. > > > Regards, Gilbert > > -Original Message- > From: Lars Monsees [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 19, 2006 4:06 PM > To: Ant U

RE: Deleting file does not work?

2006-10-19 Thread Rebhan, Gilbert
Hi, works as designed, means when working with patterns like *.jar you have to use a fileset. Regards, Gilbert -Original Message- From: Lars Monsees [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 4:06 PM To: Ant Users List Subject: Deleting file does not work? Hello, I

Deleting file does not work?

2006-10-19 Thread Lars Monsees
Hello, I have to copy a self-built lib from one project to another and before that I want to delete all previous versions of that file that might exist (the version number is contained within the filename). Therefore, I wanted to use this: The above does not

Re: Classpath failure has me mystified.

2006-10-19 Thread James Abley
ant -v ant -d What equivalent command-line is ANT generating? James [EMAIL PROTECTED] wrote: My problem: When running a build file, I get this error message: [java] Error in FetchDataAsXML.getXML(): java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver The relevant section

Classpath failure has me mystified.

2006-10-19 Thread cknell
My problem: When running a build file, I get this error message: [java] Error in FetchDataAsXML.getXML(): java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver The relevant sections of the build file:

AW: precompile jsps that can be deployed

2006-10-19 Thread Jan.Materne
A quick search on the mailinglist http://marc.theaimsgroup.com/?l=ant-user&w=2&r=1&s=compile%20jsp&q=b * http://marc.theaimsgroup.com/?l=ant-user&m=115978124102807&w=2 * http://marc.theaimsgroup.com/?l=ant-user&m=115978783030446&w=2 * http://marc.theaimsgroup.com/?l=ant-user&m=115979256806282&w=2

Re: Task help

2006-10-19 Thread Peter Reilly
On 10/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >I am thinking of adding: >> > >> > >> > > > classpath="${PATH_TO_ANTCONTRIB.JAR}"/> >> > >> >which would be equilivent to >> > > >resource="net/sf/antcontrib/antlib.xml" >> >clas

RE: Using path/refid for manifest classpath

2006-10-19 Thread Lars Monsees
>> btw: Is this problem not something common? Or can anyone give me some >> best practice examples on how to create the manifest classpath >> automatically? I´m just curious, ´cause I found nothing while >> searching. > > google manifest classpath > finds a number entries - including a task from

Re: Using path/refid for manifest classpath

2006-10-19 Thread Peter Reilly
On 10/19/06, Lars Monsees <[EMAIL PROTECTED]> wrote: >> -Ursprüngliche Nachricht- >> Von: Lars Monsees [mailto:[EMAIL PROTECTED] >> Gesendet: Donnerstag, 19. Oktober 2006 09:35 >> An: user@ant.apache.org >> Betreff: Using path/refid for manifest classpath >> >> Hello, >> >> I just started

RE: Using path/refid for manifest classpath

2006-10-19 Thread Lars Monsees
>> -Ursprüngliche Nachricht- >> Von: Lars Monsees [mailto:[EMAIL PROTECTED] >> Gesendet: Donnerstag, 19. Oktober 2006 09:35 >> An: user@ant.apache.org >> Betreff: Using path/refid for manifest classpath >> >> Hello, >> >> I just started using ANT within Eclipse. I have an application >> t

precompile jsps that can be deployed

2006-10-19 Thread Anand Mohan Sravanam
Hi, I need to precompile the jsps and export them to an ear file. The ear file will then be deployed on oracle10g. Could anyone help how to compile the JSP's using ant script. The precompiled JSP code should work on oracle10g thanks & regards, S. Anand Mohan. -

AW: Task help

2006-10-19 Thread Jan.Materne
>> >I am thinking of adding: >> > >> > >> > > > classpath="${PATH_TO_ANTCONTRIB.JAR}"/> >> > >> >which would be equilivent to >> > > >resource="net/sf/antcontrib/antlib.xml" >> >classpath="${PATH_TO_ANTCONTRIB.JAR}"/> >> >> >> Would it be eas

Re: Task help

2006-10-19 Thread Peter Reilly
On 10/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >I am thinking of adding: > > >classpath="${PATH_TO_ANTCONTRIB.JAR}"/> > >which would be equilivent to > resource="net/sf/antcontrib/antlib.xml" >classpath="${PATH_TO_ANTCONTRIB.JA

AW: Using path/refid for manifest classpath

2006-10-19 Thread Jan.Materne
For changing the backslash to slash, just set the dirsep-attribute on pathconvert. For a better way ... there was something DD said ... oh yes: the new (1.7) task ... Jan >-Ursprüngliche Nachricht- >Von: Lars Monsees [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 19. Oktober 200

AW: Task help

2006-10-19 Thread Jan.Materne
>I am thinking of adding: > > >classpath="${PATH_TO_ANTCONTRIB.JAR}"/> > >which would be equilivent to > resource="net/sf/antcontrib/antlib.xml" >classpath="${PATH_TO_ANTCONTRIB.JAR}"/> Would it be easier to have and resource+uri

Re: Task help

2006-10-19 Thread Peter Reilly
On 10/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: You can use external tasks in the way of Ant until 1.5 (which is and will supported in the feature too): * place the jar in ${user.home}/.ant/lib, so Ant adds it to its classpath * declare the tasks: - use for the mapping of taskname-c

Re: How to dump heap on OutOfMemoryError from ant

2006-10-19 Thread Peter Reilly
On 10/18/06, Steve Loughran <[EMAIL PROTECTED]> wrote: Milan Kubec wrote: > Hello, > I want ant to generate heap dump when OutOfMemoryError happens during > the build to find the problem in the task. I tried adding following > switches to .antrc file: -XX:+HeapDumpOnOutOfMemoryError > -XX:HeapDum

Using path/refid for manifest classpath

2006-10-19 Thread Lars Monsees
Hello, I just started using ANT within Eclipse. I have an application that gets deployed as a JAR file. To construct the classpath within the manifest, I first stated all used libs manually in the build.xml but thought that there has to be a better solution to this. So, I now use a path that gets

AW: Task help

2006-10-19 Thread Jan.Materne
You can use external tasks in the way of Ant until 1.5 (which is and will supported in the feature too): * place the jar in ${user.home}/.ant/lib, so Ant adds it to its classpath * declare the tasks: - use for the mapping of taskname-classname + for each task + for a bundle of tasks usi