RE: [ANT 1.6.5] performance issue

2005-09-08 Thread Dick, Brian E.
Has this been reported in Bugzilla? -Original Message- From: BOUSQUET Jeremie [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 07, 2005 1:29 PM To: Ant Users List Subject: [ANT 1.6.5] performance issue Hello, I had some performance issues using task, and I found following post fr

Re: How do I get 's output back into my ant script?

2005-09-08 Thread S I
Ok, got it. Thanks. Original Message Follows From: Guru Balse <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: Ant Users List Subject: Re: How do I get 's output back into my ant script? Date: Thu, 08 Sep 2005 10:38:16 -0700 MIME-Version: 1.0 Received: from mail.apache.org ([209.237

RE: How do I get 's output back into my ant script?

2005-09-08 Thread RADEMAKERS Tanguy
i thought this is what the outputproperty attribute of the exec task was for? /t >-Original Message- >From: Guru Balse [mailto:[EMAIL PROTECTED] >Sent: Thursday, September 08, 2005 7:38 PM >To: Ant Users List >Subject: Re: How do I get 's output back into my ant script? > >S I: > >I am

Re: How do I get 's output back into my ant script?

2005-09-08 Thread Guru Balse
S I: I am sure there are many solutions. The first one that comes to my mind is to write the necessary string(s) out to a file (in the perl script) and then load the string(s) to a property in my ant script(s) using S I wrote: > > Hi > > I'm not quiet sure how to do this? I wrote a perl sc

How do I get 's output back into my ant script?

2005-09-08 Thread S I
Hi I'm not quiet sure how to do this? I wrote a perl script to parse out the revision number out of SVN logs. I call this perl script from my Ant build.xml by using like so output="?" /> I have no clue how to get the perl scripts final result back into my ant script. Am I on the righ

Re: Force javac to overwrite class files?

2005-09-08 Thread Troy Daniels
At 05:11 AM 9/8/2005, Richard Gaywood wrote: Hi list! I'm modifiying a slightly complex existing[1] build script for our J2EE web services app. I currently have two compile targets which compile class files with or without Emma modification. [aside for those who haven't seen it: Emma is a code

RE: ant script autodocumentation

2005-09-08 Thread jfuller
"Bill Rich" <[EMAIL PROTECTED]> wrote .. > I have an xsl file that will format the build file for you and display > it in > a browser. It works on both IE and Firefox. I have had some problems with > it > on Opera. I don't have it with me at the moment but if you want it please note that Opera doe

RE: ant script autodocumentation

2005-09-08 Thread Bill Rich
I have an xsl file that will format the build file for you and display it in a browser. It works on both IE and Firefox. I have had some problems with it on Opera. I don't have it with me at the moment but if you want it please send me an email offline and I will send it to you. HTH Bill Bill Rich

Re: Are there ANT tasks for SFTP?

2005-09-08 Thread jstallard
Thanks, Fintan, however, scp is a wrapper for sshexec for file transfers. according to the library vendor JSch (JSch.jar), 'SSH File Transfer Protocol version 4' is listed as a to do. I'm not sure what the advantage of sftp is over ftp over ssh. We may be able to get by with scp. James On "Fi

RE: Are there ANT tasks for SFTP?

2005-09-08 Thread Fintan Hynes
I think will do the job -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 08 September 2005 15:30 To: Ant Users List; Ant Users List Subject: Are there ANT tasks for SFTP? Hello ANT users, I'm building a ANT deploy script that needs to use SFTP. I see FTP a

Are there ANT tasks for SFTP?

2005-09-08 Thread jstallard
Hello ANT users, I'm building a ANT deploy script that needs to use SFTP. I see FTP and SshExec in the optional tasks, but nothing on SFTP. Does anyone know if an sftp task has been attempted or requested? Thanks, James Stallard --

Re: copy files problem

2005-09-08 Thread Matt Benson
I cannot reproduce this behavior on Linux or Solaris. What we need is an example file structure that will reproduce this, and since I don't think we are looking at a bug, probably the easiest thing for you to do is write an Ant buildfile that will CREATE the entire directory structure for this sce

Re: how to copy only if dest file does not exist

2005-09-08 Thread Matt Benson
--- Jason Novotny <[EMAIL PROTECTED]> wrote: [SNIP] > I want to copy a file from source to dest ONLY > if the dest file does > not exist. Use the selector. -Matt __ Click here to donate to the Hurricane Katrina

Re: copy files problem

2005-09-08 Thread Glen Mitchell
Bhadra, I'm sorry I meant to say in my initial post that I had tried this also but it didn't solve my problem. This work on Windows but not on Unix both. I've tried a number of includes such as etc Bhadra, Jatin wrote: Glen Try this format as per ANT manual. If you want to include all the

RE: copy files problem

2005-09-08 Thread Bhadra, Jatin
Glen Try this format as per ANT manual. If you want to include all the file in the source dir then no need to have include tag. Jatin Bhadra -Original Message- From: Glen Mitchell [mailto:[EMAIL PROTECTED] Sent: 08 September 2005 13:19 To: user@ant.apache.org Subject: copy files p

copy files problem

2005-09-08 Thread Glen Mitchell
Hi, I currently have the following xml in my build file for copy files from one directory to another :- Within the ${coverage.html.dir} directory are html files which are named in the following format abc.def.ghi.

Re: how to copy only if dest file does not exist

2005-09-08 Thread Andrew Goktepe
You could use the task to determine whether or not the file already exists. http://ant.apache.org/manual/CoreTasks/available.html -Andrew On 9/8/05, Jason Novotny <[EMAIL PROTECTED]> wrote: > > > Hi, > > I want to copy a file from source to dest ONLY if the dest file does > not exist. It s

Re: javac debug option

2005-09-08 Thread Barry White
Is your problem that you have set it to true/on and it does not seem to be having any effect? If so have you specified debuglevel also? I was just having a quick look at the docs for javac task: "If set to true, the value of the debuglevel attribute determines the command line argument." Bar

Re: javac debug option

2005-09-08 Thread Conor MacNeill
Eduardo Yáñez Parareda wrote: >>>Who says the truth? >>> >> >>Both :) >>Boolean attributes can have values like 'true', 'on', ... they mean the same > > > Is it possible that in older versions of ant was there a bug that > using 'on' instead of 'true' > didn't work fine? > I doubt it. What vers

Re: javac debug option

2005-09-08 Thread Eduardo Yáñez Parareda
> >Who says the truth? > > > Both :) > Boolean attributes can have values like 'true', 'on', ... they mean the same Is it possible that in older versions of ant was there a bug that using 'on' instead of 'true' didn't work fine?

how to copy only if dest file does not exist

2005-09-08 Thread Jason Novotny
Hi, I want to copy a file from source to dest ONLY if the dest file does not exist. It seems the overwrite attribute is not quite appropriate in this case since it's possible for the source file to be newer. But even if it is newer I don't want it being copied over as long as the dest fil

Re: javac debug option

2005-09-08 Thread Nicolas Vervelle
Eduardo Yáñez Parareda wrote: Hi all, Which is the value I have to assign to 'debug' option of javac task? Ant documentation of Core tasks (http://ant.apache.org/manual/index.html) says that debug may be assigned to 'true', but in the examples it is assigned to 'on'. Who says the truth? Bo

javac debug option

2005-09-08 Thread Eduardo Yáñez Parareda
Hi all, Which is the value I have to assign to 'debug' option of javac task? Ant documentation of Core tasks (http://ant.apache.org/manual/index.html) says that debug may be assigned to 'true', but in the examples it is assigned to 'on'. Who says the truth? -- / Eduardo Yáñez Parareda / --

Re: Force javac to overwrite class files?

2005-09-08 Thread Nicolas Vervelle
Hi, Why don't you simply delete your .class files before the second call to javac ? Richard Gaywood wrote: Hi list! I'm modifiying a slightly complex existing[1] build script for our J2EE web services app. I currently have two compile targets which compile class files with or without Emma

Force javac to overwrite class files?

2005-09-08 Thread Richard Gaywood
Hi list! I'm modifiying a slightly complex existing[1] build script for our J2EE web services app. I currently have two compile targets which compile class files with or without Emma modification. [aside for those who haven't seen it: Emma is a code coverage calculation tool that works by modi

Re: No Apache Ant Support for Subversion? Oh man :(

2005-09-08 Thread James Abley
On Wed, 2005-09-07 at 22:22, S I wrote: > I'm now looking at not sure how to go about it and I do realize Ant > is not a script lanugage however, I'm not sure how to go about my problem > either except resorting to a scripting language. I will briefly state my > problem and please tell me if