Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The referenced package 'http://www.eclipse.org/xtext/common/JavaVMTypes' was imported from a different location. #38

Closed
GoogleCodeExporter opened this issue Apr 27, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Error in org.eclipselabs.spray.xtext/Spray.xtext with message:
The referenced package 'http://www.eclipse.org/xtext/common/JavaVMTypes' was 
imported from a different location. Here: 
'platform:/plugin/org.eclipse.xtext.common.types/model/JavaVMTypes.ecore

What steps will reproduce the problem?
1. Make dir C:/spray_sources/
2. cd to C:/spray_sources/
3. Make repository clone with command:
     git clone https://code.google.com/a/eclipselabs.org/p/spray/
   (so after cloning I got only one "spray" directory inside C:/spray_sources/)
4. Open workspace with set path to C:/spray_sources/
5. Import project from spray/releng
6. Set "Spray Target Platform" in Window > Preferences > Plugin-Development > 
Target Platform
7. Import all projects from spray/plugins/
8. After projects auto-building and refreshing I got several errors in 
Spray.xtext - main of which described above

What is the expected output? What do you see instead?
I expect to see no errors after projects' building

What version of the product are you using? On what operating system?
I use eclipse with info:
"Eclipse Modeling Tools

Version: Indigo Release
Build id: 20110615-0604"

Please provide any additional information below.
If I build with:
mvn clean install -Pskip-ui-tests

all works perfectly

Original issue reported on code.google.com by Alex.Rol...@gmail.com on 4 Oct 2011 at 8:14

@GoogleCodeExporter
Copy link
Author

Repository Commit:eb21786a6220b763416ce6298fa63efa1902540a

Original comment by Alex.Rol...@gmail.com on 4 Oct 2011 at 8:18

@GoogleCodeExporter
Copy link
Author

The error mentioned above does not occur anymore. References in the metamodel 
and genmodel are using NS URIs now, we had some platform URIs there. The 
Grammar also uses only NS URI, which is recommended from Xtext 2.1.0 on.

However, another error is shown, which is likely a Xtext bug. Opened issue#70 
to track this one.

Original comment by karsten....@googlemail.com on 10 Nov 2011 at 5:58

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant