Re: scp problem: received directory without -r [SOLVED]

2005-08-01 Thread Nicolas Vervelle
Hi, Anderson, Rob (Global Trade) wrote: The SSH Server version looks OK. Perhaps there is a directory in your fileset where previously there were only files. Using a zip file is probably the best solution. With no answer from sourceforge support team (holidays ...), I used the zip solution.

AW: echo foo.txt, like "cat foo.txt"

2005-08-01 Thread Jan.Materne
or Personally I use a macrodef´d version: Jan p.s. maybe I should post my predefined snippets somewhere :) >-Ursprüngliche Nachricht- >Von: THUFIR HAWAT [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 1. August 2005

AW: tool for XML editing ????

2005-08-01 Thread Jan.Materne
Eclipse itself knows Ant buildfiles. Same for NetBeans and I think IDEA. - support while writing - support for run targets - maybe debugging Jan >-Ursprüngliche Nachricht- >Von: W.E.Taylor [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 2. August 2005 03:40 >An: Ant Users List >Betreff

AW: Please add sqlunit project in the external page

2005-08-01 Thread Jan.Materne
submitted argh - I had overseen your diff ... ok - I have to do rework on the contact link and a little bit on the text. will do it in a few hours Jan >-Ursprüngliche Nachricht- >Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] >Gesendet: Sonntag, 31. Juli 2005 10:48 >An: user@ant.apache.o

Re: tool for XML editing ????

2005-08-01 Thread W.E.Taylor
The webtools plugin for Eclipse has a nice xml editor. hiren patel wrote: hi, As XML is not easily editable are there any tool availble to write,modify and debug it easily? or do you know any ANT related tools which makes GNU to ANT migration , maintainance easy? thanks, hiren p

tool for XML editing ????

2005-08-01 Thread hiren patel
hi, As XML is not easily editable are there any tool availble to write,modify and debug it easily? or do you know any ANT related tools which makes GNU to ANT migration , maintainance easy? thanks, hiren patel - Start your day with

Error adding sqlunit project in the external page

2005-08-01 Thread Ivan Ivanov
Dear Colleagues, I just checked[1] and saw that SQLUnit project is added as an external project, to which I am very grateful. However, I noticed that the Contact information given there is not the one I intended to do. Currently, Contact information contains the name of Pavel Vlasov and I immedia

CC task in ANT

2005-08-01 Thread hiren patel
Hi, I want to compile .c file using ant. I have added cpptasks.jar and ant-contrib.jar from lib directory. I dont know how to use cc task in build.xml. can anyody provide sample build.xml that compiles prog.c and header.h to an exe? Thanks, hiren patel

Re: echo foo.txt, like "cat foo.txt"

2005-08-01 Thread THUFIR HAWAT
On 8/1/05, Burgess, Benjamin <[EMAIL PROTECTED]> wrote: > To print a file to the screen you could do this: > > > > > Ben That's great, Ben, really appreciate that :) -Thufir - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Ant file dependency

2005-08-01 Thread Ninju Bohra
Take a look at the task and use it to set a property, say idl.has.changed, to true. Then create a seperate target, called invoke.idl.compiler, which contains the task to invoke the idlcompiler. Use the if="idl.has.changed" attribute of the target so that the will only be run if the idl.ha

RE: echo foo.txt, like "cat foo.txt"

2005-08-01 Thread Burgess, Benjamin
To print a file to the screen you could do this: Ben -Original Message- From: Andrew Goktepe [mailto:[EMAIL PROTECTED] Sent: Saturday, July 30, 2005 7:49 PM To: Ant Users List; THUFIR HAWAT Subject: Re: echo foo.txt, like "cat foo.txt" Try it without the trailing slash in the dir att

Re: Having files only in zip

2005-08-01 Thread Gisbert Amm
This might probably help: "if nothing else works, the files to a temp dir and zip them from there." http://www.ant-tasks.com/msg/23320.html Regards, Gisbert Amm Michael Owen wrote: Hi, I'm using the ant script: includes="${zip.includes}" /> My problem is I want the files included

Having files only in zip

2005-08-01 Thread Michael Owen
Hi, I'm using the ant script: includes="${zip.includes}" /> My problem is I want the files included but not in the folders they are in, however, I need ${zip.includes} to be a list of files to have in the zip file, and therefore separate fileset's are not an option. Any ideas? Thanks, M

Ant file dependency

2005-08-01 Thread Alexey Kakunin
Hello all! I'm quite new in ant, actuallyI'm migrating from make. Seems it is really great tool, but I have some (probably very stupid) question. For example, I have a target for compiling something by using idl-compiler. To do it I should use exec task to make SomeFile.h from SomeFile.idl.

RE: Calling ANT from a Servlet

2005-08-01 Thread Hardacker, Andrew
When a method is flagged as deprecated, the Javadoc should specify the new, preferred method, so that's always the best place to look for a solution. In this case the Javadoc recommends using the non-static method "parse". Something like this I'd imagine (completely untested): ProjectHelper ph =

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-08-01 Thread Ninju Bohra
If you really wanted you could "break" up one big build.xml into a set of smaller .xml files and use the task to bring them all back together at run-time... "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: Not really... each target performs a specific task, and the one main target antcalls all t

Re: Task to delete CVS directories

2005-08-01 Thread Frank W. Zammetti
That was exactly the reason, good intuition! :) I have to be honest and say I didn't know what the CVS export function was for (I haven't been using CVS for all that long frankly). It sounds like that is exactly what I should be using, so no need to persue my "issue" any further, except as a curi

Re: concealing passwords

2005-08-01 Thread Jeffrey E Care
The problem with using for passwords is then you need a person actually sitting there watching for the prompt. IIRC is smart enough to see if the property is already bound, but that leads us back to the original problem of how to bind that property in the first place. -- Jeffrey E. Care ([EM

Re: AW: concealing passwords

2005-08-01 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Then you need a system with a graphical user interface. E.g. gump has not ... CVS_HEAD skips the prompt if the property is set; I dont know if the 1.6.x version does. -steve - To unsubscribe, e-m

AW: concealing passwords

2005-08-01 Thread Jan.Materne
Then you need a system with a graphical user interface. E.g. gump has not ... Jan >-Ursprüngliche Nachricht- >Von: Patrick Martin [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 1. August 2005 13:51 >An: Ant Users List >Betreff: Re: concealing passwords > >Hello, > >You can also get the u

Re: concealing passwords

2005-08-01 Thread Patrick Martin
Hello, You can also get the user input via an antform [1] UI which can star passwords: Not tested, but something like that should work. [1] http://antforms.sourceforge.net/ On 8/1/05, Steve Loughran <[EMAIL PROTECTED]> wrote: > Roedy Green wrote: > > I notice that in all the scripts I hav

Re: concealing passwords

2005-08-01 Thread Steve Loughran
Roedy Green wrote: I notice that in all the scripts I have seen people just insert their passwords as plain text in the scripts, e.g. for jarsigning. I don't want to do that since I will be distributing the scripts along with source code. It seems there are several ways you could handle it:

AW: Ant file dependency

2005-08-01 Thread Jan.Materne
With and you only handle one file. You´ll do that pattern for optional things, e.g. testing or reports. But if you want to catch multiple files at once the selector [1] is your friend. * You create a fileset selecting all idl files which are newer than its h-files. http://ant.apa

Re: Ant file dependency

2005-08-01 Thread Nicolas Vervelle
Hi, check to set a property, and use unless in the target ;) Hope this helps, Nicolas Alexey Kakunin wrote: Hello all! I'm quite new in ant, actuallyI'm migrating from make. Seems it is really great tool, but I have some (probably very stupid) question. For example, I have a target for c

Ant file dependency

2005-08-01 Thread Alexey Kakunin
Hello all! I'm quite new in ant, actuallyI'm migrating from make. Seems it is really great tool, but I have some (probably very stupid) question. For example, I have a target for compiling something by using idl-compiler. To do it I should use exec task to make SomeFile.h from SomeFile.idl.

Re: Unable to delete jar file in Windows

2005-08-01 Thread Leon Pu
Hi all, I think I found the reason. http://issues.apache.org/bugzilla/show_bug.cgi?id=29066 Have a nice day. Best regards, Leon --- Leon Pu <[EMAIL PROTECTED]> wrote: > Hi all, > > I met a strage problem that I cannot delete jar file in Windows > platform with delete task. > > [ant-script]

Unable to delete jar file in Windows

2005-08-01 Thread Leon Pu
Hi all, I met a strage problem that I cannot delete jar file in Windows platform with delete task. [ant-script] [ant-script] I can delete jar by clicking delete button in keyboard and dos command, but it doesn't work in ant build. Could anybody help me to solve this problem? Best regards, Le

Re: Task to delete CVS directories

2005-08-01 Thread Gisbert Amm
Out of curiosity: Why do you need to delete all the CVS directories? If the reason is a release build of any kind it's probably much easier to do simply a fresh cvs export in some subdirectory. BTW: CVS directories aren't read-only. Regards, Gisbert Amm Frank W. Zammetti wrote: Still not wor