Re: propertyregex ANT task - need to extract string without newline character

2020-10-16 Thread KM
I am not sure if the regex works the same as some of the others, but you could try "$" at the end after the asterisk.  Maybe like regexp="OBF:.*$" KM On Thursday, October 15, 2020, 12:01:44 PM EDT, forumUsr forumUsr wrote: Hello I have following ANT task whe

propertyregex ANT task - need to extract string without newline character

2020-10-15 Thread forumUsr forumUsr
Hello I have following ANT task where I like to extract string starting from a keyword until newline character: Java ANT task results in following output: 2020-10-14 13:55:00.549:INFO::pool-2-thread-1: Logging initialized

Re: Can the Ant task "patch" be used in Linux for patching files with DOS linefeeds?

2020-09-04 Thread Stefan Bodewig
On 2020-09-02, Harri T. wrote: > 1. use the Ant task |patch| in Linux for patching files with DOS linefeeds? > 2. apply the option |--binary| with the Ant task |patch|? Th patch task doesn't support --binary, yet, but it would be very easy to add. Actually is really a simple wrappe

Can the Ant task "patch" be used in Linux for patching files with DOS linefeeds?

2020-09-02 Thread Harri T.
Hi, How can we... 1. use the Ant task |patch| in Linux for patching files with DOS linefeeds? 2. apply the option |--binary| with the Ant task |patch|? See the details below or at Stack Overflow <https://stackoverflow.com/q/63703418/2158271>. Kind regards, Harri Files * bui

Re: How should an Ant be created programmatically from another (custom) Ant task?

2015-05-16 Thread Christopher BROWN
Hello Dominique, Thanks, I gave it a try, and it helped! Exactly what I was looking for... -- Christopher On 16 May 2015 at 16:49, Dominique Devienne wrote: > On Sat, May 16, 2015 at 3:38 PM, Christopher BROWN > wrote: > > > I've some doubts about the "createInclude" logic... but I haven't

Re: How should an Ant be created programmatically from another (custom) Ant task?

2015-05-16 Thread Dominique Devienne
On Sat, May 16, 2015 at 3:38 PM, Christopher BROWN wrote: > I've some doubts about the "createInclude" logic... but I haven't got that > far yet. I'm stuck on the "setId()" part which just doesn't exist. > You probably need to call this Project.addReference API. Give it try, and see if that hel

How should an Ant be created programmatically from another (custom) Ant task?

2015-05-16 Thread Christopher BROWN
Hello, I've developed a few custom Ant tasks over time, but I need a little help doing something specific to Ant's data types. I've created a task that retrieves a set of files from a server, but the names aren't known in advance, they're determine during execution of the task. I'd like to creat

AW: create a new fileset in Java and in Ant Task

2014-02-26 Thread Knuplesch , Jürgen
THX! -Ursprüngliche Nachricht- Von: Jan Matèrne (jhm) [mailto:apa...@materne.de] Gesendet: Dienstag, 25. Februar 2014 17:34 An: 'Ant Users List' Betreff: AW: create a new fileset in Java and in Ant Task The fileset needs a project instance. getDS() is a short cut for getDS(

AW: create a new fileset in Java and in Ant Task

2014-02-25 Thread jhm
uple...@icongmbh.de] > Gesendet: Dienstag, 25. Februar 2014 16:07 > An: Ant Users List > Betreff: create a new fileset in Java and in Ant Task > > Hello, > > I want to create a new fileset inside a ANT-Task using this: > > FileSet createdFileset = new FileSet();

create a new fileset in Java and in Ant Task

2014-02-25 Thread Knuplesch , Jürgen
Hello, I want to create a new fileset inside a ANT-Task using this: FileSet createdFileset = new FileSet(); createdFileset.setDir(new File(basedir)); When I do this to get the files: createdFileset.getDirectoryScanner(); I get a NPE. What else do I need to do to set up a

Re: Sending options to ANT task? Specifically the -q option to make it quiet

2013-07-03 Thread jimi.hullegard
Thank you for clearing this up, Jan. Although one would think that the ANT task should be able to run in a separate process in order to handle such things. Also thanks for your example code, but I think this short EXEC task is even simpler: /Jimi

AW: Sending options to ANT task? Specifically the -q option to make it quiet

2013-07-03 Thread jhm
ache.org > Betreff: Sending options to ANT task? Specifically the -q option to > make it quiet > > Hi all, > > I have a build file that in turn calls another build file, using the > ANT task (http://ant.apache.org/manual/Tasks/ant.html). However, I want > to make that

Sending options to ANT task? Specifically the -q option to make it quiet

2013-07-03 Thread jimi.hullegard
Hi all, I have a build file that in turn calls another build file, using the ANT task (http://ant.apache.org/manual/Tasks/ant.html). However, I want to make that second build file run in "quiet mode", ie just as if I had triggered it from a command line with the "-q" optio

Re: Problem with GPG plugin from Ant task

2013-02-01 Thread Stephen Connolly
2 seconds > [artifact:mvn] [INFO] Finished at: Sun Jan 27 21:37:35 PST 2013 > [artifact:mvn] [INFO] Final Memory: 16M/40M > [artifact:mvn] [INFO] > ---- > [artifact:mvn] Java Result: 1 > > There is very little on the dreaded "Cannot obtain passphrase in batch > mode". > Even when I use overrides on the command line e.g. ant stage > -Dpassphrase=${passphrase}, I still get the above. > > Does anyone have a suggestion on how I can run Maven (from an Ant > task) to operate in interactive (non-batch) mode? > > Any ideas? Thanks very much in advance > > Lewis > > > > -- > *Lewis* >

Re: Problem with GPG plugin from Ant task

2013-01-31 Thread Antoine Levy Lambert
Hello Martin, there is already an ant task in this codebase [1]: Antoine [1] http://svn.apache.org/repos/asf/commons/sandbox/openpgp/trunk/src/main/java/org/apache/commons/openpgp/ant/OpenPgpSignerTask.java On Jan 31, 2013, at 3:49 PM, Martin Gainty wrote: > > Antoine > > can

RE: Problem with GPG plugin from Ant task

2013-01-31 Thread Martin Gainty
orisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.

Re: Problem with GPG plugin from Ant task

2013-01-30 Thread Lewis John Mcgibbney
-- > > [artifact:mvn] [INFO] For more information, run Maven with the -e switch > > [artifact:mvn] [INFO] > > > > [artifact:mvn] [INFO] Total time: 2 seconds > > [artifact:mvn] [INFO] Finished at: Sun Jan 27 21:37:35 PST 2013 > > [artifact:mvn] [INFO] Final Memory: 16M/40M > > [artifact:mvn] [INFO] > > > > [artifact:mvn] Java Result: 1 > > > > There is very little on the dreaded "Cannot obtain passphrase in batch > > mode". > > Even when I use overrides on the command line e.g. ant stage > > -Dpassphrase=${passphrase}, I still get the above. > > > > Does anyone have a suggestion on how I can run Maven (from an Ant > > task) to operate in interactive (non-batch) mode? > > > > Any ideas? Thanks very much in advance > > > > Lewis > > > > > > > > -- > > *Lewis* > > -- *Lewis*

Re: Problem with GPG plugin from Ant task

2013-01-30 Thread Antoine Levy Lambert
Final Memory: 16M/40M > [artifact:mvn] [INFO] > ---- > [artifact:mvn] Java Result: 1 > > There is very little on the dreaded "Cannot obtain passphrase in batch > mode". > Even when I use overrides on the command line e.g. ant stage > -Dpassphrase=${passphrase}, I still get the above. > > Does anyone have a suggestion on how I can run Maven (from an Ant > task) to operate in interactive (non-batch) mode? > > Any ideas? Thanks very much in advance > > Lewis > > > > -- > *Lewis*

Problem with GPG plugin from Ant task

2013-01-29 Thread Lewis John Mcgibbney
nnot obtain passphrase in batch mode". Even when I use overrides on the command line e.g. ant stage -Dpassphrase=${passphrase}, I still get the above. Does anyone have a suggestion on how I can run Maven (from an Ant task) to operate in interactive (non-batch) mode? Any ideas? Thanks very much in advance Lewis -- *Lewis*

Re: ant task ftp

2013-01-11 Thread Joe Black
. with best regards, From: Antoine Levy Lambert To: Ant Users List ; Joe Black Sent: Thursday, January 10, 2013 11:00 AM Subject: Re: ant task ftp Hello Joe, this looks like a bug or incompatibility between ant and this new version of commons-net. It

Re: ant task ftp

2013-01-09 Thread Antoine Levy Lambert
Hello Joe, this looks like a bug or incompatibility between ant and this new version of commons-net. It would be good if you can create a bug report in bugzilla ( http://issues.apache.org/bugzilla ) What would be great is if you could start digging in the source code of ant and commons-net to

Re: Recycle an Ant task

2012-10-02 Thread Rob Seegel
e taskdefs, I would need to use the loaderRef as Stefan mentioned to prevent the class from being reloaded on a subsequent execution. Thanks again! On Thu, Sep 27, 2012 at 9:08 PM, Stefan Bodewig wrote: On 2012-09-26, Jose Rojas wrote: I would like to create a custom ant task that caches some r

Re: Recycle an Ant task

2012-09-28 Thread Jose Rojas
reloaded on a subsequent execution. Thanks again! On Thu, Sep 27, 2012 at 9:08 PM, Stefan Bodewig wrote: > On 2012-09-26, Jose Rojas wrote: > > > I would like to create a custom ant task that caches some results from an > > operation and saves it for use in future executions.

Re: Recycle an Ant task

2012-09-27 Thread Stefan Bodewig
On 2012-09-26, Jose Rojas wrote: > I would like to create a custom ant task that caches some results from an > operation and saves it for use in future executions. My simple method of > doing this is using a 'static' member. This would work great for me as the > operation

Recycle an Ant task

2012-09-26 Thread Jose Rojas
Hello, This may be a developer mailing list question due to its specifics, but hopefully someone can off some help. I'm using the Ant API within a Java application. I would like to create a custom ant task that caches some results from an operation and saves it for use in future executions

Re: Hide password in java ant task

2011-08-17 Thread Muralidhar Manku
task > prior to a few weeks back), though hopefully in your case inputstring is > working as advertised in the docs for the java task. > > David > > > -Original Message- > From: Muralidhar Manku [mailto:muralidhar.ma...@gmail.com] > Sent: Thursday, July 07, 2011 8:37

RE: Hide password in java ant task

2011-07-07 Thread David Parks
M To: user@ant.apache.org Subject: Hide password in java ant task Hi All, I am using ant java task to execute a class file and passing some argument to it. one of the argument to this java class is the database password. When the java task is getting executed, the entire command along with the pas

Hide password in java ant task

2011-07-07 Thread Muralidhar Manku
Hi All, I am using ant java task to execute a class file and passing some argument to it. one of the argument to this java class is the database password. When the java task is getting executed, the entire command along with the password is displayed in the process (ps -ef). Is there any way to

RE: Help with ant task

2011-05-25 Thread Martin Gainty
t facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Tue, 24 May 2011 21:04:33 -0400 > From: sflo...@nc.rr.com > To: user@ant.apache.org > Subject: Re: Help with ant task > > > Mind showing what you tr

Re: Help with ant task

2011-05-24 Thread Scot P. Floess
Mind showing what you tried that didn't work??? Might be easier to see how you are trying to accomplish this and then point out what to do :) On Tue, 24 May 2011, rakesh mailgroups wrote: Hi, hope you can help as I am struggling to get this to work!! I have a lib directory that may poten

Help with ant task

2011-05-24 Thread rakesh mailgroups
Hi, hope you can help as I am struggling to get this to work!! I have a lib directory that may potentially contain libs such as: acme.jar acme-2011050241533.jar The two jars are related but I want only one in the directory. So, if acme-*.jar exists, then I need to delete acme.jar. I've tried

pvcs ant task for making the files writable

2011-03-11 Thread chandu uppu
HI, I am able to retrieve files from PVCS using pvcs ant task, but the some of the files are read only. Could you please let me know, how to make all the files writable after retrieving the files from PVCS. Thanks, Chandra

RE: Unexpected behaviour creating dynamic ANT task via XSLT and executing via bat file

2011-03-09 Thread Mario Madunic
: Unexpected behaviour creating dynamic ANT task via XSLT and executing via bat file The reason for the behavior is because the batch file runs in a separate process. To prevent this behavior, instead of executing the batch file from the main build.xml, you can directly invoke the generated

Re: Unexpected behaviour creating dynamic ANT task via XSLT and executing via bat file

2011-03-09 Thread Vimil Saju
build.xml run in the same process as the main build.xml. Hope my explanation helps --- On Wed, 3/9/11, Mario Madunic wrote: > From: Mario Madunic > Subject: Unexpected behaviour creating dynamic ANT task via XSLT and > executing via bat file > To: "user@ant.apache.org&qu

Unexpected behaviour creating dynamic ANT task via XSLT and executing via bat file

2011-03-09 Thread Mario Madunic
(Ant 1.8.2, XP SP3) Background: I’m using ANT to pipeline my conversion of XML (Excel) to PDF via the command line. So I chunked up the various steps into separate project files and import into the build.xml. At one point an XSLT created a bat file to copy required SVGs locally for use in the P

Re: Add dynaTrace ant task to the list of external Plugins

2011-01-14 Thread Antoine Levy-Lambert
Hello Guido, the change is committed in svn and will be visible on the web site soon. Regards, Antoine On 1/14/2011 7:12 AM, Guido Deinhammer wrote: Ok - I understand that. Below is the modified version - I still changed the text a bit since the terms "Application Performance Management" and

RE: Add dynaTrace ant task to the list of external Plugins

2011-01-14 Thread Guido Deinhammer
*** -Original Message- From: Antoine Levy-Lambert [mailto:anto...@gmx.de] Sent: Donnerstag, 13. Jänner 2011 23:49 To: Ant Users List Subject: Re: Add dynaTrace ant task to the list of external Plugins Hello Guido, the tone of the text is like the Ant project is advertising for Dynatrac

Re: Add dynaTrace ant task to the list of external Plugins

2011-01-13 Thread Antoine Levy-Lambert
into your ant builds. This way you can easily record performance metrics of your tests including transactional performance data. Compatibility: Ant 1.6 and higher URL: href="https://community.dynatrace.com/community/display/DL/Ant+Task+for+dynaTrace+3&qu

RE: Add dynaTrace ant task to the list of external Plugins

2011-01-13 Thread Guido Deinhammer
Hi Antoine, I would like to get the text changed for the dynaTrace Ant task in the external plugins section. Please apply the change below. Thanks, Guido Patch for the external.xml file: 907,910c907,910 < < dtAnt allows integrating dynaTrace Application Perfo

Re: Add dynaTrace ant task to the list of external Plugins

2010-12-24 Thread Antoine Levy-Lambert
Hello Guido, this has been committed, Antoine On 12/23/10 3:13 AM, Guido Deinhammer wrote: > 910,936d909 > < > < > < dtAnt allows integrating dynaTrace Application Performance > Management > < into your ant builds. This way you can easily record > performance

RE: Add dynaTrace ant task to the list of external Plugins

2010-12-23 Thread Guido Deinhammer
ance metrics < of your tests including transactional performance data. < < < < Compatibility: < Ant 1.6 and higher < < < URL: < https://community.dynatrace.com/community/d

Re: Add dynaTrace ant task to the list of external Plugins

2010-12-22 Thread Antoine Levy-Lambert
Hello Guido, your attachment did not go through. Write your patch inline in the mail it will be OK Regards, Antoine On 12/22/2010 11:31 AM, Guido Deinhammer wrote: Hi, I would like to add the dynaTrace ant task to the list of external tool and tasks. I have attached the patch file for the

Add dynaTrace ant task to the list of external Plugins

2010-12-22 Thread Guido Deinhammer
Hi, I would like to add the dynaTrace ant task to the list of external tool and tasks. I have attached the patch file for the external.xml file Thanks, Guido - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For

Re: Executing javascript ant task with jdk 1.6

2010-11-17 Thread Michael Ludwig
Hi Mangesh, Mangesh Moghe schrieb am 17.11.2010 um 15:17 (+0530): > Finally able to solve the problem. Yes, ant 1.6.5 can not work with > JDK 1.6 as far as javascript ant task is concerned. This is because > ant 1.6.5 supports

RE: Executing javascript ant task with jdk 1.6

2010-11-17 Thread Mangesh Moghe
Finally able to solve the problem. Yes, ant 1.6.5 can not work with JDK 1.6 as far as javascript ant task is concerned. This is because ant 1.6.5 supports

RE: Executing javascript ant task with jdk 1.6

2010-11-16 Thread Ludwig, Michael
> > Detected OS: HP-UX > > Adding reference: ant.ComponentHelper > > Setting ro project property: ant.version -> Apache Ant version 1.6.5 > > compiled on June 2 2005 > > There was no 1.6 back then. But 1.6.5 is the latest 1.6. Okay, this is not clear. So: There was no JDK 1.6 back then. But Ant

RE: Executing javascript ant task with jdk 1.6

2010-11-16 Thread Mangesh Moghe
h.Launcher.main(Launcher.java:67) org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine; END=== Regards Mangesh Moghe From: "Ludwig, Michael" To: "Ant Users List" Date: 11/15/2010 07:04 PM Subject: RE: Exe

RE: Executing javascript ant task with jdk 1.6

2010-11-15 Thread Mangesh Moghe
egards Mangesh Moghe Mailto: mangesh.mo...@tcs.com From: "Ludwig, Michael" To: "Ant Users List" Date: 11/15/2010 02:35 PM Subject: RE: Executing javascript ant task with jdk 1.6 > I am executing a ant javascript task and while executing it I am

RE: Executing javascript ant task with jdk 1.6

2010-11-15 Thread Ludwig, Michael
> I am executing a ant javascript task and while executing it I am > getting error java.lang.NoSuchMethodError: > org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine > ; > It was working fine with JDK 1.5 but it is giving error with JDK1.6 Sun JDK 1.

Executing javascript ant task with jdk 1.6

2010-11-15 Thread Mangesh Moghe
Hi, I am executing a ant javascript task and while executing it I am getting error java.lang.NoSuchMethodError: org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine ; It was working fine with JDK 1.5 but it is giving error with JDK1.6 Below are det

Re: Problems creating my own ant task

2010-11-04 Thread Dominique Devienne
On Thu, Nov 4, 2010 at 3:09 PM, abridgel wrote: > We need to write our own tasks because of portability issues. So I need to be > able to source in the task somehow > > I created the jar and put the classes and antlib.xml in the same directory > however when I try to pull it in it is complainning

Re: Problems creating my own ant task

2010-11-04 Thread Alexey N. Solofnenko
Well, I am still adding custom tasks the old way: - Alexey. On 11/4/2010 1:09 PM, abridgel wrote: We need to write our own tasks because of portability issues. So I need to be able to source in the task somehow I created the jar and put the classes and antlib.xml in the same directory h

Re: Problems creating my own ant task

2010-11-04 Thread abridgel
)- its very simple. import java.io.*; import java.util.*; import org.apache.tools.ant.Task; public class Diff extends Task{ public void execute() { System.out.println("Hello"); } } -- View this message in context: http://ant.1045680.n5.nabble.com/Problems-creating-

Re: Problems creating my own ant task

2010-11-04 Thread Alexey N. Solofnenko
With it is now rare that you need to write a task in Java. Have you tried it? Maybe also in conjunction with . - Alexey. On 11/4/2010 12:53 PM, abridgel wrote: I'm desperate can anybody help? === Notice: This e-mail message, together with any attachments, contains information of Symyx

Re: Problems creating my own ant task

2010-11-04 Thread abridgel
I'm desperate can anybody help? -- View this message in context: http://ant.1045680.n5.nabble.com/Problems-creating-my-own-ant-task-tp3248855p3250761.html Sent from the Ant - Users mailing list archive at Nabble.com. ---

Problems creating my own ant task

2010-11-04 Thread abridgel
ruggling with this all morning. -- View this message in context: http://ant.1045680.n5.nabble.com/Problems-creating-my-own-ant-task-tp3248855p3248855.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsu

RE: junit ant task

2010-10-31 Thread efe4it
Hi Maybe you could set the "timeout" property of the task, so timeout will appears in junit reports as cause for test failure. Regards Emmanuel -- View this message in context: http://ant.1045680.n5.nabble.com/junit-ant-task-tp3233265p3243947.html Sent from the Ant - Users ma

Re: jar ant task

2010-10-26 Thread David Weintraub
2010/10/25 codecook : > OK,I have found a solution,sample file likes this : > > > Is this a solution to your problem? You can also use the subtask to build the manifest for you. I find using the Manifest subtask a bit easier

Re:jar ant task

2010-10-25 Thread codecook
OK,I have found a solution,sample file likes this : At 2010-10-26 09:50:05,codecook wrote: >Hi,All >Could anyone tell me how can I assign an exsiting manifest file to the jar >task? > > >Thanks

RE: junit ant task

2010-10-23 Thread Martin Gainty
manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: dean.hil...@mckesson.com > To: user@ant.apache.org > Subject: junit ant task > Date: Wed, 20 Oct 2010 09:28:04 -0700 > > So, I have a test hanging out of hundreds of tests, but unf

junit ant task

2010-10-23 Thread Hiller, Dean
So, I have a test hanging out of hundreds of tests, but unfortunately, the log of [junit] Beg com.xxx.Test is logged AFTER the test completes so I can't see what test is failing L..g..Hard to believe since ant 1.3 that this problem is still an issue and the default hasn't been

RE: junit ant task test listeners

2010-09-29 Thread Chip McCormick
-Original Message- From: Stefan Bodewig [mailto:bode...@apache.org] Sent: Monday, August 23, 2010 9:20 AM To: user@ant.apache.org Subject: Re: junit ant task test listeners On 2010-08-23, Chip McCormick wrote: > Does anyone know how to add a test listener to an ant junit t

Re: junit ant task test listeners

2010-08-23 Thread Stefan Bodewig
On 2010-08-23, Chip McCormick wrote: > Does anyone know how to add a test listener to an ant junit task, > without having to create a custom task? > We are attempting to add a test listener to a junit ant task to do > custom logging after each test class in a batch completes. Ant&

junit ant task test listeners

2010-08-23 Thread Chip McCormick
Does anyone know how to add a test listener to an ant junit task, without having to create a custom task? We are attempting to add a test listener to a junit ant task to do custom logging after each test class in a batch completes. The only mention in the API of how to do this describes how to

Re: Ant task to convert files from one encoding to another encoding

2010-07-21 Thread Matt Benson
On Jul 21, 2010, at 1:47 AM, jingguo yao wrote: > It seems that a task to convert one encoding to another encoding does not > exist in Ant distribution. The solution I have found is NekoConv ( > http://people.apache.org/~andyc/neko/i18n/doc/index.html). Is there any > other solution to do the enc

Ant task to convert files from one encoding to another encoding

2010-07-20 Thread jingguo yao
It seems that a task to convert one encoding to another encoding does not exist in Ant distribution. The solution I have found is NekoConv ( http://people.apache.org/~andyc/neko/i18n/doc/index.html). Is there any other solution to do the encoding conversion? Thanks Jingguo Yao

Re: Overriding ant task

2010-07-05 Thread Sony Antony
Thank you David : Your sugegstion as it is will not work for me as once I copy teh files, I wont have teh names ( I mape them ). But Im convinced that your approach in general is better than changing eth source code. So I decided to use filter chains. Basically I m trying to first copy the files

Re: Overriding ant task

2010-07-04 Thread David Weintraub
Seems like a lot of work. Why not do the task with the filter, then use a mechanism to test the copied files to see if any tokens exist. You can use the command with the filter to see if any tokens (Pattern = /@\w+@/) exists in the files just copied. If you do find such files exist, you can fai

Overriding ant task

2010-07-04 Thread Sony Antony
Hi : Im trying to modify the task so that if a token seen in the file being copied, is undefined in teh , the build will fail.. ( It will also list all teh undefined tokens encountered against the corresponding file name ) 1. Was there an way to do this without writing java code ? 2. I have alre

Re: build process doesn't stop when an ant task failed

2010-06-22 Thread David Weintraub
Tue, Jun 1, 2010 at 1:57 PM, Zhu, Eddy-P65906 wrote: > Hi > > I am having a problem here.  I want to stop my build process when anyone > of my ant tasks failed.  What is happening now is my build process > continues when an ant task failed.  At the end of the build process, it &

AW: build process doesn't stop when an ant task failed

2010-06-22 Thread Jan.Materne
t.apache.org >Betreff: build process doesn't stop when an ant task failed > >Hi > >I am having a problem here. I want to stop my build process >when anyone >of my ant tasks failed. What is happening now is my build process >continues when an ant task failed. At t

Re: Import projects into eclipse via ant task

2010-06-07 Thread dbgtjp
for those interested in what answer I got from eclipse ant devel look here: http://article.gmane.org/gmane.comp.ide.eclipse.platform.ant.devel/113 -John -- View this message in context: http://old.nabble.com/Import-projects-into-eclipse-via-ant-task-tp28745223p28804860.html Sent from the Ant

Re: Slowdown in ant task execution in 1.8.1 (specifically chmod) on Unix

2010-06-04 Thread Andy Wang
Antoine, Thanks for the update. I didn't see the change in SVN, which is why I checked. Should it be in already or am I reading SVN wrong? http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java?diff_format=h&view=log&pathrev=947339

Re: Slowdown in ant task execution in 1.8.1 (specifically chmod) on Unix

2010-06-03 Thread Antoine Levy-Lambert
Hi, this change - which I did in ant 1.8.1 is reverted in 1.8.2. Regards, Antoine Andy Wang wrote: > Hi all, > Just wondering if anyone has experienced a bug I just opened: > https://issues.apache.org/bugzilla/show_bug.cgi?id=49384 > > As the bug states, the fix for > https://issues.apache.org/

Slowdown in ant task execution in 1.8.1 (specifically chmod) on Unix

2010-06-03 Thread Andy Wang
Hi all, Just wondering if anyone has experienced a bug I just opened: https://issues.apache.org/bugzilla/show_bug.cgi?id=49384 As the bug states, the fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48746 adds about 400ms of latency on my system for ant tasks that exec external processes

Re: Import projects into eclipse via ant task

2010-06-01 Thread Antoine Levy-Lambert
Hi, dbgtjp wrote: > I am trying to automate the process of importing existing projects into > eclipse. The user should just have to start eclipse, enter the workspace and > all the required projects are already showing up there. > > Is there an ant task to achieve that, so that th

build process doesn't stop when an ant task failed

2010-06-01 Thread Zhu, Eddy-P65906
Hi I am having a problem here. I want to stop my build process when anyone of my ant tasks failed. What is happening now is my build process continues when an ant task failed. At the end of the build process, it will say build successful. Then I don't have the opportunity to catch the f

Import projects into eclipse via ant task

2010-06-01 Thread dbgtjp
all the required projects are already showing up there. Is there an ant task to achieve that, so that the user does not have to import the projects manually? This ant task would have to automate the process of starting eclipse, creating a workspace and importing some projects into this workspace

Re: New ANT task coding guideline

2010-05-30 Thread Bruce Atherton
On 30/05/2010 11:27 AM, Bruce Atherton wrote: I realized that I screwed up two ways with this answer. First, my intention was 'resultproperty="${result}"' rather than as written. But this won't work either because the PropertyHelper will just give back the literal string when the setter is c

Re: New ANT task coding guideline

2010-05-30 Thread Bruce Atherton
On 27/05/2010 2:04 AM, jan.mate...@rzf.fin-nrw.de wrote: Please have a look at https://svn.apache.org/repos/asf/ant/sandbox/autoconf/ Maybe that could help. But he still has a call to the setter even if it is autoconfed. Note that setting spawn and resultproperty are mutually exclusive. If

AW: New ANT task coding guideline

2010-05-27 Thread Jan.Materne
Please have a look at https://svn.apache.org/repos/asf/ant/sandbox/autoconf/ Maybe that could help. Jan >-Ursprüngliche Nachricht- >Von: Antoine Levy-Lambert [mailto:anto...@gmx.de] >Gesendet: Mittwoch, 26. Mai 2010 17:31 >An: Ant Users List >Betreff: Re: New ANT task c

Re: New ANT task coding guideline

2010-05-26 Thread Antoine Levy-Lambert
Hello Shawn, I hope some one has a useful answer for this. Original-Nachricht > Datum: Wed, 26 May 2010 10:03:30 -0500 > Von: Shawn Castrianni > An: "\'Ant Users List\'" > Betreff: New ANT task coding guideline > Therefore, I propose that

New ANT task coding guideline

2010-05-26 Thread Shawn Castrianni
I would like to propose a new ANT task coding guideline. I frequently need to allow my users to customize the ANT build via a build.properties file. Therefore, a lot of my ANT task usage has placeholders for the various different ant task attributes with variables, ${}. The problem is

Re: Proposal to have an Ant task to resolve ecllipse projects' classpath dependencies at runtime.

2010-04-07 Thread Gilbert Rebhan
Original Message Subject: Re: Proposal to have an Ant task to resolve ecllipse projects' classpath dependencies at runtime. From: Ravi Roy To: Ant Users List Date: 07.04.2010 15:38 [...] >>> Since people love Ant and also Eclipse being an standard

Re: Proposal to have an Ant task to resolve ecllipse projects' classpath dependencies at runtime.

2010-04-07 Thread Ravi Roy
On Sun, Apr 4, 2010 at 10:43 PM, Gilbert Rebhan wrote: > Original Message > Subject: Proposal to have an Ant task to resolve ecllipse projects' > classpath dependencies at runtime. > From: Ravi Roy > To: user@ant.apache.org > Date: 04

Re: Proposal to have an Ant task to resolve ecllipse projects' classpath dependencies at runtime.

2010-04-04 Thread Gilbert Rebhan
Original Message Subject: Proposal to have an Ant task to resolve ecllipse projects' classpath dependencies at runtime. From: Ravi Roy To: user@ant.apache.org Date: 04.04.2010 11:05 > Hi, [...] > Since people love Ant and also Eclipse being an standard IDE

Proposal to have an Ant task to resolve ecllipse projects' classpath dependencies at runtime.

2010-04-04 Thread Ravi Roy
features are concerned. Since people love Ant and also Eclipse being an standard IDE, I feel at times that there should be a Ant task which could read the .classpath and .project files and provide and kind of property which has resolved classpath entries on which project depends on. This task would

Re: foreach ant task

2010-03-11 Thread Francis GALIEGUE
On Thu, Mar 11, 2010 at 15:02, Kaushal Shriyan wrote: > Hi > > can someone here give me example to use foreach ant task to deploy > same war to multiple running Tomcat Server? > http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html > You should consider using instead:

foreach ant task

2010-03-11 Thread Kaushal Shriyan
Hi can someone here give me example to use foreach ant task to deploy same war to multiple running Tomcat Server? http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html Thanks, Kausha - To unsubscribe, e-mail: user

Re: Ant task to get artifacts from Nexus Repository

2010-02-22 Thread Stephen Connolly
gt;An: Ant Users List > >Betreff: Re: Ant task to get artifacts from Nexus Repository > > > >Maven Ant tasks or Ivy can pull from Nexus, which is fundamentally a > >Maven repository. > > > >-Matt > > > >On Feb 18, 2010, at 11:13 AM, Sridhar Bitkuri

AW: Ant task to get artifacts from Nexus Repository

2010-02-22 Thread Jan.Materne
Dont forget the simple Jan >-Ursprüngliche Nachricht- >Von: Matt Benson [mailto:gudnabr...@gmail.com] >Gesendet: Donnerstag, 18. Februar 2010 18:25 >An: Ant Users List >Betreff: Re: Ant task to get artifacts from Nexus Repository > >Maven Ant tasks or Ivy can pull

Re: Ant task to get artifacts from Nexus Repository

2010-02-18 Thread Matt Benson
Maven Ant tasks or Ivy can pull from Nexus, which is fundamentally a Maven repository. -Matt On Feb 18, 2010, at 11:13 AM, Sridhar Bitkuri wrote: Looking for any Ant task to get the ear files or war files from Nexus Repository. Appreciated. -- Sent from my Palm Prē

Ant task to get artifacts from Nexus Repository

2010-02-18 Thread Sridhar Bitkuri
Looking for any Ant task to get the ear files or war files from Nexus Repository. Appreciated. -- Sent from my Palm Prē

Re: not understanding ant task

2010-02-18 Thread Scot P. Floess
, I am trying to find out what that Ant Task is for. (I pasted it at the end of my post). I would like to by-pass using ant and proceed working with Eclipse, but to accomplish this i need to understand what this task does. Thanks in advance, Emma -- Scot

not understanding ant task

2010-02-18 Thread Emma X.
Hi all, I am trying to find out what that Ant Task is for. (I pasted it at the end of my post). I would like to by-pass using ant and proceed working with Eclipse, but to accomplish this i need to understand what this task does. Thanks in advance, Emma

Ant task to remove the repeated string or line in a file

2009-11-09 Thread cvsusr
Hi, I wanted to delete the repeated strings or lines in a text file.. is there any task available for that. My file.txt contains one one two three three four six I need to delete the repeated one and three entries.. Thanks Sri -- View this message in context: http://old.nabble.com/Ant

Re: Ant task to unzip files to a dynamic folder

2009-10-12 Thread Andy Stevens
Varman wrote: Hi, Great thanks..that works. But its not working in windows. For windows we have to give something like See the change in regexp. How can i make it generic for both linux and windows? regexp=".*[\\/]([^\\/]*)\.zip" perhaps? Won't work on linux if you actually have a ba

Re: problem while creating jar file using ant task

2009-10-07 Thread Stefan Bodewig
On 2009-10-07, Edumudi Viswanath wrote: > basedir="${build}/classes" >includes="${build}/classes/a/b/c/d/e/**" > /> the includes pattern should be relative to your basedir. includes="a/b/c/d/e/**" BTW, the recommended approach is not to use basedir at all but rather a

problem while creating jar file using ant task

2009-10-07 Thread Edumudi Viswanath
Hi, I need to create jar file using ant task. While creating jar file, it should traverse to innermost directory & pick up all .class from from that folder. The code looks like below. Here, basedir contains "${build}/classes". Classes folder contains different fo

Re: How to specify xml configuration file from Ant Task

2009-10-05 Thread supareno
there. The XML is called from the Java by the following: ApplicationContext ac = new ClassPathXmlApplicationContext("jdbc.xml", HelloWorld.class); Am not sure if its on the classpath - was hoping to have that done from the ant task if possible? supareno wrote: not4google a écrit

  1   2   3   4   5   6   >