________________________________
From: RAPPAZ Francois <francois.rap...@unifr.ch>
Sent: Wednesday, November 22, 2017 10:14 AM
To: Ant Users List
Cc: ddevie...@gmail.com
Subject: RE: GenJar

What really surprised me is that such a bcel selector has not already been 
written.

MG>which specific task do you want ant to implement?
MG>implement bcel regular expression code patterns?
MG>using Repository to lookup a clazz?
MG>using ClassGen to create files?
MG>something else?
https://commons.apache.org/proper/commons-bcel/manual/bcel-api.html
Apache Commons BCEL™ – The BCEL 
API<https://commons.apache.org/proper/commons-bcel/manual/bcel-api.html>
commons.apache.org
The BCEL API. The BCEL API abstracts from the concrete circumstances of the 
Java Virtual Machine and how to read and write binary Java class files.




Is there examples of codes of these custom selectors ?

Correcting the original genjar code proved to be < 50 lines changes
Writing this selector from scratch is quiet harder for me

François

-----Original Message-----
From: Dominique Devienne [mailto:ddevie...@gmail.com]
Sent: 21 November 2017 15:18
To: Ant Users List <user@ant.apache.org>
Subject: Re: GenJar

On Tue, Nov 21, 2017 at 11:19 AM, RAPPAZ Francois <francois.rap...@unifr.ch>
wrote:

> Things turned out well at the end...
>
> since I could contact the original maintainer of genjar on sourceforge
> and I was able to update my changes there.
>
> Note that this tool had some descendants. I have found on github:
> mx:genjar, genjar2.
>

All these IMHO are misguided in that they replace <jar> instead of just 
providing a smarter BCEL-powered (or other) selector within <jar>.
Maybe I underestimate how easy that is perhaps though... --DD

Reply via email to