ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@gmail.com>
Subject Re: Annotations Stripping or Transformation at Build time
Date Sat, 24 Aug 2013 06:04:18 GMT
Google is your friend. See
http://en.m.wikipedia.org/wiki/Java_backporting_tools

Matt
On Aug 24, 2013 12:34 AM, "Matt Benson" <gudnabrsam@gmail.com> 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 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.
>
> Matt
> On Aug 24, 2013 12:23 AM, "Matt Benson" <gudnabrsam@gmail.com> wrote:
>
>> 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, "Raja Nagendra Kumar" <
>> nagendra.raja@tejasoft.com> wrote:
>>
>>> **
>>> 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 Simple xml parser for Android while on server side we
>>> can used jaxb. We need to do this, without deplicating the same code at 3
>>> places but with one single source code but with build time manipulations.
>>>
>>> Regards,
>>> Nagendra
>>>    *Raja Nagendra Kumar*
>>> Founder & C.T.O     *Mobile:* +91-9886723872
>>>  *Email:* nagendra.raja@tejasoft.com
>>> *IM:* nagendra.raja (Skype)
>>>  *http://in.linkedin.com/in/nagkumar*
>>>  *TejaSoft Innovations Pvt Ltd*
>>>  <http://www.tejasoft.com>
>>> Factor 4 Results    See who we know in common<http://www.linkedin.com/e/wwk/5094208/?hs=false&tok=0bfzEZotG8slI1>
Want
>>> a signature like this?<http://www.linkedin.com/e/sig/5094208/?hs=false&tok=0uLVu92uq8slI1>
>>>
>>>
>>>
>>>

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message