Re:

2009-02-26 Thread Brian Stephenson
Stefan, The ant property task can take predefined properties, in the format "${property}", as part of a value (such as "${base.dir}/src"), so I suspect the behavior is related to the fact that the first time ant sees a dollar sign it thinks it will get a property, and then when it

Re: Excluding some directories

2009-02-24 Thread Brian Stephenson
: 'reasonCode' hides a field. [checkstyle] C:\Temp\Routing_Engine\ui\src\com\myco\ssml\account \types\Device.java:14:46: warning: 'autoDiscSN' hides a field. ---Original Message--- From: Brian Stephenson Subject: Re: Excluding some directories Sent: Feb 24 '09 18:14 I t

Re: Excluding some directories

2009-02-24 Thread Brian Stephenson
t.java:64:42: warning: 'status' hides a field. ---Original Message--- From: Brian Stephenson Subject: Re: Excluding some directories Sent: Feb 24 '09 16:26 Try re-formatting your checkstyle fileset attribute to look something like this:

Re: Excluding some directories

2009-02-24 Thread Brian Stephenson
Try re-formatting your checkstyle fileset attribute to look something like this: Brian On Feb 24, 2009, at 10:29 AM, wrote: Hi, I'm using Ant 1.6. I have this task ... >

Re: removing trailing whitespaces reading properties files

2009-01-26 Thread Brian Stephenson
I believe something like this should work: Trim does trim the leading whitespaces as well as trailing whitespaces, but that should not matter while reading a property file. Brian On Jan 26, 2009, at 9:57 AM, Stefano

Re: 550 Failed to Change Directory

2009-01-21 Thread Brian Stephenson
user, you would get the 550 error. Brian Stephenson ThorTech Solutions www.thortech-solutions.com On Jan 21, 2009, at 1:56 PM, Christopher Styles wrote: Hi, I have been running an ant target via cruise control for some time that ftp's one file from my build box to a linux environment, the

Re: AW: Modify xml file

2009-01-21 Thread Brian Stephenson
apache.org's ANT manual for the syntax of the REPLACE command, but if you want to use an external config file to manipulate, I think this might be the way to do it. Brian Stephenson ThorTech Solutions www.thortech-solutions.com On Jan 21, 2009, at 7:49 AM, wrote: There are multiple opti

Re: Uptodate task not working

2009-01-15 Thread Brian Stephenson
what I actually > want too though. If the zip file is newer then any file in the unzipped > location, I want to unzip the zipped file again so I have the most uptodate > files. Do you have any ideas about how I can implement this? > > > Brian Stephenson wrote: > > > >

Re: Uptodate task not working

2009-01-14 Thread Brian Stephenson
p", not the list of files, and if so an existing copy of a file is always considered more up to date than a non-existent copy. Have not had a chance to cobble up a test script, so not sure, but I would start there. Brian Stephenson ThorTech Solutions www.thortech-solutions.com On Jan 14

Re: How can I exclude this directory?

2009-01-13 Thread Brian Stephenson
I believe exclude in the WAR task only accepts files and file patterns, not straight directory names. You might try name="dojo/**"/> Brian Stephenson ThorTech Solutions www.thortech-solutions.com (914) 302-7638 [work] (914) 302-7641 [fax] On Jan 13, 2009, at 1:39 PM, &

Re: Difference between "dirname property" and "property"?

2009-01-10 Thread Brian Stephenson
>From Ant manual: "When this task executes, it will set the specified property to the value of the specified file (or directory) up to, but not including, the last path element." dirname tasks expects an actual file name, to return the path without the filename (opposite of the basename task). Si

Re: Do something if downloads file

2009-01-10 Thread Brian Stephenson
[1] but not [2], and I really > need to handle them both. > > More ideas? :-) > > > On Fri, Jan 9, 2009 at 7:00 PM, Brian Stephenson > wrote: > > Kent, > > There may be a more direct way to do this, but I accomplish a similar > > thing this way (I munged my code to

Re: Do something if downloads file

2009-01-09 Thread Brian Stephenson
new to Ant so this may still be an easy problem for someone more experienced. Any and all help highly appreciated! Regards, Kent - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...

Re: How to write a file to console?

2008-12-23 Thread Brian Stephenson
Load and echo.. ${mytext} Brian Stephenson ThorTech Solutions www.thortech-solutions.com (914) 302-7638 [work] (914) 302-7641 [fax] On Dec 23, 2008, at 1:18 PM, Ghadi Mahmoudi wrote: Hallo, how can I print a file (text) to the console? of course with ant... thanks M.Sc. Ghadi