property environment=ENV/
property file=build.properties/
property name=ENV.TARGET_ENV value=default/
property file=${ENV.TARGET_ENV}.properties/
With that you could specify what to load:
- ant -DENV.TARGET_ENV=???
- environment variable TARGET_ENV=???
- specify ENV.TARGET_ENV in
I get an error making my own custom condition.
I am using the example on:
http://ant.apache.org/manual/CoreTypes/custom-programming.html#customcon
ditions
It looks like AntTypeDefinitions wants it to have an execute() method,
though the dev guide states not to (I even checked the other condition
I get an error making my own custom condition.
I am using the example on:
http://ant.apache.org/manual/CoreTypes/custom-programming.html#customco
nditions
Tasks need an execute() method and are declared with taskdef
Conditions need an eval() method and are declared with typedef.
Jan
Hi,
This might seem to be a simple question. I am trying to write to
a build.xml to fetch all the files from Microsoft Visual Sourcesafe. The
script should fetch all the files after a specified date. I am seeing
the following error: what is the fix:
-
ERROR:
Hi,
This might seem to be a simple question. I am trying to write to
a build.xml to fetch all the files from Microsoft Visual Sourcesafe. The
script should fetch all the files after a specified date. I am seeing
the following error: what is the fix:
-
ERROR:
Kudos Jan.
Thanks you VERY much. I was use taskdef and not typedef. :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 01 June 2006 11:09
To: user@ant.apache.org
Subject: AW: No public execute() in com.mydomain.AllUpperCaseCondition
I get an error making my
I am not happy with the solution because the current setup is not Eclipse
friendly. Our small team develops on Windows machines and we deploy to Unix
for testing, training, and production. I would like to have a master build
script that can be invoked on a Unix based build server. The master build
Samer,
We have a similar problem. We have a multi-platform C++ application we use
Ant to build. We don't build it from Eclipse, but we do edit our build scripts
in Eclipse. What we did was have a master build script on one of our build
machines. This controls everything, builds the
I haven't see this dir structure before - with the Eclipse root being
different from the app root - it might have it's benefits but I think
this might be your problem. If you were to make your Eclipse project
root the same as your App root, then the build.xml, build.bat, etc would
be visible and
Hello Gonella,
Can you run this command :
\\10.154.87.24\gif_vss
\SS.EXE\ss Get $$/PMO/Source Code/Production/GIFPMO/SourceCode/src
-GLC:\gm
o\src -I- -Ygoneln,tester123
on the command line ?
Regards,
Antoine
Original-Nachricht
Datum: Thu, 1 Jun 2006 15:44:27 +0530
Von:
Is there a way to use that where your source locations are those
contained in a ref-id who is made up of pathelement's?
He mentioned copying the files contained in directories that are defined
in something (I thought to be) a
path id = ...
pathelement .../
pathelement .../
...
/path
I
Comments below...
-Original Message-
From: Kanjo, Samer [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 01, 2006 7:29 AM
To: 'Ant Users List'
Subject: RE: Targeting Multiple Environments
I am not happy with the solution because the current setup is
not Eclipse friendly. Our
Is ss.exe on your PATH? What is the path to ss.exe? If it is a UNC path,
you may need to install VSS locally. Can you try this on the machine
where VSS is installed?
-Rob A
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, June 01, 2006 3:17 AM
This should not be the case. Please post the specific issues you are
facing with this.
The specific problem here is when I have placeholders in my properties files
and when I need to import environment properties based on the target
environment. For example, if I had a database.properties file
You can run the ant target that loads dev.xml and replaces the
placeholders in the database.properties from within Eclipse. If the
build file is not available from within Eclipse, because it is outside
of the Eclipse project root, you can create a new build file within the
Eclipse project root and
This works like a charm. Thanks again for the help!
- Bill
-Original Message-
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 4:39 PM
To: Ant Users List
Subject: Re: Copying files from dirs specified by libpath
William:
It seems I do this far too often
Bill:
That's great :)
Glad to help...
I'm gonna add this to my ant scripts for my open source project :)
Scot
William Press wrote:
This works like a charm. Thanks again for the help!
- Bill
-Original Message-
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May
I'm probably missing something obvious, but I've been unable to figure out
how to delete directories using a wildcard.
So instead of this (test1/2/3 are directories):
delete failonerror=false includeEmptyDirs=true
fileset dir=${basedir}/test1/
fileset
It should be:
delete failonerror=false includeEmptyDirs=true
fileset dir=${basedir} includes=test*//
/delete
- Alexey.
[EMAIL PROTECTED] wrote:
I'm probably missing something obvious, but I've been unable to figure
out
how to delete directories using a wildcard.
So instead of this
19 matches
Mail list logo