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
: '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
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:
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 ...
>
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
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
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
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:
> >
> >
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
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, &
>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
[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
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...
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
14 matches
Mail list logo