Hi,
I have used netbeans
IDE so the-pre specifies that before the war file is made this target should be called.
You can use following targets:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile:called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of
JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-dist: called before jar building
-post-dist: called after jar building
-post-clean: called after cleaning build products
Also if you are facing class not found then either in your web application add following jar in lib directory or declare classpath variabale in ant script with absolute path to following jar:
activation.jar
fastInfoset.jar
http.jar
jaxv-api.jar
jaxb-impl.jar
jaxb-xjc.jar
jaxws-api.jar
jaxws-rt.jar
jaxws-tools.jar
jsr173_api.jar
jsr181-api.jar
jsr250-api.jar
package-rename-task.jar
resolver.jar
saaj-api.jar
saaj-impl.jar
sjsxp.jar
I guess you can download jwsdp-2.0 where youwill get all jar files.
I would say download netbeans IDE since you can make any webservice independant of application server in it.And then can modify ant script and run it from netbeans itself.
I find it very handy.
Bye.