Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Graphiti and Java 1.5
Graphiti and Java 1.5 [message #748244] Mon, 24 October 2011 15:27 Go to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Hello,

I am currently working on the Graphiti/Dawn (the UI integration
subcomponent of CDO) integration and had some trouble with the JRE
versions. CDO, as many other projects, has Java 1.5 as minimum
requirement. As Graphiti has 1.6 set as execution requirement we were
facing some trouble. I was able to modify my local workspace to work on
1.6, but in the end it turned out, that our Hudson build was failing
when buckminster was trying to open the Graphiti bundles because they
were build using pack200 from the 1.6 JDK which is not compatible to the
1.5 version used in our build.

So I am wondering whether there is a reason why Graphiti is using the
strict requirement to 1.6. Would it be possible to lower the version
range to make it easier to integrate Graphiti into other projects?
Cheers,

Martin
Re: Graphiti and Java 1.5 [message #749446 is a reply to message #748244] Tue, 25 October 2011 08:18 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Hello Martin,

the reason why Graphiti requires Java 1.6 is that we have used the 1.6
option to use the @override tag also for the implementation of interface
methods (found around 1000 places in the framework). So going back to 1.5
would be at least an high effort.

I wonder if there are any alternatives for you, e.g. using the unpacked JARs
from our repository (they are also available on our site AFAIK)?

Michael
Re: Graphiti and Java 1.5 [message #749532 is a reply to message #749446] Tue, 25 October 2011 09:19 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Hi Michael,

Thanks for the quick response. :)

Meanwhile we found a quick workaround with passing the
"org.eclipse.update.jarprocessor.pack200" JVM option to our buckminster
import which materializes the bundles using java 1.6, but packs our
bundles with 1.5 in a later step.

But I fear that as soon as we are running our UI tests against the
Dawn/Graphiti integration those tests will always fail as our job is
configured to use Java 1.5. I have to admit that we do not have any UI
tests yet integrated into our build (we only run them locally) and I
think it will take a while until we bring them up on the Hudson build.
So currently we have a solution.

From our customers site of view it might also be nice to have a 1.5
compatible version of Graphiti if they want to use the Dawn integration,
though I am not sure how many are using 1.5 on the client site.

If the overrides on interfaces is the only reason for Java 1.6, I would
be willing to help making Graphiti compatible to java 1.5.

But if no other Graphiti user has requested this downgrade I can
understand I you would like to avoid the effort.

Thanks :)

Cheers,

Martin


Am 25.10.2011 10:18, schrieb Michael Wenz:
> Hello Martin,
>
> the reason why Graphiti requires Java 1.6 is that we have used the 1.6
> option to use the @override tag also for the implementation of interface
> methods (found around 1000 places in the framework). So going back to
> 1.5 would be at least an high effort.
>
> I wonder if there are any alternatives for you, e.g. using the unpacked
> JARs from our repository (they are also available on our site AFAIK)?
>
> Michael
>
Re: Graphiti and Java 1.5 [message #749836 is a reply to message #749532] Tue, 25 October 2011 13:23 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Great to hear you have that workaround!

I think it would be good to have that at least in our backlog, so people can
express their interest in a Java 1.5 compatible version of Graphiti and
potentially raise its importance. Would you open a bugzilla for that?

Thanks,
Michael
Re: Graphiti and Java 1.5 [message #749898 is a reply to message #749836] Tue, 25 October 2011 13:59 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Hi Michael,

Am 25.10.2011 15:23, schrieb Michael Wenz:
> Great to hear you have that workaround!
>
> I think it would be good to have that at least in our backlog, so people
> can express their interest in a Java 1.5 compatible version of Graphiti
> and potentially raise its importance. Would you open a bugzilla for that?

I filed Bug 361932(https://bugs.eclipse.org/bugs/show_bug.cgi?id=361932).

Thanks again,

Cheers,

Martin


>
> Thanks,
> Michael
Re: Graphiti and Java 1.5 [message #752402 is a reply to message #749898] Wed, 26 October 2011 11:32 Go to previous message
Andreas Graf is currently offline Andreas GrafFriend
Messages: 211
Registered: July 2009
Senior Member
Dear all,

I am extremely interested in a Graphiti / CDO integration, and if that implies Java 1.5, I am strongly interested Smile

@Martin Fluegge: It would be great if we could meet at ECE and discuss activities.

Regards,

Andreas
Previous Topic:ResizeFeature
Next Topic:Highlight anchors?
Goto Forum:
  


Current Time: Thu Apr 25 10:09:17 GMT 2024

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

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

Back to the top