Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Help request on Groovy + OSGi
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Hendy Irawan  
View profile  
 More options Jun 1 2008, 11:08 am
From: "Hendy Irawan" <he...@rainbowpurple.com>
Date: Sun, 1 Jun 2008 22:08:47 +0700
Local: Sun, Jun 1 2008 11:08 am
Subject: Help request on Groovy + OSGi

I need help debugging what should be a straightforward OSGi classloading
problem, running Groovy in OSGi.

The stuff is here:

https://scm.ops4j.org/repos/ops4j/laboratory/users/ceefour/test.groov...

mvn install pax:provision will run the application. mvn pax:eclipse will
also be working to generate Eclipse projects.

The offending line is so simple:

        new GroovyShell().evaluate("println 'Hello World from Groovy!';");

Which should just run the groovy script, but it can't.

Please help me diagnose this problem, you may commit directly to that lab if
you wish (it's OPS4J anyway).

I think it will involve a change in Groovy's manifests, please inform. I
want to get this fixed so upcoming Groovy (1.5.7 and 1.6 release) can
flawlessly be used inside OSGi.

Note that I use Groovy snapshot because that's the only version that has
proper resolvable OSGi manifests out-of-the-box (see:
http://jira.codehaus.org/browse/GROOVY-2863)

A side note is that Groovy 1.5.1 artifact available from SpringSource
Enterprise Bundle Repository can work just fine when used as a replacement
dependency. I'm hoping that someone can "backport" i.e. contribute that
positive change back to Groovy itself, so there'd be no need to wrap it just
to make it work with OSGi.

I can only presume there aren't many Groovy devs that care about OSGi so
hopefully we can help push this forward.

Thank you.

--
Best regards,
Hendy Irawan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alin Dreghiciu  
View profile  
 More options Jun 2 2008, 5:29 am
From: "Alin Dreghiciu" <adreghi...@gmail.com>
Date: Mon, 2 Jun 2008 12:29:45 +0300
Local: Mon, Jun 2 2008 5:29 am
Subject: Re: Help request on Groovy + OSGi
Problem/solution description can be found here:
http://jira.codehaus.org/browse/GROOVY-2876

--
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
http://malaysia.jayway.net - New Energy for Projects - Great People
working on Great Projects at Great Places

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »