Hello, I just wanted to thank this list and Peter, David, Krzysztof
and Chuck in particular for responding to my question. I am very
impressed with the quick response, helpful information and respectful
tone.
Best Regards,
Hudson
I have had the same problem. The following target shows how I got around the
problem. Since I have to do differential builds I can't predict the number of
zip files that are produced, so I check for the existence of the file before
calling this target. When I need the list of files, to create th
that did the trick, thanks again! Now, what I thought might be a
better solution than using "var" was to create a "filelist" and add
files to this construct and then use it by ref in the upload target. I
thought creating an empty "filelist" then using it's refid to add
files might work, but it seem
Don't know what Your ant file looks like, but I'd try to employ the
antcontrib's antcallback task - it calls another target and lets it
return a property (more than one actually) to the target, who made the
call. Does that help?
Best regards,
Chris
Hudson Ansley wrote:
I'm trying to use the
yes, I am using thanks so much for your explanation and
suggestion - sounds like a winner!
Regards,
Hudson
On Dec 11, 2007 10:56 AM, Peter Reilly <[EMAIL PROTECTED]> wrote:
> You are most likely using or to call the other targers
> this causes a new ant project to be created. porjects created in
When you say "upload", what do you mean? Are you using "ftp" or "scp"
to move the files from your system to another system?
If so, you probably would be better off using the AntContrib
task or the task to determine whether or not to
move these files to another system than trying to save their na
You are most likely using or to call the other targers
this causes a new ant project to be created. porjects created in or modified in
the child projects have no effect on the properties in the main project.
You can use from antcontrib to run the targets in the
same project.
Peter
On Dec 11,
I'm trying to use the discouraged "var" to keep track of updated files
for a final upload step. It appears that when I change a variable in
one target, that change is not reflected from another target. I
imagine I am going about this the wrong way, so besides explaining why
this might be happening,