Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Warning 'The imported package is not on the classpath...' after update
Warning 'The imported package is not on the classpath...' after update [message #1229406] Thu, 09 January 2014 11:33 Go to next message
Till F. is currently offline Till F.Friend
Messages: 58
Registered: August 2012
Member
Hi,

I just updated to Xtext 2.5.0 and get the warning

The imported package is not on the classpath of this project which may lead to follow up errors.


on the line

import "ht tp://www.eclipse.org/emf/2002/Ecore" as Ecore


of my grammer. I found this post, which has helped some other guy, but I wasn't so lucky.

There was no warning before the update and I didn't do anything else. However, I cannot find any actual problems; its only the bare existence of the warning that confuses me.

This is how my manifest file looks like:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: my.bundle.name
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: my.bundle.name; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext;visibility:=reexport,
 org.eclipse.xtext.xbase;resolution:=optional;visibility:=reexport,
 org.eclipse.xtext.generator;resolution:=optional,
 org.eclipse.xtext.util,
 org.eclipse.xtext.common.types,
 org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional,
 org.eclipse.emf.codegen.ecore;resolution:=optional,
 org.eclipse.emf.mwe.utils;resolution:=optional,
 org.eclipse.emf.mwe2.launch;resolution:=optional,
 org.eclipse.emf.ecore,
 org.eclipse.emf.common,
 org.antlr.runtime,
 org.eclipse.ocl.ecore;bundle-version="3.3.0"
Import-Package: org.apache.log4j,
 org.eclipse.xtext.xbase.lib
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Re: Warning 'The imported package is not on the classpath...' after update [message #1232671 is a reply to message #1229406] Fri, 17 January 2014 13:15 Go to previous message
Aaron Digulla is currently offline Aaron DigullaFriend
Messages: 258
Registered: July 2009
Location: Switzerland
Senior Member
For which package do you get the warning?

That said, imported packages are resolved via the target platform. Go to the preferences, check which target platform is used and make sure the necessary plugins exist in the target.
Previous Topic:XTEXT, Buckminster and site.p2 w/o source
Next Topic:An error has occured See the log file ... .log
Goto Forum:
  


Current Time: Sat Apr 27 04:37:08 GMT 2024

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

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

Back to the top