Jim Fuller wrote:

I've not seen code of your ant task, but how it relates/compares to the org.apache.xindice.tools.DeploymentTask? AFAIU, it can do all things


Btw do is there an example build.xml Ant that demonstrates the usage of
DeploymentTask ?


Okay. I've now looked at the Deployment task. A search on Google found the API only, not any examples.

But what I do see from looking at the deployment task is that it uses the XMLTools class, which is also used by the CLI tools. This is very good practice.

So, Jim, I would strongly recommend you to look at the DeploymentTask. If there's features that it doesn't have, add them to XMLTools, and then add access methods to both the Deployment task and to the CLI. That way, everyone benefits.

Examing the DeploymentTask.java file, you'll find a strong resemblance between the Ant code in there and the CLI parameters.

Oh, and if you get to understand how this works, then a page on the wiki (even better, a patch for the xdocs) about how it works would be great!

Regards, Upayavira




Reply via email to