Initial annotation support is in SVN trunk

View: New views
4 Messages — Rating Filter:   Alert me  

Initial annotation support is in SVN trunk

by Alexandru Popescu ☀ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all!

Initial support for annotations has been committed to the SVN trunk.
Here is a short list of what is done and what should be done in the
future:

What it does:

1/  It doesn't break anything existing (hopefully)
2/ Performs checks on annotation usage so this is correct (retention
policy, targets, attribute types, etc.)

What it doesn't do:
1/ doesn't support annotation array attributes
2/ doesn't support annotation annotation attributes
3/ doesn't support annotations on parameters, local variables, annotations
4/ doesn't implement support for defining annotations

Last but not least, there are not test committed in the trunk, as we
need to figure out how we can add test to be run only if a JVM >= 1.5
is available at build time.

However I have attached here what I am using for testing the code (a
set of annotations and scripts).

Please give it a try a let me know.

./alex
--
.w( the_mindstorm )p.
_____________________________________
  Alexandru Popescu, OSS Evangelist
TestNG/Groovy/AspectJ/WebWork/more...
  Information Queue ~ www.InfoQ.com


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

annotations.jar (5K) Download Attachment

Re: Initial annotation support is in SVN trunk

by Alexandru Popescu ☀ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 1/22/07, Alexandru Popescu <the.mindstorm.mailinglist@...> wrote:
> Hi all!
>
> Initial support for annotations has been committed to the SVN trunk.
> Here is a short list of what is done and what should be done in the
> future:
>
> What it does:
>
> 1/  It doesn't break anything existing (hopefully)

I've noticed that CC failed after this commit. Here all tests are
passing, so I suspect the problem may be caused by the change in
CompilerConfiguration (the addition of the
setTargetBytecode/getTargetBytecode).

./alex
--
.w( the_mindstorm )p.

> 2/ Performs checks on annotation usage so this is correct (retention
> policy, targets, attribute types, etc.)
>
> What it doesn't do:
> 1/ doesn't support annotation array attributes
> 2/ doesn't support annotation annotation attributes
> 3/ doesn't support annotations on parameters, local variables, annotations
> 4/ doesn't implement support for defining annotations
>
> Last but not least, there are not test committed in the trunk, as we
> need to figure out how we can add test to be run only if a JVM >= 1.5
> is available at build time.
>
> However I have attached here what I am using for testing the code (a
> set of annotations and scripts).
>
> Please give it a try a let me know.
>
> ./alex
> --
> .w( the_mindstorm )p.
> _____________________________________
>   Alexandru Popescu, OSS Evangelist
> TestNG/Groovy/AspectJ/WebWork/more...
>   Information Queue ~ www.InfoQ.com
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: Initial annotation support is in SVN trunk

by Alexandru Popescu ☀ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have committed the support for array type attributes (except
annotation arrays). I think by now most of the cases are covered.


./alex
--
.w( the_mindstorm )p.
_____________________________________
  Alexandru Popescu, OSS Evangelist
TestNG/Groovy/AspectJ/WebWork/more...
  Information Queue ~ www.InfoQ.com


On 1/22/07, Alexandru Popescu <the.mindstorm.mailinglist@...> wrote:

> Hi all!
>
> Initial support for annotations has been committed to the SVN trunk.
> Here is a short list of what is done and what should be done in the
> future:
>
> What it does:
>
> 1/  It doesn't break anything existing (hopefully)
> 2/ Performs checks on annotation usage so this is correct (retention
> policy, targets, attribute types, etc.)
>
> What it doesn't do:
> 1/ doesn't support annotation array attributes
> 2/ doesn't support annotation annotation attributes
> 3/ doesn't support annotations on parameters, local variables, annotations
> 4/ doesn't implement support for defining annotations
>
> Last but not least, there are not test committed in the trunk, as we
> need to figure out how we can add test to be run only if a JVM >= 1.5
> is available at build time.
>
> However I have attached here what I am using for testing the code (a
> set of annotations and scripts).
>
> Please give it a try a let me know.
>
> ./alex
> --
> .w( the_mindstorm )p.
> _____________________________________
>   Alexandru Popescu, OSS Evangelist
> TestNG/Groovy/AspectJ/WebWork/more...
>   Information Queue ~ www.InfoQ.com
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: Initial annotation support is in SVN trunk

by Alexandru Popescu ☀ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 1/22/07, Alexandru Popescu <the.mindstorm.mailinglist@...> wrote:
> I have committed the support for array type attributes (except
> annotation arrays). I think by now most of the cases are covered.
>

Attached you can find a set of annotations and scripts I have used for testing.

./alex
--
.w( the_mindstorm )p.
_____________________________________
  Alexandru Popescu, OSS Evangelist
TestNG/Groovy/AspectJ/WebWork/more...
  Information Queue ~ www.InfoQ.com

>
> ./alex
> --
> .w( the_mindstorm )p.
> _____________________________________
>   Alexandru Popescu, OSS Evangelist
> TestNG/Groovy/AspectJ/WebWork/more...
>   Information Queue ~ www.InfoQ.com
>
>
> On 1/22/07, Alexandru Popescu <the.mindstorm.mailinglist@...> wrote:
> > Hi all!
> >
> > Initial support for annotations has been committed to the SVN trunk.
> > Here is a short list of what is done and what should be done in the
> > future:
> >
> > What it does:
> >
> > 1/  It doesn't break anything existing (hopefully)
> > 2/ Performs checks on annotation usage so this is correct (retention
> > policy, targets, attribute types, etc.)
> >
> > What it doesn't do:
> > 1/ doesn't support annotation array attributes
> > 2/ doesn't support annotation annotation attributes
> > 3/ doesn't support annotations on parameters, local variables, annotations
> > 4/ doesn't implement support for defining annotations
> >
> > Last but not least, there are not test committed in the trunk, as we
> > need to figure out how we can add test to be run only if a JVM >= 1.5
> > is available at build time.
> >
> > However I have attached here what I am using for testing the code (a
> > set of annotations and scripts).
> >
> > Please give it a try a let me know.
> >
> > ./alex
> > --
> > .w( the_mindstorm )p.
> > _____________________________________
> >   Alexandru Popescu, OSS Evangelist
> > TestNG/Groovy/AspectJ/WebWork/more...
> >   Information Queue ~ www.InfoQ.com
> >
> >
> >
>


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

annotations.jar (7K) Download Attachment