Is there a daily digest of this ANT mailing list ?

2004-10-22 Thread Thomas Stein
I don't want to get each posting to this mailing list as a single email but as a daily digest (summary). How do I change the delivery settings for this mailing list. Is there a digest option actually? Thomas -- ___ Sign-up for Ads Free at M

RE: sshexec errors

2004-10-22 Thread Anderson, Rob (Global Trade)
Are you using OpenSSH on the command line? -Rob A > -Original Message- > From: EJ Ciramella [mailto:[EMAIL PROTECTED] > Sent: Friday, October 22, 2004 12:17 PM > To: Ant Users List; Ant Users List > Subject: RE: sshexec errors > > > with -verbose -debug, I can see it's using the correct

RE: Improving Tasks

2004-10-22 Thread Dale Anson
Yes, the article I mentioned references the Sun article and makes use of that technique. There is another issue not mentioned in either article about this technique -- most shells have a command history, so an up arrow will show you previous entries. While the Sun technique masks the password as

Re: Replace test in file

2004-10-22 Thread Travis Quarterman
Thanks! On Fri, 22 Oct 2004 13:54:33 -0700, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote: > You would probably want to use the task. When I have environment specific > configuration stuff, I usually create a properties file for each environment... > > dev.properties > test.properties

RE: Replace test in file

2004-10-22 Thread Anderson, Rob (Global Trade)
You would probably want to use the task. When I have environment specific configuration stuff, I usually create a properties file for each environment... dev.properties test.properties prod.properties Then I have my build file load the properties with the following... Then I run ant like th

Replace test in file

2004-10-22 Thread Travis Quarterman
What is the best way of change the name in a xml file or any file for that mattter? Between deployments there is a need to chage the my web-uri name in my application.xml. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

RE: Improving Tasks

2004-10-22 Thread Michael Sunde
Sun has an article on how to do password masking in java. The command line version uses a second thread to mask the characters being entered. http://java.sun.com/developer/technicalArticles/Security/pwordmask/ Michael -Original Message- From: Dale Anson [mailto:[EMAIL PROTECTED] Sent: F

RE: sshexec errors

2004-10-22 Thread EJ Ciramella
with -verbose -debug, I can see it's using the correct known-hosts file. -Original Message- From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] Sent: Fri 10/22/2004 12:19 PM To: Ant Users List Cc: Subject:RE: sshexec errors Perhaps the command line ssh and the

RE: File name to a string

2004-10-22 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: > Sorry if this seems very basic, but I am brand new > to ANT. What I am trying to do is have a task read a > directory and create an output text file with all > the names that are in the directory. Is this > possible. No problem, Craig. All you gotta do is use a to

RE: Improving Tasks

2004-10-22 Thread Dale Anson
Probably not widely known is that Ant-Contrib has a GUI input task, see http://cvs.sourceforge.net/viewcvs.py/ant-contrib/ant-contrib/src/net/sf/antcontrib/input/ GUIInputHandler. It does not do password masking, however. This particular input handler is copy and paste from the gui input handler u

RE: Updating "Product version" on each release

2004-10-22 Thread Jeff Davidson
Doh! Never mind, I just found the task. *sigh* -Original Message- From: Jeff Davidson [mailto:[EMAIL PROTECTED] Sent: October 22, 2004 10:52 To: 'Ant Users List' Subject: Updating "Product version" on each release Ant-users, I'm quickly approaching a problem I don't know how to sol

Updating "Product version" on each release

2004-10-22 Thread Jeff Davidson
Ant-users, I'm quickly approaching a problem I don't know how to solve. Here's the background: I've got Cruisecontrol monitoring the CVS tree for my project, launching a delegating Ant file, which in turn launches the individual build files for each binary that goes into the application (Delphi

RE: File name to a string

2004-10-22 Thread craig_e_davis
Sorry if this seems very basic, but I am brand new to ANT. What I am trying to do is have a task read a directory and create an output text file with all the names that are in the directory. Is this possible. I know how to use the concat to display the contents of the file but not sure how to ju

RE: Improving Tasks

2004-10-22 Thread Anderson, Rob (Global Trade)
The source for this task is not provided. :( -Rob A > -Original Message- > From: Dick, Brian E. [mailto:[EMAIL PROTECTED] > Sent: Friday, October 22, 2004 9:30 AM > To: Ant Users List > Subject: RE: Improving Tasks > > > Look at > > http://homepage.ntlworld.com/wayne_grant/ant.html >

Re: How to replace a token with a multiline string with property substritution?

2004-10-22 Thread Alexey N. Solofnenko
Am I crazy, is it a feature, or I need to go into the sources and produce a patch? - Alexey. Alexey N. Solofnenko wrote: It looks like I can use , but it does not seem to expand properties. What am I doing wrong? - Alexey. - To

RE: Improving Tasks

2004-10-22 Thread Anderson, Rob (Global Trade)
> I'm not sure the committers of the task would approve the > task if it didn't > work on all of the platforms supporting Ant. Isn't one of > Ant's key features > the idea that tasks work on all of the supported platforms? > > Rhino Just because a task does not get added to the project doesn't

Re: Improving Tasks

2004-10-22 Thread Rhino
I'm not sure the committers of the task would approve the task if it didn't work on all of the platforms supporting Ant. Isn't one of Ant's key features the idea that tasks work on all of the supported platforms? Rhino - Original Message - From: "Anderson, Rob (Global Trade)" <[EMAIL PRO

RE: Improving Tasks

2004-10-22 Thread Dick, Brian E.
Look at http://homepage.ntlworld.com/wayne_grant/ant.html -Original Message- From: Erskine, Chris [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 12:26 PM To: Ant Users List Subject: RE: Improving Tasks My first guess would be if this could be done using Swing with a popup. Th

RE: Improving Tasks

2004-10-22 Thread Erskine, Chris
My first guess would be if this could be done using Swing with a popup. This would work an most systems - just not the ones where I am running in a terminal window or a background task like cron. Chris Erskine EDS Consulting Services F5-EDS-001 2424 Garden of the Gods Rd Colorado Springs, CO 80

RE: sshexec errors

2004-10-22 Thread Anderson, Rob (Global Trade)
Perhaps the command line ssh and the task are looking at different known_hosts files. Try modifying your tartget as follows... Specifying the known_hosts may correct the problem by pointing Ant to the known_hosts file that you intent to be using. That is the only thing I can thing of

RE: Improving Tasks

2004-10-22 Thread Anderson, Rob (Global Trade)
> > Rhino wrote: > > > > > 1. Provide for a masked input field so that it could be > used to prompt > > > for a password that would remain unreadable to anyone > looking over the > > > users shoulder. (I envision adding a 'mask="true"' > parameter to make > > > that possible with the default for

Re: Way for buildfile to verify that Ant version is 1.5.2 or grea ter ?

2004-10-22 Thread Guru Balse
I agree about the "not knowing which targets are called" part - that would need a klunky solution, but properties are inherited by default. It would be nice to be able to do a around a ... :-) Dominique Devienne wrote: > > > From: Guru Balse [mailto:[EMAIL PROTECTED] > > > > A simple solu

RE: Way for buildfile to verify that Ant version is 1.5.2 or grea ter ?

2004-10-22 Thread Dominique Devienne
> From: Guru Balse [mailto:[EMAIL PROTECTED] > > A simple solution is to use a "main" ant script which drives the other one > (which does the ) using , so that the "main" script can > detect the ANT version and fail before any taskdefs are loaded via the > second script. Not really. You can't kno

Re: Way for buildfile to verify that Ant version is 1.5.2 or grea ter ?

2004-10-22 Thread Guru Balse
A simple solution is to use a "main" ant script which drives the other one (which does the ) using , so that the "main" script can detect the ANT version and fail before any taskdefs are loaded via the second script. Dominique Devienne wrote: > > > From: Stefan Bodewig [mailto:[EMAIL PROTECTED]

Re: Improving Tasks

2004-10-22 Thread Rhino
- Original Message - From: "Robert Koberg" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Friday, October 22, 2004 9:40 AM Subject: Re: Improving Tasks > Rhino wrote: > > > 1. Provide for a masked input field so that it could be used to prompt > > for a password that

Re: Improving Tasks

2004-10-22 Thread Stefan Bodewig
On Fri, 22 Oct 2004, Rhino <[EMAIL PROTECTED]> wrote: > if the existing task can display a textfield with two > buttons in a popup dialog, It doesn't. What you see is an InputHandler that does it - probably part of your IDE but not part of Ant. > shouln't I be able to do the same thing with ra

Re: Improving Tasks

2004-10-22 Thread Rhino
Thank you! I hadn't gotten to those pages yet; they look like they are going to be very helpful in understanding the open source development process. Rhino - Original Message - From: "Jeff Davidson" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Friday, October 22, 2

Re: Improving Tasks

2004-10-22 Thread Rhino
- Original Message - From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 22, 2004 9:55 AM Subject: Re: Improving Tasks > On Fri, 22 Oct 2004, Rhino <[EMAIL PROTECTED]> wrote: > > > I'm starting to get the hang of Ant now and am starting to think > >

Re: Improving Tasks

2004-10-22 Thread Rhino
Jan, Your entire reply was very useful but I have a followup question re Question 2: if the existing task can display a textfield with two buttons in a popup dialog, shouln't I be able to do the same thing with radio buttons or drop down lists instead of a textfield? Rhino - Original Messag

Macrodef: default for optional element

2004-10-22 Thread Dick, Brian E.
Is there a way to specify a default for an element in a macrodef? Here is a simplified example. The second invocation above should effectively work like

RE: Way for buildfile to verify that Ant version is 1.5.2 or grea ter ?

2004-10-22 Thread Dominique Devienne
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > On Fri, 22 Oct 2004, Jan Materne <[EMAIL PROTECTED]> wrote: > > A non usual way is checking for the existing of special classes. So > > you 'only' have to check which classes were added in a release and > > you could check for them. > > It might

RE: Improving Tasks

2004-10-22 Thread Rebhan, Gilbert
Hi, -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 3:36 PM To: ant-user Subject: Improving Tasks /* 1. Provide for a masked input field so that it could be used to prompt for a password that would remain unreadable to anyone looking over the u

Re: Improving Tasks

2004-10-22 Thread Stefan Bodewig
On Fri, 22 Oct 2004, Rhino <[EMAIL PROTECTED]> wrote: > I'm starting to get the hang of Ant now and am starting to think > about developing some tasks to increase what it can do. Welcome. > 1. Provide for a masked input field so that it could be used to > prompt for a password that would remain

AW: Improving Tasks

2004-10-22 Thread Jan . Materne
> I'm starting to get the hang of Ant now and am starting to think about developing some tasks to > increase what it can do. I suggest reading these manual entries - http://ant.apache.org/manual/developlist.html - http://ant.apache.org/manual/tutorial-writing-tasks.html - http://cvs.apache.org/v

RE: Improving Tasks

2004-10-22 Thread Jeff Davidson
I think this page should answer all your questions: http://jakarta.apache.org/site/getinvolved.html Check out the "Contribute Code or Documentation Patches" section, in particular. Regards, ~Jeff -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 6

Re: Improving Tasks

2004-10-22 Thread Robert Koberg
Rhino wrote: 1. Provide for a masked input field so that it could be used to prompt for a password that would remain unreadable to anyone looking over the users shoulder. (I envision adding a 'mask="true"' parameter to make that possible with the default for 'mask' being 'false'.) I like this al

Improving Tasks

2004-10-22 Thread Rhino
  I'm starting to get the hang of Ant now and am starting to think about developing some tasks to increase what it can do.   However, before I start developing entirely new tasks, I thought I might take a whack at improving a few existing tasks. One improvement I'm thinking about involves th

Need guidance re

2004-10-22 Thread Rhino
I'm at the point where I'm starting to 'get' Ant - more or less ;-) - so I'd like to start re-engineering my scripts so that they follow the best possible practices.   One of the aspects that I want to improve is error handling. Right now, I mostly just assume that everything is going to work

RE: auto configuration

2004-10-22 Thread Peter Wilkes
Jeff, Yes thank you. this is very helpful. i appreciate the quick response. thank you PEte On Thu, 21 Oct 2004, Jeff Davidson wrote: > Would it not be possible to load the customized properties for a site, and > then load the default properties after? That would allow you to take > ad

AW: Way for buildfile to verify that Ant version is 1.5.2 or grea ter ?

2004-10-22 Thread Jan . Materne
I thought you would know the right classes ;) Jan > -Ursprüngliche Nachricht- > Von: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 22. Oktober 2004 09:06 > An: [EMAIL PROTECTED] > Betreff: Re: Way for buildfile to verify that Ant version is 1.5.2 or > grea ter ? > > On

Re: Way for buildfile to verify that Ant version is 1.5.2 or grea ter ?

2004-10-22 Thread Stefan Bodewig
On Fri, 22 Oct 2004, Jan Materne <[EMAIL PROTECTED]> wrote: > A non usual way is checking for the existing of special classes. So > you 'only' have to check which classes were added in a release and > you could check for them. It might help to have a concrete example ;-) Stefan -- http://s