Re: How to have Dynamic Propert in ant

2008-07-10 Thread Andrew Clegg
Or use variables from ant-contrib... Andrew. 2008/7/10 Scot P. Floess <[EMAIL PROTECTED]>: > Properties are immutable in Ant. In your example, even if properties were > mutable, the timestamp would not be recomputed - you'd have to re-execute > the tstamp task. The only way you can have this re

Re: Pipeline in exec-task

2008-07-02 Thread Andrew Clegg
2008/7/2 jantje <[EMAIL PROTECTED]>: > > Ok (yes, I am working in /bin/bash), now I added this line, but it still does > not suppress the output: () > > > > > > > Isn't this because ant doesn't start processes via bash (or any other shell), but invokes them directly? It

Re: Pipeline in exec-task

2008-07-02 Thread Andrew Clegg
You could use the -exec argument to find instead. I am on a bus at the moment, but from memory the syntax would be: find -exec chmod -v 755 \{\} \; Check that in the manpages though! Should be fairly straightforward to antify that. I don't know if there's a way to pipe in ant but it would

Re: Providing classes required by contributed tasks (help!)

2008-06-30 Thread Andrew Clegg
PS... There is nothing in my CLASSPATH, and I checked inside my commons-httpclient-3.0.1.jar -- /org/apache/commons/httpclient/params/HttpMethodParams.class is indeed there. 2008/6/30 Andrew Clegg <[EMAIL PROTECTED]>: > I've been trying to get the antcallback contributed task worki

Providing classes required by contributed tasks (help!)

2008-06-30 Thread Andrew Clegg
I've been trying to get the antcallback contributed task working but there seems to be a missing dependency: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/params/HttpMethodParams I'm not sure why antcallback would depend on httpclient, but I know this task is the culprit because i

Reminders for manual tasks

2008-06-27 Thread Andrew Clegg
Afternoon all, I have several files in my project that need to be updated manually -- UML files and class diagrams generated from XML schemas in hyperModel (xmlmodeling.com). What I want to do is check the UML files against the schemas with uptodate during the build process, and issue a warning f

Re: Issues with delete -- manual and FAQ incorrect (?)

2008-06-24 Thread Andrew Clegg
2008/6/24 Stefan Bodewig <[EMAIL PROTECTED]>: > In most cases Ant's behavior probably is exactly what is intended by > many people. You don't want to lose your real work when removing > backups recursively (deleting the directories that don't contain any > backups because no file matched the incl

Re: Issues with delete -- manual and FAQ incorrect (?)

2008-06-24 Thread Andrew Clegg
perhaps a small inconsistency in the fact that Ant ignores .svn directories (and various others) when deciding what to delete, but doesn't ignore them when deciding if a directory is empty. I think this was the root of my confusion, maybe it should be highlighted in the manual? Cheers, Andr

Re: Issues with delete -- manual and FAQ incorrect (?)

2008-06-24 Thread Andrew Clegg
2008/6/24 Stefan Bodewig <[EMAIL PROTECTED]>: > I don't think your directories info and src match the includes pattern > **/* which means "at least one directory level deeper than base". > What happens if you remove the includes attribute completely? That works! Thanks. But this means the manual

Issues with delete -- manual and FAQ incorrect (?)

2008-06-23 Thread Andrew Clegg
Hi everyone, I'm having problems setting a task to delete everything in a particular directory. But wait, before you say "this is a FAQ", I've tested the solution given in the manual and FAQ, and it doesn't actually work. My task looks like this, as per standard instructions (autosrc is a tree of