RE: HTTP tasks

2005-07-05 Thread Brent Bain
The Commons VFS (Virtual File System) might do what you need -- if I remember correctly it will support HTTP. http://jakarta.apache.org/commons/sandbox/vfs/ Brent -Original Message- From: Ivan Ivanov [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 2:02 PM To: user@ant.apache.org Su

Ant Contrib and question

2005-06-02 Thread Brent Bain
Hello: I'm trying to write a macro to check if a property has been set in a xml property file. If it has not been set then I want to give it a default value. This is running in a loop (using the xmltask's call) to create db property files for several different environments. The loop works great

Append References? (refid question)

2005-04-01 Thread Brent Bain
Hello: I think I've come up with a better way to ask my last question in a much more generic "how do I" type way. Is there a way to update a reference id within a loop? For example (not working code below but it shows more or less what I'm trying to do):

Dynamically Changing Dependencies

2005-03-28 Thread Brent Bain
Hello: Sorry if this is the wrong spot to ask this question but while I'm using some 3rd party tasks the overall steps are probably fairly common. I currently have an XML property file that has dependencies defined like the following:

RE: How To Parse ${basedir} ??

2005-03-16 Thread Brent Bain
Thanks for the obvious!! I knew I was missing something that was right in front of me. Brent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 3:28 PM To: Ant Users List Subject: Re: How To Parse ${basedir} ?? Quoting Brent Bain

How To Parse ${basedir} ??

2005-03-15 Thread Brent Bain
Hello: I am attempting to remove references to hard coded drive letters as some of our machines build from different drives or on linux environments. Our current path structure looks like: C:\repo\project\source\ant\ C:\repo\libraries\ Since the ant references files in the libraries folder we cu

Zip Task w/ Empty Folders

2005-01-19 Thread Brent Bain
Hello: I'm scratching my head over this one. I need to have the zip file that I'm going to deploy include all the empty folders that the build creates. I have tried manually setting the 'filesonly=false' attribute but that still did not create the zip file with the empty folders. Now I can pla

Comparing Files on Two Servers

2004-12-14 Thread Brent Bain
Hello: I'm hoping to save some time during deployments by comparing a local zip file against a remote server's zip file. My first thought was to use the checksum task, but the timestamps are deffinately going to be different. The basic idea is this: Perform a local build and zip up the files. Com

Speeding up FileSet Generation?

2004-11-10 Thread Brent Bain
Hello: First off -- I must say thanks to everyone who has helped me in the past -- I've learned a lot from the users listserv and my answers are always (incredibly!) quickly answered. I'm running into major speed issues when generating a fileset during a copy process which I'm doing to back up fi

XML Parsing Question

2004-10-06 Thread Brent Bain
Hello: I am trying to figure out how to handle the data being passed to me by my IT department. They finally agreed to send me an xml document (see snippet below) and that should have made my life much simpler. Maybe I should describe what I'm trying to do: I am attempting to stop multiple res

Delete Files and SubFolders

2004-09-27 Thread Brent Bain
Hello: I am trying to use the following code to delete everything under subfolders (including deleting the subfolders themselves). I can't seem to get it to work. I'm not sure if it's because I'm using a or not. I'm using the antcontrib task to convert the path to a fileset () -- my code looks