Stefan, I will follow up with the people at exolab for the castor task. I will follow up with the creator of the p4 task for p4add. I don't really agree with you on the conditional. I am already using the available task for resources (the same way you just mentioned). The conditional tasks works on targets. A target fails if it raises a BuildException. Then you can construct complex branching mechanism based on target success and not on available resources (totally different things). Olivier Stefan Bodewig wrote: > Olivier Brand wrote: > > > I am new to the list. I have created 3 tasks and was wondering what > > was the process of adding these tasks into ant (if everybody agrees > > of course that these tasks are useful). > > Send them to the list and lobby for their inclusion - may take some > time to get heard 8-) > > > The first task allows to generate an XML Java binding framework > > using Castor from exolab (www.exolab.org). > > This sounds as if it should be included with Castor, not with Ant - > with a link from of > course. > > > The second task can be added to the already existing Perforce > > package: P4Add. This allows to add a file to a Perforce depot (we > > needed this feature in our project). > > This one probably has a really good chance of being included if it > fits into the P4 classes already present. > > > The third task is a conditional task on targets, it allows to > > express conditions like: if/then/else on targets. For example using > > Perforce, we wanted to add a file in our depot. If the file does not > > exist, we need to add it (P4Add). Otherwise we need to edit it > > (P4Edit). This task allows to do that : if targetA fails then > > execute targetB else execute targetC. Of course the test can be > > changed (it is a parameter: true or false). > > I don't think this would find too many friends among the committers. > How do you know whether a target fails? > > The normal Ant way would be a combination of available and a couple of > targets, something like > > > > > > > > > > > > > > > > and then use them via something like > > > > > > Stefan