signjar with mapper

2008-03-12 Thread Paul Gifford
Hi, I'm trying to use a mapper with the signjar task and getting an error: "signjar doesn't support the nested "mapper" element" I'm doing this: I see "mapper" here as a nested element: http://ant.apache.org/manual/CoreTasks/signjar.html What I'd like to do is have the jar r

about ant sql connection being pulled out , into a property file

2008-03-12 Thread Chaohua Wang
Folks, I am using ant sql, Because I have a few of ant sql statements, could you tell me how to put above part into a property file. So there is no duplicate code. In this part like something like this. Thank you cwang

SQL scripts in ANT

2008-03-12 Thread Sumit.Srivastava
Hi Experts.. I need to run multiple SQL scripts thru ANT...Following is my code snippet :

Re: ECCN/Export Apache Ant

2008-03-12 Thread Steve Loughran
Tyler Ward wrote: I need some help regarding the ECCN for Apache Ant 1.6.5. The Apache site at HYPERLINK "https://redowa.esri.com/exchweb/bin/redir.asp?URL=http://www.apache.org/lic enses/exports/" \nhttp://www.apache.org/licenses/exports/ lists the ECCN for Ant as 5D002 TSU. Is Ant classifie

ECCN/Export Apache Ant

2008-03-12 Thread Tyler Ward
I need some help regarding the ECCN for Apache Ant 1.6.5. The Apache site at HYPERLINK "https://redowa.esri.com/exchweb/bin/redir.asp?URL=http://www.apache.org/lic enses/exports/" \nhttp://www.apache.org/licenses/exports/ lists the ECCN for Ant as 5D002 TSU. Is Ant classified as 5D002 because i

Re: replaceregex issues

2008-03-12 Thread neo anderson
How do I use shell script in ant? I try the following code, but it does not work. (echo "hi!";) Though it return build successfully. But there is nothing echo on the screen. What should I do if I want to run shell scri

Re: Sourceforge CPD task

2008-03-12 Thread Matt Benson
--- Eric Wood <[EMAIL PROTECTED]> wrote: > I'm looking for an easy way to detect cut-n-paste > violations. The CPD > task will write all cut-n-paste violations to an > output file, but how do > I best check to see if there are violations? I > thought that I could > test the file to see if it is

Sourceforge CPD task

2008-03-12 Thread Eric Wood
I'm looking for an easy way to detect cut-n-paste violations. The CPD task will write all cut-n-paste violations to an output file, but how do I best check to see if there are violations? I thought that I could test the file to see if it is not zero length and seemed to recall a way to check that

Re: Sync and flatten at the same time?

2008-03-12 Thread Dominique Devienne
On Tue, Mar 11, 2008 at 6:46 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > However, I also want to flatten the fileset as I synchronize. I can > copy it over flattened, no problem. I just want to delete target > files that aren't in (the flattened) fileset. accepts a > mapper, but do

Re: taskdef question - only usable at project level?

2008-03-12 Thread Scot P. Floess
Andrew: Namespace isn't really an issue...I just like using it ;) I think it makes it clearer where things originate... Anyway... I did figure out a way to do what I had intended. I am actually able to download Ant contrib dynamically, install it and then use it... If you are interested

Re: taskdef question - only usable at project level?

2008-03-12 Thread Andrew n marshall
I am also trying to develop something like what Scot described and running into similar problems. However, I am not using the namespace notation. My version looks something like this: Defined task I currently get the

Re: ant checking result status

2008-03-12 Thread Steve Loughran
neogeo wrote: Hi all, I am an ANT newbie and have a few questions. I have the following task which works but wondering if I could check the result status from the http url. Checks if the JBoss Server is running. Testing if the JBoss Server is running on ${jbo

RE: Ant, Eclipse & CVS problem adding a file

2008-03-12 Thread Rebhan, Gilbert
-Original Message- From: Daniel Sanchez Gonzalez [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 11:02 AM To: user@ant.apache.org Subject: Ant, Eclipse & CVS problem adding a file /* When I run the script, this message appears: [cvs] cvs [add aborted]: there is a version in

Re: Classpath problem / getting StarTeam tasks to work...

2008-03-12 Thread Ken Turner
I use StarTeam successfully simply by using the following -lib parameter when I call Ant: -lib "C:\Program Files\Borland\StarTeam SDK 2005\Lib" -- View this message in context: http://www.nabble.com/Classpath-problem---getting-StarTeam-tasks-to-work...-tp15499112p16001862.html Sent from the Ant

Ant, Eclipse & CVS problem adding a file

2008-03-12 Thread Daniel Sanchez Gonzalez
Hello, I'm writing an script to compile, make a jar and put it into CVS repository. I'm using Eclipse. My source files are in an Eclipse project (MySrcJava, for example) and jars are in another project (MyJars). Each project is linked to a CVS directory. There is an ant file in MySrcJava project

RE : using RE with newline problem

2008-03-12 Thread Rebhan, Gilbert
/*