Re: Attach action on Project Build activity

Eduard <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
To me this looks like you want an action to be included in your build 
process.

NetBeans supports Ant and Maven for building projects. For Ant you can 
add actions to the build.xml file in the project folder.  That can in 
principle be any action, written in Ant or a call to an external 
program. The Ant build process  defeines a number of hooks that you can 
override with an action you want to perform befeor or after the main 
build operations. I haven't looked at Maven, no doubt there is a similar 
mechanism to add actions.

Hope this helps

Eduard


gaurav_gupta wrote:
> Is there any api available to attach/execute specific action on Project Build activity so that whenever developer clean n build or build web project then plugin can execute some specific action.
>
> Use-case : [https://github.com/jGauravGupta/js-css-minify-compress/issues/17]
>
> Any suggestion ?[/url]
>
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.