Sagewire Logo

what happened to overriding ant target post-compile inbuild-impl.xml?

3 Message(s) by 3 Author(s) originally posted in developer netbeans java


From: Mike Bailey Date:   Tuesday, December 18, 2007
we are trying to add a post-compile step to a project build file.

Netbeans IDE Field Guide 2nd Edition pp. 61-62 describes how to do this.

However when we look at the project's do not-you-dare-edit build-impl.xml for
a post-compile task to copy, it isn't present.

And so, wondering, how do we add a post-compilation task to the project's
build.xml that will be invoked each time we build? TIA for all responses.
--
View this message in context: http://www.nabble.com/what-happened-to-overriding -ant-target -post-compile-in-build-impl.xml--tp14407576p14407576.html
Sent from the Netbeans - Dev mailing list archive at Nabble.com.


From: Tom Wheeler Date:   Tuesday, December 18, 2007
wrote in message:
And so, wondering, how do we add a post-compilation task to the project's
build.xml that will be invoked each time we build? TIA for all responses.



The build harness has a README document. It's somehow long yet terse
at the same time, but still quite informative.

Look at the section entitled "TARGETS AVAILABLE FOR OVERRIDING IN YOUR
build.xml" for examples of how you can add "before" and "after" hooks
to any target.
--
Tom Wheeler
http://www.tomwheeler.com/


From: Jesse Glick Date:   Tuesday, December 18, 2007
wrote in message:
how do we add a post-compilation task to the project's build.xml
The build harness has a README document.



Tom's response is assuming you are talking about a NetBeans module
project. If you are talking about a plain JAVA SE project, the target
you are looking for is -post-compile, not post-compile.

--
jesse.glick@xxxxxxxxxxx netbeans.org ant.apache.org hudson.dev.JAVA.net
http://google.com/search?q=e%5E%28pi*i%29%2B1



Next Message: Dynamically adding same control on to the page



Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional