Re: Attach action on Project Build activity

geertjan wielenga <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Organization Oracle Corporation
Message-ID <[email protected]>

http://bits.netbeans.org/6.7/javadoc/org-apache-tools-ant-module/overview-summary.html

Example:

https://blogs.oracle.com/geertjan/entry/ode_to_build_scripts

Gj

On 8-6-2016 12:05, Eduard wrote:
> 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.