Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » dependency on org.apache.commons.lang.text
dependency on org.apache.commons.lang.text [message #1488249] Wed, 26 November 2014 12:43 Go to next message
Gerrick Bivins is currently offline Gerrick BivinsFriend
Messages: 7
Registered: January 2014
Junior Member
With jdk8 support in luna, I'm in the process of trying to port one of my prototype javafx apps into my RCP project.
I've include RCP 3.x Target Platform Feature as described in
Tutorial 2
Things compile fine but at runtime I get some unresolved bundles:
Unresolved requirement: Require-Bundle: org.eclipse.fx.osgi.util; bundle-version="1.2.0"
    -> Bundle-SymbolicName: org.eclipse.fx.osgi.util; bundle-version="1.2.0.201411250703"
       org.eclipse.fx.osgi.util [1912]
         Unresolved requirement: Require-Bundle: org.eclipse.fx.core; bundle-version="0.9.0"
           -> Bundle-SymbolicName: org.eclipse.fx.core; bundle-version="1.2.0.201411250703"
              org.eclipse.fx.core [1908]
                Unresolved requirement: Import-Package: org.apache.commons.lang.text; version="2.6.0"

Where is org.apache.commons.lang.text supposed to come from? Is it bundled up with e(fx)clipse?
Re: dependency on org.apache.commons.lang.text [message #1488276 is a reply to message #1488249] Wed, 26 November 2014 13:14 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You should be able to retrieve org.apache.commons.lang.text from orbit
what I don't fully understand is who is adding
"org.eclipse.fx.osgi.util" the RCP does not hold it. Are we really
talking about integrating JavaFX in an SWT-RCP application?

Tom

On 26.11.14 13:43, Gerrick Bivins wrote:
> With jdk8 support in luna, I'm in the process of trying to port one of
> my prototype javafx apps into my RCP project.
> I've include RCP 3.x Target Platform Feature as described in
> https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial2
> Things compile fine but at runtime I get some unresolved bundles:
>
> Unresolved requirement: Require-Bundle: org.eclipse.fx.osgi.util;
> bundle-version="1.2.0"
> -> Bundle-SymbolicName: org.eclipse.fx.osgi.util;
> bundle-version="1.2.0.201411250703"
> org.eclipse.fx.osgi.util [1912]
> Unresolved requirement: Require-Bundle: org.eclipse.fx.core;
> bundle-version="0.9.0"
> -> Bundle-SymbolicName: org.eclipse.fx.core;
> bundle-version="1.2.0.201411250703"
> org.eclipse.fx.core [1908]
> Unresolved requirement: Import-Package:
> org.apache.commons.lang.text; version="2.6.0"
>
> Where is org.apache.commons.lang.text supposed to come from? Is it
> bundled up with e(fx)clipse?
Re: dependency on org.apache.commons.lang.text [message #1488461 is a reply to message #1488276] Wed, 26 November 2014 16:25 Go to previous message
Gerrick Bivins is currently offline Gerrick BivinsFriend
Messages: 7
Registered: January 2014
Junior Member
Hi Tom,

Thanks for the quick response.

Yes, you are correct. The existing application is an SWT RCP app. I initially had only the RCP 3.x Target Platform Feature installed and was hitting some strange error about like
Type Access restriction: The type 'Scene' is not API (restriction on required library


Then I started adding other features to try and resolve this.
It must have been that my coffee hadn't kicked in yet because
I've now reverted my target back to just include the RCP 3.x Target Platform Feature,restarted Eclipse, and everything is working as expected.

Thanks again
Previous Topic:switching css themes with e(fx)clipse
Next Topic:JavaFX classes not resolved after product export
Goto Forum:
  


Current Time: Fri Apr 26 12:48:58 GMT 2024

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

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

Back to the top