Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Objectteams » OTDT 0.7.0 M2 - this is real(Milestone 2 is available from download.eclipse.org)
OTDT 0.7.0 M2 - this is real [message #532174] Fri, 07 May 2010 12:21 Go to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
After our warm-up release 0.7.0 M1, I have uploaded the second
milestone release to the Eclipse server. In contrast to the
cautionary words accompanying M1, the new Milestone 2 brings
the OTDT back to the maturity and quality it had before the
big move to Eclipse.org.

Milestone 2 passes a total of 49267 unit tests:
- 42654 JDT regression tests
- 6613 OT/J specific tests.

Milestone 2 is based on Eclipse SDK 3.6.0 M7 and should also
be compatible with other Eclipse Packages due today.

More on downloading/installing:
http://www.eclipse.org/objectteams/download.php

Migrating existing projects from OTDT 1.x to 0.7.x is supported
by a set of special errors & quickfixes. Read more at:
http://wiki.eclipse.org/OTHowtos/Migrating_Projects_To_0.7

Here is the list of issues resolved in Milestone 2:

310621 [compiler] should warn when after callin ignores return value of its role method
310995 [hierarchy] Support quick hierarchy for role methods
311201 [compiler] hasRole(Object, Class) call in inner teams ends up in NoSuchMethodError
311339 [dom] Quickfix "Add Return Statement" inserts invalid code
311432 [rewrite] Inferred callouts to private static fields make OrganizeImports to import private fields
308029 Automatically migrate OT-projects to new namespace
311109 nested teams must be specified using their internal name with "$__OT__"
311206 Adding InnerTeam for aspectBinding with the PDE Extension Editor results in wrong code

Happy downloading
Stephan

PS: Don't you think the OTDT could gather more than 20 votes
on the new Eclipse Marketplace so it would make it into the
top 10 list? Smile
Re: OTDT 0.7.0 M2 - this is real [message #534406 is a reply to message #532174] Wed, 19 May 2010 03:08 Go to previous messageGo to next message
pinghe Mising name is currently offline pinghe Mising nameFriend
Messages: 13
Registered: March 2010
Junior Member
When released OT/J command line compiler?
Re: OTDT 0.7.0 M2 - this is real [message #534547 is a reply to message #534406] Wed, 19 May 2010 13:50 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
pinghe wrote on Tue, 18 May 2010 23:08
When released OT/J command line compiler?


Thanks for asking, I actually forgot the command line compiler
when migrating the build process to Eclipse.org.

For now I have uploaded a snapshot to
http://download.eclipse.org/objectteams/ecotj/ecotj-I2010051 90940.jar

I should mention that this version already contains the
change from https://bugs.eclipse.org/310917
which changes the way precedences affect "after" callin bindings.

hope this helps, next build should again include a matching
command line compiler.

best,
Stephan
Re: OTDT 0.7.0 M2 - this is real [message #534713 is a reply to message #534547] Thu, 20 May 2010 05:48 Go to previous messageGo to next message
pinghe Mising name is currently offline pinghe Mising nameFriend
Messages: 13
Registered: March 2010
Junior Member
thanks.
Re: OTDT 0.7.0 M2 - this is real [message #534750 is a reply to message #532174] Thu, 20 May 2010 08:51 Go to previous messageGo to next message
pinghe Mising name is currently offline pinghe Mising nameFriend
Messages: 13
Registered: March 2010
Junior Member
There is another problem. lombok Not working. Please refer to the following contents.

http://www.ibm.com/developerworks/opensource/library/os-lomb ok/index.html
Re: OTDT 0.7.0 M2 - this is real [message #535324 is a reply to message #534750] Sat, 22 May 2010 10:10 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
pinghe wrote on Thu, 20 May 2010 04:51
There is another problem. lombok Not working. Please refer to the following contents.

http://www.ibm.com/developerworks/opensource/library/os-lomb ok/index.html



You mean you want to use the OT/J compiler together with lombok?
This will most certainly require some extra work.
Please file a bug (enhancement) for this issue.

From briefly browsing lombok I couldn't clearly see how it integrates into
the compile-and-run cycle. Do they
- replace / wrap the compiler?
- add an annotation processor?
- perform bytecode transformations (compile time / load time?)

With a basic understanding of lombok's working I could estimate how much
effort it would cost to support combining OT/J with lombok.

Stephan
Re: OTDT 0.7.0 M2 - this is real [message #535494 is a reply to message #535324] Mon, 24 May 2010 04:10 Go to previous messageGo to next message
pinghe Mising name is currently offline pinghe Mising nameFriend
Messages: 13
Registered: March 2010
Junior Member
Lombok use annotation on build-time, like apt (http://java.sun.com/j2se/1.5.0/docs/guide/apt/).Run-time don't need lombok.jar.

Lombok use annotation : @Retention(RetentionPolicy.SOURCE). annotations are to be discarded by the compiler.

1 write source:
@setter private String myfiled;

2 compile(javac classpath: lombok.jar)
2.1auto generate source:
private String myfiled;
public void setMyfield(String myfiled){
this.myfield=myfield
}

2.2 generate bytecode class



in addition:
eclipse and javac compiler working properly
Re: OTDT 0.7.0 M2 - this is real [message #537295 is a reply to message #535494] Tue, 01 June 2010 19:55 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
pinghe,
could you give some more info what exactly breaks when using lombok
together with the OTDT?

- Will lombok's annotation processor be invoked as it should?
(I couldn't find how that is configured)
- Does the annotation processor throw any exceptions?
- Does the annotation processor create any code? Is that code broken?

I also saw that lombok for Eclipse uses some very low level byte code transformations.
That may or may not conflict with OT/Equinox.

As I currently don't have the time to try it myself, I'd be grateful if you could
describe the problem a little more.

thanks,
Stephan

Re: OTDT 0.7.0 M2 - this is real [message #574230 is a reply to message #534750] Sat, 22 May 2010 10:10 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
pinghe wrote on Thu, 20 May 2010 04:51
> There is another problem. lombok Not working. Please refer to the following contents.
>
> http://www.ibm.com/developerworks/opensource/library/os-lomb ok/index.html


You mean you want to use the OT/J compiler together with lombok?
This will most certainly require some extra work.
Please file a bug (enhancement) for this issue.

From briefly browsing lombok I couldn't clearly see how it integrates into
the compile-and-run cycle. Do they
- replace / wrap the compiler?
- add an annotation processor?
- perform bytecode transformations (compile time / load time?)

With a basic understanding of lombok's working I could estimate how much
effort it would cost to support combining OT/J with lombok.

Stephan
Re: OTDT 0.7.0 M2 - this is real [message #574248 is a reply to message #574230] Mon, 24 May 2010 04:10 Go to previous messageGo to next message
pinghe Mising name is currently offline pinghe Mising nameFriend
Messages: 13
Registered: March 2010
Junior Member
Lombok use annotation on build-time, like apt (http://java.sun.com/j2se/1.5.0/docs/guide/apt/).Run-time don't need lombok.jar.

Lombok use annotation : @Retention(RetentionPolicy.SOURCE). annotations are to be discarded by the compiler.

1 write source:
@setter private String myfiled;

2 compile(javac classpath: lombok.jar)
2.1auto generate source:
private String myfiled;
public void setMyfield(String myfiled){
this.myfield=myfield
}

2.2 generate bytecode class



in addition:
eclipse and javac compiler working properly
Re: OTDT 0.7.0 M2 - this is real [message #574399 is a reply to message #574248] Tue, 01 June 2010 19:55 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
pinghe,
could you give some more info what exactly breaks when using lombok
together with the OTDT?

- Will lombok's annotation processor be invoked as it should?
(I couldn't find how that is configured)
- Does the annotation processor throw any exceptions?
- Does the annotation processor create any code? Is that code broken?

I also saw that lombok for Eclipse uses some very low level byte code transformations.
That may or may not conflict with OT/Equinox.

As I currently don't have the time to try it myself, I'd be grateful if you could
describe the problem a little more.

thanks,
Stephan
Re: OTDT 0.7.0 M2 - this is real [message #681809 is a reply to message #534750] Thu, 09 June 2011 22:16 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Hi again,

skimming through old messages, I found this issue unresolved:

pinghe wrote on Thu, 20 May 2010 10:51
There is another problem. lombok Not working. Please refer to the following contents.

http://www.ibm.com/developerworks/opensource/library/os-lomb ok/index.html


Is this still relevant?

If so I'd appreciate if you file a bug.
Thanks,
Stephan
Previous Topic:2.0.0 RC1 with one small language change
Next Topic:Eclipse with OT/J really slow
Goto Forum:
  


Current Time: Fri Mar 29 08:35:39 GMT 2024

Powered by FUDForum. Page generated in 0.03256 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top