Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Tycho and "Imported Packages"

Hello,

From the documentation, I gathered that Tycho supports "Imported Packages" but when I compile Xtext 2.2 projects, I get this error:

1. ERROR in xxx.java (at line 43)
        import org.eclipse.xtend2.lib.StringConcatenation;
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Access restriction: The type StringConcatenation is not accessible due to restriction on classpath entry $HOME/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.xtend2.lib/2.2.1.v201112130541/org.eclipse.xtext.xtend2.lib-2.2.1.v201112130541.jar

When I add the plugin org.eclipse.xtext.xtend2.lib to "Required Plug-ins", the error goes away.

Why?

Regards,

--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.pdark.de/                   http://blog.pdark.de/


Back to the top