netbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Hofschröer <apa...@nigjo.de>
Subject Re: Preprocessing external binaries
Date Wed, 25 Oct 2017 12:06:39 GMT
Hi

 > [...]
> 
> All these situations are currently handled by hooking into the 
> -javac-init projectized-common ant task, in the build.xml file, like this:
> 
> <target name="-javac-init" depends="-prepare-patched-binary, 
> projectized-common.-javac-init" />
> 
> I was wondering if ...
> 
> - ... it would be a good idea to create a new ant target in 
> projectized-common specifically for this situation, say 
> "preprocess-binaries", or "prepare-binaries".
> - ... What other things could we do here? For all of you that have 
> reviewed modules, would you benefit of such a new target?

I suggest to use extension points [1] for these kind of modification. 
Since Ant 1.8 "Dummy"-Targets are no longer necessary.

Jens
[1] http://ant.apache.org/manual/targets.html#extension-points


-- 
http://blog.nigjo.de/netbeans/

Mime
View raw message