AW: Targeting Multiple Environments

2006-06-01 Thread Jan.Materne
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

No public execute() in com.mydomain.AllUpperCaseCondition

2006-06-01 Thread Master, Tariq \(Abbeywood\)
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

AW: No public execute() in com.mydomain.AllUpperCaseCondition

2006-06-01 Thread Jan.Materne
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

RE: No public execute() in com.mydomain.AllUpperCaseCondition

2006-06-01 Thread gonella.jayprakash
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:

VSSGET QUESTION

2006-06-01 Thread gonella.jayprakash
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:

RE: No public execute() in com.mydomain.AllUpperCaseCondition

2006-06-01 Thread Master, Tariq \(Abbeywood\)
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

RE: Targeting Multiple Environments

2006-06-01 Thread Kanjo, Samer
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

RE: Targeting Multiple Environments

2006-06-01 Thread Ron Ohmer
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

RE: Targeting Multiple Environments

2006-06-01 Thread Andrew Goodnough
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

Re: problem with VSS

2006-06-01 Thread Antoine Levy-Lambert
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:

Re: Copying files from dirs specified by libpath

2006-06-01 Thread Scot P. Floess
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

RE: Targeting Multiple Environments

2006-06-01 Thread Anderson, Rob (Global Trade)
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

RE: VSSGET QUESTION

2006-06-01 Thread Anderson, Rob (Global Trade)
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

RE: Targeting Multiple Environments

2006-06-01 Thread Kanjo, Samer
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

RE: Targeting Multiple Environments

2006-06-01 Thread Anderson, Rob (Global Trade)
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

RE: Copying files from dirs specified by libpath

2006-06-01 Thread William Press
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

Re: Copying files from dirs specified by libpath

2006-06-01 Thread Scot P. Floess
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

Cannot delete directories using wildcards

2006-06-01 Thread Tom . Morin
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

Re: Cannot delete directories using wildcards

2006-06-01 Thread Alexey N. Solofnenko
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