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: 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

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

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ē -

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: Ant task to unzip files to a dynamic folder

2009-10-05 Thread Varman
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? -Arul Andy Stevens-2 wrote: > > 2009/9/24 Varman : >> Hi all, >> >> I too have same requirements in

Re: Ant task to unzip files to a dynamic folder

2009-09-23 Thread Andy Stevens
2009/9/24 Varman : > Hi all, > > I too have same requirements in which i want extract zip files to different > folders without using custom codes. This is the code am using. this extracts > all zip files to "destination_dir" and so files with same name gets > overwitten (i want to avoid this). For

Re: Ant Task to read directly from a JAR Manifest file

2008-12-12 Thread Francis Galiegue
Le vendredi 12 décembre 2008, Ghadi Mahmoudi a écrit : > Hello, > > Is there alread a Task, which is able to read values from manifest file > (in a JAR)? > > I prefer to avoid the long way of 1. unzip the JAR and 2. read the > value. > > thanks, > Not directly, but why not just make a macro? L

RE: Ant task to find in files

2008-07-10 Thread Rebhan, Gilbert
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 3:20 PM To: user@ant.apache.org Subject: Ant task to find in files /* Hi there, I'd like to seach the files in a fileset and fail my build if any file contains a certain string. Is ther

Re: Ant task walk html and find broken links

2008-05-15 Thread Steve Loughran
gregsmit wrote: Hi, I thought something like this might already exist, but I haven't been able to find anything yet. Does anyone know of an Ant task that I could use to walk through a website (that I built with ant) to confirm that there are no broken links? I found one really old project on

RE: Ant task walk html and find broken links

2008-05-14 Thread gregsmit
l for doing so. > > From: Gilbert Rebhan [EMAIL PROTECTED] > Sent: Wednesday, May 14, 2008 4:15 PM > To: Ant Users List > Subject: Re: Ant task walk html and find broken links > > Scot P. Floess schrieb: >> Interesting question... &g

Re: Ant task walk html and find broken links

2008-05-14 Thread Dominique Devienne
On Wed, May 14, 2008 at 4:00 PM, gregsmit <[EMAIL PROTECTED]> wrote: > Does anyone know of an Ant task that I could use to walk through a website > (that I built with ant) to confirm that there are no broken links? I found > one really old project on sourceforge, but it looks pretty abandoned.

RE: Ant task walk html and find broken links

2008-05-14 Thread Loehr, Ruel
This is the correct answer. You are talking about doing functional testing. This is the perfect tool for doing so. From: Gilbert Rebhan [EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 4:15 PM To: Ant Users List Subject: Re: Ant task walk html and find

Re: Ant task walk html and find broken links

2008-05-14 Thread Gilbert Rebhan
Scot P. Floess schrieb: Interesting question... I know I need something like this too...and actually got bitten by generating some bad HTML. I considered using Selenium to test this...but that isn't an Ant task :( what about Canoo ? http://webtest.canoo.com/webtest/manual/WebTestHome.html

Re: Ant task walk html and find broken links

2008-05-14 Thread Scot P. Floess
Interesting question... I know I need something like this too...and actually got bitten by generating some bad HTML. I considered using Selenium to test this...but that isn't an Ant task :( gregsmit wrote: Hi, I thought something like this might already exist, but I haven't been able to fin

RE: Ant task for auto gen. release.txt form src-files!

2007-12-14 Thread Anderson, Rob (Global Trade)
I would recommend getting this information from your source control system, if possible. If you are using CVS, you could use the cvschangelog task. For ClearCase there is a task in the clearantlib package that will do the same thing. For other source control systems you may have to get creative wit

Re: Ant task for auto gen. release.txt form src-files!

2007-12-07 Thread Chuck Holzwarth
Look at the concat task with the options. Thank you, Chuck Holzwarth - Original Message From: donus <[EMAIL PROTECTED]> To: user@ant.apache.org Sent: Friday, December 7, 2007 2:05:23 AM Subject: Ant task for auto gen. release.txt form src-files! Hi All, I've one question to ant us

Re: Ant task to Count number of files in a directory

2007-10-26 Thread David Weintraub
I think this might help: http://ant.apache.org/manual/CoreTasks/resourcecount.html Here's a snippet I just tested: It's much cleaner than attempting to write a script. On 10/26/07, Sujie <[EMAIL PROTECTED]> wrote: > > Hi

RE: Ant task to Count number of files in a directory

2007-10-26 Thread Rebhan, Gilbert
-Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 12:19 PM To: Ant Users List Subject: RE: Ant task to Count number of files in a directory /* ... you need = http://jakarta.apache.org/bsf/ http://dist.codehaus.org/jruby/jruby-complete

RE: Ant task to Count number of files in a directory

2007-10-26 Thread Rebhan, Gilbert
Hi, -Original Message- From: Sujie [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 12:09 PM To: user@ant.apache.org Subject: RE: Ant task to Count number of files in a directory /* I get the following error when trying to using ruby as a script language. "unable to l

RE: Ant task to Count number of files in a directory

2007-10-26 Thread Sujie
I get the following error when trying to using ruby as a script language. "unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)" Do i need to import something else? The resource count is not working for me. It always returns 1 irrespective of num

RE: Ant task to Count number of files in a directory

2007-10-26 Thread Rebhan, Gilbert
-Original Message- From: Sujie [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 10:42 AM To: user@ant.apache.org Subject: Ant task to Count number of files in a directory /* Hi I would like to count the number of jar files in a directory. I am using ANT 1.7. */ with ant < 1.

Re: [Ant task] Calling different targets by passing it to a batch file

2007-10-23 Thread Sunil Prabhakaran
try this change the batch file statement to ant -buildfile "RunBuild.xml" %1 %2 and then execute >ABC.bat A B at commandline and this should solve your troubles Sunil Prabhakaran On 10/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Im not sure why you are using the batchfile. So just two

Re: ANT task to process properties-files into static class

2007-01-03 Thread Donald McLean
Rapthor wrote: Donald McLean wrote: Really? That sounds like a case of "The cure is worse than the disease." I can't imagine a single case where something like that would be a better solution than the three or four techniques for providing static attributes that I'm already familiar with.

Re: ANT task to process properties-files into static class

2007-01-03 Thread Steve Loughran
Keith Hatton wrote: Two more robust solutions spring to mind: 1. You can use Properties.getProperty(String,String) to prevent your NPE. The first string is the property name, the second is a default value to be used when the property is not present. http://java.sun.com/j2se/1.5.0/docs/api/java/u

RE: ANT task to process properties-files into static class

2007-01-03 Thread Keith Hatton
2007 21:42 To: user@ant.apache.org Subject: Re: ANT task to process properties-files into static class Scot P. Floess wrote: > > If a property does not exist, why is a null pointer thrown? I assume > you mean java.util.Properties? If so, that does not raise a null > pointer except

Re: ANT task to process properties-files into static class

2007-01-02 Thread James Abley
If that's the sort of thing you're after, Log4J has a similar mechanism which can monitor the config file and polls to see if it needs to reload the configuration. [1] I think that would provide a template for you. YMMV. Cheers, James [1] http://logging.apache.org/log4j/docs/api/org/apache/

Re: ANT task to process properties-files into static class

2007-01-02 Thread Alexey N. Solofnenko
It seems a trivial task to generate a Java source file from a property with . - Alexey. Rapthor wrote: Sorry, having confused you. I have a file named global.properties. This file is edited manually by me. The webapplication loads this file into a java.util.Properties-instance at start. Eve

Re: ANT task to process properties-files into static class

2007-01-02 Thread Rapthor
Sorry, having confused you. I have a file named global.properties. This file is edited manually by me. The webapplication loads this file into a java.util.Properties-instance at start. Everywhere I use this Properties instance like "props.getProperty("myProp")" I have to check whether a "null" i

Re: ANT task to process properties-files into static class

2007-01-02 Thread Scot P. Floess
Sorry, I'm not sure I follow your problem... Do you mean Ant should somehow generate a properties file based upon your build.xml properties? Who sets the properties and how is this null pointer being raised? I am a "wee" bit confused ;) Rapthor wrote: Scot P. Floess wrote: If a property

Re: ANT task to process properties-files into static class

2007-01-02 Thread Rapthor
Rapthor wrote: > > > Donald McLean wrote: >> >> Really? That sounds like a case of "The cure is worse than the disease." >> >> I can't imagine a single case where something like that would be a >> better solution than the three or four techniques for providing static >> attributes that I'm

Re: ANT task to process properties-files into static class

2007-01-02 Thread Rapthor
Scot P. Floess wrote: > > If a property does not exist, why is a null pointer thrown? I assume > you mean java.util.Properties? If so, that does not raise a null > pointer exception. > You are right ... the NullPointerException would be thrown if I relied on a value read from the Propertie

Re: ANT task to process properties-files into static class

2007-01-02 Thread Rapthor
Donald McLean wrote: > > Really? That sounds like a case of "The cure is worse than the disease." > > I can't imagine a single case where something like that would be a > better solution than the three or four techniques for providing static > attributes that I'm already familiar with. > > H

Re: ANT task to process properties-files into static class

2007-01-02 Thread Donald McLean
Really? That sounds like a case of "The cure is worse than the disease." I can't imagine a single case where something like that would be a better solution than the three or four techniques for providing static attributes that I'm already familiar with. However, of course, YMMV. Rapthor wrot

Re: ANT task to process properties-files into static class

2007-01-02 Thread Scot P. Floess
If a property does not exist, why is a null pointer thrown? I assume you mean java.util.Properties? If so, that does not raise a null pointer exception. Rapthor wrote: Hi, I think this problem is very interesting. I have a web application that needs various configuration. I'm using a proper

Re: Ant Task to Write to a file

2006-11-09 Thread Jacob Kjome
Or, if you want to deal with XML in a more robust way, look into XMLTask... http://www.oopsconsultancy.com/software/xmltask/ Jake Quoting James Abley <[EMAIL PROTECTED]>: > ${some.property} > > http://ant.apache.org/manual/CoreTasks/echo.html > > me_zeta wrote: > > > > The val

Re: Ant Task to Write to a file

2006-11-09 Thread Mark Miller
Also take a look at the concat core task. On 11/9/06, me_zeta <[EMAIL PROTECTED]> wrote: Hi all, Is there any ant task to write some data to a file. zeta -- View this message in context: http://www.nabble.com/Ant-Task-to-Write-to-a-file-tf2600638.html#a7255092 Sent from the Ant - Users

Re: Ant Task to Write to a file

2006-11-09 Thread James Abley
${some.property} http://ant.apache.org/manual/CoreTasks/echo.html me_zeta wrote: The value i want to write to a file is an xml string of the form {data comes here} how can this be done?? Tom Corcoran-2 wrote: Here's an example which creates the file datetime.inc in your

RE: Ant Task to Write to a file

2006-11-09 Thread me_zeta
The value i want to write to a file is an xml string of the form {data comes here} how can this be done?? Tom Corcoran-2 wrote: > > Here's an example which creates the file datetime.inc in your classes > directory : > > >file="${build}/datetime.inc"> > > > > Tom. > >

RE: Ant Task to Write to a file

2006-11-09 Thread Tom Corcoran
Here's an example which creates the file datetime.inc in your classes directory : Tom. -Original Message- From: me_zeta [mailto:[EMAIL PROTECTED] Sent: 09 November 2006 09:38 To: user@ant.apache.org Subject: Ant Task to Write to a file Hi all, Is there any ant tas

AW: RE: Ant Task for FOP

2006-08-28 Thread Jan.Materne
Why you want letting Ant drive the xml transformation? You could simple choose the PHP xslt-libraries. Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Samstag, 26. August 2006 18:40 >An: Ant Users List >Betreff: Re: RE: A

Re: Ant Task for FOP

2006-08-27 Thread Ron Wheeler
It is the same thread just a refinement of the question. Is there some way to run an operating system command from PHP? If you can trigger an external script, then you can call Ant from the script. Otherwise you can use Tomcat (probably overkill) or Jetty (http://jetty.mortbay.org/) to start a

RE: Re: RE: Ant Task for FOP

2006-08-26 Thread cknell
se re-post with a relevant subject line to get a helpful answer. -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: [EMAIL PROTECTED] Sent: Sat, 26 Aug 2006 18:40:09 +0200 To: "Ant Users List" Subject: Re: RE: Ant Task for FOP Hi, Does anyone has

Re: RE: Ant Task for FOP

2006-08-26 Thread tblhh
Original-Nachricht Datum: Fri, 25 Aug 2006 19:33:52 -0400 Von: [EMAIL PROTECTED] An: user@ant.apache.org Betreff: RE: Ant Task for FOP > Use the "style" or "xslt" task (two-names, same function). Of course, use > of those presumes that you are handy

RE: Ant Task for FOP

2006-08-25 Thread cknell
Use the "style" or "xslt" task (two-names, same function). Of course, use of those presumes that you are handy with XSLT. If not, you may want to see the XSL list hosted by MulberryTech. -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: [EMAIL PROTECTED] Sent:

Re: RE: Ant Task for FOP

2006-08-25 Thread tblhh
Hi The

RE: Ant Task for FOP

2006-08-25 Thread RADEMAKERS Tanguy
Hello, Not quite sure if i'm understanding the question, but as far as i can ascertain from a quick look at the website, FO files are in fact xml, so i would say that your best bet would be to generate them using xsl transformations. Ant has a

Re: ant task

2006-07-28 Thread Petar Tahchiev
On 29/07/06, satheesh <[EMAIL PROTECTED]> wrote: I have written a java class which will add two values and print it in the console and I called that class in ant as mentioned below, how can I get that value (or returned that value from class) back to ant target or the property tag What's

RE: Ant task to grep 'import' ?

2006-07-25 Thread RADEMAKERS Tanguy
Yes, use the task with a nested and a filterreader. /t >-Original Message- >From: samuel cheung [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 25, 2006 5:24 AM >To: user@ant.apache.org >Subject: Ant task to grep 'import' ? > >Hi, > >Is there an ANT task to grep all "imports" in each j

Re: Ant task

2006-05-19 Thread Adam Stroud
? -Rob A -Original Message- From: Anderson, Rob (Global Trade) Sent: Friday, May 19, 2006 12:17 PM To: Anderson, Rob (Global Trade); 'Ant Users List' Subject: RE: Ant task Actually, afer looking at the example, I'm not so sure this is what you are looking for. -Rob A

RE: Ant task

2006-05-19 Thread Anderson, Rob (Global Trade)
Are you setting inheritall to true? -Rob A > -Original Message- > From: Anderson, Rob (Global Trade) > Sent: Friday, May 19, 2006 12:17 PM > To: Anderson, Rob (Global Trade); 'Ant Users List' > Subject: RE: Ant task > > Actually, afer looking at the exam

RE: Ant task

2006-05-19 Thread Anderson, Rob (Global Trade)
Actually, afer looking at the example, I'm not so sure this is what you are looking for. -Rob A > -Original Message- > From: Anderson, Rob (Global Trade) > Sent: Friday, May 19, 2006 12:14 PM > To: 'Ant Users List' > Subject: RE: Ant task > > Check

RE: Ant task

2006-05-19 Thread Anderson, Rob (Global Trade)
t Users List > Subject: Re: Ant task > > Thanks Rob: > > I actaully just found the subant task in the manual. The > only problem I am having with it is that the manual says that > the basedir property is not supposed to get set when using > the "antfile" attib

Re: Ant task

2006-05-19 Thread Adam Stroud
Thanks Rob: I actaully just found the subant task in the manual. The only problem I am having with it is that the manual says that the basedir property is not supposed to get set when using the "antfile" attibute of subant. In my builds, it seems that basedir is being set to the dir that the

Re: Ant task

2006-05-19 Thread Scot P. Floess
Excellent...I've never used subant...and quite honestly I overlooked it :) Rob - you are always full of great answers :) Anderson, Rob (Global Trade) wrote: The task has a failonerror attribute that, when set to false, should continue when there is an error in the subproject. See the manual pa

RE: Ant task

2006-05-19 Thread Anderson, Rob (Global Trade)
The task has a failonerror attribute that, when set to false, should continue when there is an error in the subproject. See the manual page for more details. http://ant.apache.org/manual/CoreTasks/subant.html -Rob A > -Original Message- > From: Adam Stroud [mailto:[EMAIL PROTECTED] > Se

Re: Ant task

2006-05-19 Thread Scot P. Floess
Adam: Not sure if this is the answer you are looking for or not...but "off the top of my head" one thing you -could- use is ant contribs task. You can wrap your calls in try/catches... Not sure about stock Ant how one would accomplish that... Scot Adam Stroud wrote: All: I have a quick

Re: Ant Task for Creating weblogic domain

2006-05-01 Thread Vishal Vishnoi
Look at http://edocs.bea.com/wls/docs81/admin_ref/ant_tasks.html --V Petar Tahchiev wrote: On 28/04/06, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote: If there is such a task, it is not part of the standard Ant distribution. Check with BEA or search the weblogic documentation. -Rob

Re: Ant Task for Creating weblogic domain

2006-04-29 Thread Petar Tahchiev
On 28/04/06, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote: If there is such a task, it is not part of the standard Ant distribution. Check with BEA or search the weblogic documentation. -Rob A > -Original Message- > From: Row M, Vishal [mailto:[EMAIL PROTECTED] > Sent: Thursda

RE: Ant Task for Creating weblogic domain

2006-04-28 Thread Anderson, Rob (Global Trade)
If there is such a task, it is not part of the standard Ant distribution. Check with BEA or search the weblogic documentation. -Rob A > -Original Message- > From: Row M, Vishal [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 27, 2006 11:17 PM > To: Ant Users List > Subject: Ant Task fo

Re: Ant task

2006-04-28 Thread ankur1 . a
no sayed...it's an open sourceppl keep on adding tasks...refer sourceforge/ant-contrib . all tasks which are shipped in ant.jar by apache can be accessed at : http://ant.apache.org/manual/tasksoverview.html cheers!! Ankur Agarwal Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED]

RE: Ant task

2006-04-28 Thread Steve
> -Original Message- > From: Irfan J Sayed [mailto:[EMAIL PROTECTED] > Sent: Friday, 28 April 2006 4:10 PM > To: user@ant.apache.org > Subject: Ant task > > Hi, > > What all the no. of task that we can do with the Ant . I mean > is there any command / link which shows the listing of

Re: Ant task to replace special characters

2006-03-28 Thread Ivan \"Rambius\" Ivanov
Hello, There is task in ant-contrib that takes a "string" (or a value of a property) as input and (re)set a property with the new value. I personally do not use it. Instead, I use the following trick (the reg exp in it is untested): ${foo.bar} Regards Ivan --- Thod Nguyen <[EMAIL PRO

Re: Ant task to replace special characters

2006-03-28 Thread Jeffrey E Care
Pyxis Lead Release Engineer Thod Nguyen <[EMAIL PROTECTED]> 03/28/2006 04:17 PM Please respond to "Ant Users List" To Ant Users List cc Subject Re: Ant task to replace special characters Thanks Ivan. it seems that both or requires a file as an inpu

Re: Ant task to replace special characters

2006-03-28 Thread Thod Nguyen
Thanks Ivan. it seems that both or requires a file as an input. In my case, i just want to format the string with some replaceable token(s). --- "Ivan \"Rambius\" Ivanov" <[EMAIL PROTECTED]> wrote: > Hello, > > Perhaps you need or tasks. > > Regards > Ivan > > --- Thod Nguyen <[EMAI

Re: Ant task to replace special characters

2006-03-28 Thread Ivan \"Rambius\" Ivanov
Hello, Perhaps you need or tasks. Regards Ivan --- Thod Nguyen <[EMAIL PROTECTED]> wrote: > is there a simple way in build.xml to replace for > instance, a filename foo.bar(1).memory with > foo.bar_1.memory using one of the existing Ant task > ? > > Thanks > T.N. > > ___

RE: Ant task to handle HTTPResponse status code (HELP!!!)

2006-03-24 Thread Alan Andrade
Loughran [mailto:[EMAIL PROTECTED] Sent: Friday, March 24, 2006 1:34 AM To: Ant Users List Subject: Re: Ant task to handle HTTPResponse status code (HELP!!!) Ivan "Rambius" Ivanov wrote: > Hello, > > I suppose you will need a fully fledged http client > like Jakarta Commons Http

Re: Ant task to handle HTTPResponse status code (HELP!!!)

2006-03-24 Thread Steve Loughran
Ivan "Rambius" Ivanov wrote: Hello, I suppose you will need a fully fledged http client like Jakarta Commons HttpClient[1]. Sending any http request using its API is pretty easy. Then you can encapsulated the request and the status handling in a task/scriptdef. I noticed once a conversation in

Re: Ant task to handle HTTPResponse status code (HELP!!!)

2006-03-23 Thread Ivan \"Rambius\" Ivanov
Hello, I suppose you will need a fully fledged http client like Jakarta Commons HttpClient[1]. Sending any http request using its API is pretty easy. Then you can encapsulated the request and the status handling in a task/scriptdef. I noticed once a conversation in ant-user or ant-dev about http

Re: Ant task equivalent to the "ln" unix command

2006-02-16 Thread Matt Benson
If I were going to do this (and I probably wouldn't), I would DL www.sysinternals.com's JUNCTION utility and conditionally create a macro to call or based on the OS. That takes care of Windows and Unix-compatible environments... can't say about the rest. But I would expect this approach to nece

Re: Ant task equivalent to the "ln" unix command

2006-02-16 Thread ar
Thanks, I would prefer a solution working on all operating systems like "copy" or "delete" do. Le Thu, 16 Feb 2006 15:48:48 +0100, glenn opdycke-hansen <[EMAIL PROTECTED]> a écrit: I would use the exec task Executes a system command. When the os attribute is specified, the comm

Re: Ant task equivalent to the "ln" unix command

2006-02-16 Thread Matt Benson
There is the task, which only works on Unix systems (IIRC it works to a slight degree on Cygwin but I wouldn't recommend it). calls the ln executable, but be sure to read the manual and experiment thoroughly if you choose to use this task as its behavior is a little special and seems to give use

Re: Ant task equivalent to the "ln" unix command

2006-02-16 Thread glenn opdycke-hansen
I would use the exec task Executes a system command. When the os attribute is specified, the command is only executed when Ant is run on one of the specified operating systems. http://ant.apache.org/manual/CoreTasks/exec.html On 2/16/06, ar <[EMAIL PROTECTED]> wrote: > > Hi all, > > Do

Re: Ant task : how to avoid re-executing the same task

2006-02-05 Thread glenn opdycke-hansen
If I understand correctly, I would set a property from the import target and then add an "unless" clause to the target. If the target is executed once, then it would not be executed again. This approach may not work if the script is using "antcall" tasks, though. I would search for "antcall" and

Re: ant task fails

2005-11-23 Thread Ivan Ivanov
Hello, Ant-Contrib[1] has task: In this way "mail" target will always be executed. However, this is not very "Ant-ish". What is the aim of "mail" target. Does it sends the results of the build process? If so, you can use MailLogger[2] instead your "mail" target. See

Re: ant task and Ant options

2005-07-11 Thread Jeffrey E Care
One of the gurus may have a better solution, but I think that you're going to have to use the or tasks to fork a new VM for Ant in order to pass those options. JEC -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.op

Re: Ant task for remote ant execution

2005-06-30 Thread Steve Simon Joseph Fernandez
//sourceforge.net/mailarchive/forum.php?thread_id=7433601&forum_id=2912 > > -- Larry > > > -Original Message- > > From: Steve Simon Joseph Fernandez [mailto:[EMAIL PROTECTED] > > Sent: Thursday, June 30, 2005 8:05 AM > > To: Ant Users L

RE: Ant task for remote ant execution

2005-06-30 Thread Shatzer, Larry
See http://sourceforge.net/mailarchive/forum.php?thread_id=7433601&forum_id=2912 -- Larry > -Original Message- > From: Steve Simon Joseph Fernandez [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 30, 2005 8:05 AM > To: Ant Users List > Subject: Re: Ant task for r

Re: Ant task for remote ant execution

2005-06-30 Thread Steve Simon Joseph Fernandez
AntServer & RemoteAnt is what I was looking for. But tell me, why isn't there any auth? IMHO, this is going to leave a port wide open. Steve. On 6/30/05, Kristian Perkins <[EMAIL PROTECTED]> wrote: > check out both of: > 1. ant-contribs AntServer / RemoteAnt tasks: > http://ant-contrib.source

Re: Ant task for remote ant execution

2005-06-30 Thread Kristian Perkins
check out both of: 1. ant-contribs AntServer / RemoteAnt tasks: http://ant-contrib.sourceforge.net/tasks/tasks/server_tasks.html 2. anthill: http://www.urbancode.com/projects/anthill/default.jsp you should be able to tailor your builds to one of these solutions Steve Simon Joseph Fernandez wrot

RE: Ant task for remote ant execution

2005-06-30 Thread Shatzer, Larry
Have you looked at ant-contrib, http://ant-contrib.sourceforge.net/tasks/tasks/server_tasks.html ? -- Larry > -Original Message- > From: Steve Simon Joseph Fernandez [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 30, 2005 12:57 AM > To: Ant User List > Subject: Ant task for remote ant

Re: Ant task to clean up files not in svn

2005-06-09 Thread Paul Elschot
On Thursday 09 June 2005 20:38, Adam Messinger wrote: > I was wondering if anyone out there had a task which deleted all > files not under svn's control? The basic thing is that parts of our > build generate .java files back into the source tree (I know it is > bad practice, but I don't cont

RE: ANT Task

2005-06-09 Thread S I
Great Rob. Thank you very much. Your explanation made it very clear. Thanks again :) Original Message Follows From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant Users List" Subject: RE: ANT Task Date:

RE: ANT Task

2005-06-09 Thread Anderson, Rob (Global Trade)
Comments below... > -Original Message- > From: S I [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 08, 2005 4:30 PM > To: user@ant.apache.org > Subject: Re: ANT Task > > > Here's then another question: > > Normally, I tag cvs repository as soon a

Re: ANT Task

2005-06-08 Thread Alexey N. Solofnenko
If I am not mistaken, you tag file revisions that are currently loaded in your sand box. If you used ClearCase with dynamic view the files could be changed on a fly, but with CVS it will not happen. - Alexey. S I wrote: Here's then another question: Normally, I tag cvs repository as soon as

Re: ANT Task

2005-06-08 Thread S I
ags only or tags the live repository at its current state? Which is the case? Does it matter when a buildmaster tags their project? Original Message Follows From: "Alexey N. Solofnenko" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: Ant Users List Subject:

Re: ANT Task

2005-06-08 Thread Alexey N. Solofnenko
I do not think anybody really cares if you skip few build numbers, but CVS tagging can be expensive, so it is better to do it after your build successfully finishes. - Alexey. S I wrote: Hi I have my ant script to tag our cvs repository projects with the build# recursively after modifying c

RE: Ant Task: < Zip>

2005-06-08 Thread S I
Thank you. I'm still running version 1.6.2. I guess I'll upgrade. Thanks again :) Original Message Follows From: "David Resnick" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "'Ant Users List'" Subject: RE: Ant Task: <

RE: Ant Task: < Zip>

2005-06-07 Thread David Resnick
This was fixed in versions 1.6.3 and later. -Original Message- From: S I [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 06:56 To: user@ant.apache.org Subject: Ant Task: < Zip> Hi I've created some empty sub-directories (/output; nested 4 levels down) that are essential to the

Re: Ant Task: sshexec

2005-05-27 Thread Matt Benson
--- S I <[EMAIL PROTECTED]> wrote: > :) I figured as much. :) On a more serious note, we're always interested in any contributions that might make Ant's documentation better. Even when it deprives us of the immense satisfaction that can only come from producing an unintelligible user manual. -

RE: Ant Task: sshexec

2005-05-27 Thread S I
o people? We DON'T NEED you to point out the obvious and we come here for HELP NOT FIGHT. Steven Original Message Follows From: "Conelly, Luis (GE Energy, Non GE, GENE)" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: Ant Users List Subject: RE: Ant T

Re: Ant Task: sshexec

2005-05-27 Thread S I
:) I figured as much. :) Original Message Follows From: Peter Reilly <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: Ant Users List Subject: Re: Ant Task: sshexec Date: Fri, 27 May 2005 09:09:44 +0100 MIME-Version: 1.0 Received: from mail.apache.org ([209.237.227.1

RE: Ant Task: sshexec

2005-05-27 Thread Conelly, Luis (GE Energy, Non GE, GENE)
>I wish those of you who are more knowledgeable than the rest >of us NEWBIES, >had more patient and explained things more thoroughly, so some >day we can be >like you guys to pass it on and to help others. :) Not being an Ant Guru, I just have something to say: http://jakarta.apache.org/sit

Re: Ant Task: sshexec

2005-05-27 Thread Peter Reilly
S I wrote: And speaking of Apache and its contributors...why're the documentations (Tasks or otherwise) written so cryptic and so hard? Just to torment the rest of us? Yes, we take great pleasure in writing crypic documentation. Peter

RE: Ant Task: sshexec

2005-05-26 Thread S I
help others. :) Thank you Steven p.s. I just Googled and guess what? Sourceforge.net's download section is down. It figures, it could only happen to me! :) Original Message Follows From: Jeffrey E Care <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "

RE: Ant Task: sshexec

2005-05-26 Thread Jeffrey E Care
Perhaps a simple Google search for antcontrib on your part would be in order here? -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis "S I" <[EMAIL PROTECTED]> wrote on 05/26/2005 10:

RE: Ant Task: sshexec

2005-05-26 Thread S I
"Ant Users List" To: Ant Users List Subject: RE: Ant Task: sshexec Date: Thu, 26 May 2005 14:21:08 -0700 (PDT) MIME-Version: 1.0 Received: from mail.apache.org ([209.237.227.199]) by MC8-F18.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 26 May 2005 14:21:19 -0700 Received: (qma

RE: Ant Task: sshexec

2005-05-26 Thread Ninju Bohra
mcat, > deploy, and restart tomcat. > > This is kiddy-coding and not very elegant and I'm > not very happy with how > I've run into dead-end walls at every turn. Any > ideas, solutions? Thanks a > million. > > Original Message Follows > From: "A

RE: Ant Task: sshexec

2005-05-26 Thread Anderson, Rob (Global Trade)
> -Original Message- > From: S I [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 26, 2005 12:12 PM > To: user@ant.apache.org > Subject: RE: Ant Task: sshexec > > > Thank you all for responding to my post. > > Unfortunately, i did not find any Ant task or unix utilit

  1   2   >