Re: Annotations Stripping or Transformation at Build time

2013-08-24 Thread Matt Benson
approach would help with removing the generics ... > > ** ** > > ** ** > > Jan > > ** ** > > *Von:* Raja Nagendra Kumar [mailto:nagendra.r...@tejasoft.com] > *Gesendet:* Samstag, 24. August 2013 12:18 > *An:* user@ant.apache.org > *Betreff:* Re: Annotations Stripping or Tra

AW: Annotations Stripping or Transformation at Build time

2013-08-24 Thread jhm
@ant.apache.org Betreff: Re: Annotations Stripping or Transformation at Build time Hi Matt, Thank You for the directions. Most the tools, which work in these contrained devices, does not work on byte code. hence transformation the source code is essential in my case. Also, more essentially, source code

Re: Annotations Stripping or Transformation at Build time

2013-08-24 Thread Raja Nagendra Kumar
Hi Matt, Thank You for the directions. Most the tools, which work in these contrained devices, does not work on byte code. hence transformation the source code is essential in my case. Also, more essentially, source code helps in better debugging with break poi

Re: Annotations Stripping or Transformation at Build time

2013-08-23 Thread Matt Benson
Google is your friend. See http://en.m.wikipedia.org/wiki/Java_backporting_tools Matt On Aug 24, 2013 12:34 AM, "Matt Benson" wrote: > Thinking more on this, you'd at least have to remove generics signature > information from the bytecode. Those are the main differences between these > levels of

Re: Annotations Stripping or Transformation at Build time

2013-08-23 Thread Matt Benson
Thinking more on this, you'd at least have to remove generics signature information from the bytecode. Those are the main differences between these levels of bytecode I can think of, although there certainly could be more to it. I feel like there once was a utility out there to do this job though.

Re: Annotations Stripping or Transformation at Build time

2013-08-23 Thread Matt Benson
Interesting. There is a project in the Apache Commons sandbox, the [weaver] component, which provides a general infrastructure for performing bytecode transformations. An Ant task is provided. It might be fairly trivial to rewrite 1.5 bytecode to v1.3; I'm not sure. Matt On Aug 23, 2013 10:11 PM,

Annotations Stripping or Transformation at Build time

2013-08-23 Thread Raja Nagendra Kumar
Hi, Is there any ant task, which allows manupulation of annotations with in java source code.. The need I have is, I want to either strip all the annotations within the java source code as java 1.3 (used for javame) does not support annotations or use Simpl