Re: GenJar
Martin Gainty <[email protected]>
| Newsgroups | gmane.comp.jakarta.ant.user |
|---|---|
| Message-ID | <BLUPR14MB025993DB9CF3A544ADD5F7B5AE200@BLUPR14MB0259.namprd14.prod.outlook.com> |
________________________________ From: RAPPAZ Francois <[email protected]> Sent: Wednesday, November 22, 2017 10:14 AM To: Ant Users List Cc: [email protected] 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:[email protected]] Sent: 21 November 2017 15:18 To: Ant Users List <[email protected]> Subject: Re: GenJar On Tue, Nov 21, 2017 at 11:19 AM, RAPPAZ Francois <[email protected]> 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