Hi,
I have a path structure that I have defined in one build file, this build
file then calls a second build file. If I try to refer to the path
structure I defined in the first file from the second file I get an error:
Reference webapp.classpath not found.
file 1 contains:
path
Hi All
I want to delete some of the files deployed in my apperver when my build is
in the process. But If the appserver is running I am not able to delete them
since the it'll be in use. Is it possible to give an appropriate message to
the user saying that he should shutdown the appserver to
Currently the ant task only transfers across build listeners, task
definitions, data type definitions, and properties. References are not
carried over.
It seems like a good enhancement request, although how that works and
maintain backwards compatibility is the main issue to address.
Erik
Is there an existing task that can be used to get a substring of a String or
substitute a part of a String with something else?
Hannes van der Merwe
Momentum Employment Benefits (IT)
Telephone : (011) 685 4306
Email : [EMAIL PROTECTED]
E-mail disclaimer
Confidentiality Warning
I wrote and sent a patch to do exactly that 2 weeks ago.
Matthieu
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 12:18 PM
To: Ant Users List
Subject: Re: path structures in different build files
Currently the ant task only
--- Erik Hatcher [EMAIL PROTECTED] wrote:
property environment=env /
property name=env.PROJECT_HOME value=c:\project/
property name=project.home value=env.PROJECT_HOME/
Actually, you'll want that to be value=${env.PROJECT_HOME}.
Diane
=
([EMAIL
From: Stefan Bodewig [EMAIL PROTECTED]
echo file=${classes.dir}/properties/release.txt append=true
/echo
OK, this doesn't work because of XML's notion of ignorable
whitespace. We could fix that by supporting the xml:space attribute
as described in the XML spec
How about enclosing it in CDATA tags?
E.g.,
echo ![CDATA[
]]/echo
?
Cheers,
Manik
Stefan Bodewig wrote:
[EMAIL PROTECTED]">
From: Stefan Bodewig [EMAIL PROTECTED]
echo file="${classes.dir}/properties/release.txt" append="true"/echo
OK, this doesn't work because of
On Mon, 03 Dec 2001, Manik Surtani [EMAIL PROTECTED]
wrote:
How about enclosing it in CDATA tags?
I thought it should work, but when I tried it, it didn't append
anything.
Stefan
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
On Mon, 03 Dec 2001 Stefan Bodewig wrote :
On Fri, 30 Nov 2001, Paul Cody Johnston
[EMAIL PROTECTED]
wrote:
Does anyone know if there are plans to support nested
filesets for
the unjar class of tasks?
The CVS version of Ant already supports this. I'm not
quite sure,
Hello,
I'm new at Ant and I will describe what I want to do -- followed with how I
hope to do it.
I'm trying to copy files from two sources, a system directory followed by a
local directory. This is prior to a build, and I'm modifying an existing
build file. What I want is to copy a file
You can use available. It doesn't just set a flag -- you can assign
any value to the property it's (potentially) setting, so have the value be
the path to the file it finds, then reference that property in your copy
task.
If you can use a nightly build rather than a release, you can do this more
Ha! I knew I'd find a way to get a correction on Diane if I waited long
enough :)
Actually the back-door hack for available is being left in (just with a
nasty message if you overwrite a propertys value using it) - that was the
curreent consensus, unfortunately. This may change before the
Okay - I think I understand. If I have 'dirs.orig' pointing to the global
area, and dirs.local pointing to the local modified area, and want to put
the file into 'dest', I can do the following:
property name=frompath value=${dirs.orig}/foo/
available file=${dirs.local}/foo property=frompath
Hi Stuart,
Can you supply a snippet of your buildfile? On my test box with
p4change/
echo message=Change is ${p4.change}/
and
ant -verbose
I get
[p4change] Execing p4 change -o
[p4change] Execing p4 change -i
[p4change] Change Number is 108
[echo] Change is 108
and in p4win
Change
Believe or not, I am using pathconvert to get substring of tempPathName:
pathconvert pathsep=${FILE_SEP} property=PackageName
path id=tempPathName
pathelement location=${SRC}/
/path
Hi,
Is there a way to make fileset support mappers? The situation is this.
we have xxx-ejb-jar.xml in descriptor directory and I want to include
this in jar as ejb-jat.xml. I am wondering if there is a better way than
copying to a temp location.
thanks,
vishu
MMS firstam.com made the following
Hi,
I'm having problems getting Ant 1.4.1 to work with JDK 1.4 beta3.
I get the 'Cannot use classic compiler' error:
[seb@ART002001] 150 # ant compile
Buildfile: build.xml
init:
compile:
[javac] Modern compiler is not available - using
classic compiler
[javac] Compiling 11 source files to
Hi All,
Simple question.
Is there any option or flag (or anything) I can set on a target so that it
doesn't output anything unless there is an error?
Thanks,
David
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
- Original Message -
From: William Ferguson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 03, 2001 6:56 PM
Subject: Mail Task failing on QUIT message
Hi,
I was just wondering whether anyone else has seen the mail task play up
when
sending the QUIT message?
The
20 matches
Mail list logo