Sharing xtext generated projects to Git causes errors in ui and ui.tests [message #1806761] |
Tue, 14 May 2019 20:25 |
Ajit Dingankar Messages: 12 Registered: July 2011 |
Junior Member |
|
|
I'm using xtext 2.17.1 on Eclipse 2019-03 on Linux, and had implemented a simple DSL in a newly created xtext project in a local workspace. I could start a new Eclipse runtime instance to test it. I added a validation rule and some tests and shared the generated projects to Git, and now I can't start the runtime due to errors in ui (and also ui.tests) project.
I've tried building after cleaning all projects as well as, importing the projects into a new workspace but without any luck.
I've pushed the git repo into a local gitlab project and pulled it from a different machine so I think that the Git repo itself is OK.
My .gitignore file is:
.settings
tmp
bin
target
generated
generated-sources
src-gen
xtend-gen
model
*.xml_gen
I've included the top few errors in the footer. I think the last error may point to the root cause which is the failure to connect to SOCKS proxy to check maven plugin.
However, I can connect to the SOCKS proxy host and port OK from the command
line with "nc -vz" without any problems. So I'm lost as to the next steps, and would
really appreciate any help!
Thanks,
Ajit
====
Description Resource Path Location Type
- cannot be resolved. ServerLauncher.xtend /com.intel.dml.web/src/com/intel/dml/web line: 42 /com.intel.dml.web/src/com/intel/dml/web/ServerLauncher.xtend Xtend Problem
AbstractDMLWebModule cannot be resolved to a type. DMLWebModule.xtend /com.intel.dml.web/src/com/intel/dml/web line: 10 /com.intel.dml.web/src/com/intel/dml/web/DMLWebModule.xtend Xtend Problem
AnnotationConfiguration cannot be resolved. ServerLauncher.xtend /com.intel.dml.web/src/com/intel/dml/web line: 27 /com.intel.dml.web/src/com/intel/dml/web/ServerLauncher.xtend Xtend Problem
com.google.inject.Guice cannot be resolved to a type. DMLWebSetup.xtend /com.intel.dml.web/src/com/intel/dml/web line: 6 /com.intel.dml.web/src/com/intel/dml/web/DMLWebSetup.xtend Xtend Problem
com.google.inject.Injector cannot be resolved to a type. DMLWebSetup.xtend /com.intel.dml.web/src/com/intel/dml/web line: 7 /com.intel.dml.web/src/com/intel/dml/web/DMLWebSetup.xtend Xtend Problem
com.intel.dml.DMLRuntimeModule cannot be resolved to a type. DMLWebSetup.xtend /com.intel.dml.web/src/com/intel/dml/web line: 8 /com.intel.dml.web/src/com/intel/dml/web/DMLWebSetup.xtend Xtend Problem
com.intel.dml.DMLStandaloneSetup cannot be resolved to a type. DMLWebSetup.xtend /com.intel.dml.web/src/com/intel/dml/web line: 9 /com.intel.dml.web/src/com/intel/dml/web/DMLWebSetup.xtend Xtend Problem
com.intel.dml.ide.DMLIdeModule cannot be resolved to a type. DMLWebSetup.xtend /com.intel.dml.web/src/com/intel/dml/web line: 10 /com.intel.dml.web/src/com/intel/dml/web/DMLWebSetup.xtend Xtend Problem
Couldn't find a JDK 1.5 or higher on the project's classpath. DMLServlet.xtend /com.intel.dml.web/src/com/intel/dml/web line: 4 /com.intel.dml.web/src/com/intel/dml/web/DMLServlet.xtend Xtend Problem
Couldn't find a JDK 1.5 or higher on the project's classpath. DMLWebModule.xtend /com.intel.dml.web/src/com/intel/dml/web line: 4 /com.intel.dml.web/src/com/intel/dml/web/DMLWebModule.xtend Xtend Problem
Couldn't find a JDK 1.5 or higher on the project's classpath. DMLWebSetup.xtend /com.intel.dml.web/src/com/intel/dml/web line: 4 /com.intel.dml.web/src/com/intel/dml/web/DMLWebSetup.xtend Xtend Problem
Couldn't find a JDK 1.5 or higher on the project's classpath. ServerLauncher.xtend /com.intel.dml.web/src/com/intel/dml/web line: 4 /com.intel.dml.web/src/com/intel/dml/web/ServerLauncher.xtend Xtend Problem
DisposableRegistry cannot be resolved to a type. DMLServlet.xtend /com.intel.dml.web/src/com/intel/dml/web line: 16 /com.intel.dml.web/src/com/intel/dml/web/DMLServlet.xtend Xtend Problem
DMLIdeModule cannot be resolved. DMLWebSetup.xtend /com.intel.dml.web/src/com/intel/dml/web line: 19 /com.intel.dml.web/src/com/intel/dml/web/DMLWebSetup.xtend Xtend Problem
DMLRuntimeModule cannot be resolved. DMLWebSetup.xtend /com.intel.dml.web/src/com/intel/dml/web line: 19 /com.intel.dml.web/src/com/intel/dml/web/DMLWebSetup.xtend Xtend Problem
DMLStandaloneSetup cannot be resolved to a type. DMLWebSetup.xtend /com.intel.dml.web/src/com/intel/dml/web line: 16 /com.intel.dml.web/src/com/intel/dml/web/DMLWebSetup.xtend Xtend Problem
Error resolving version for plugin 'org.apache.maven.plugins:maven-site-plugin' from the repositories [local (/home/ajit/.m2/repository), codehaus-snapshots (http://nexus.codehaus.org/snapshots/), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository pom.xml /com.intel.dml line 1 Maven pom Loading Problem
Error resolving version for plugin 'org.apache.maven.plugins:maven-site-plugin' from the repositories [local (/home/ajit/.m2/repository), codehaus-snapshots (http://nexus.codehaus.org/snapshots/), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository pom.xml /com.intel.dml.feature line 1 Maven pom Loading Problem
Error resolving version for plugin 'org.apache.maven.plugins:maven-site-plugin' from the repositories [local (/home/ajit/.m2/repository), codehaus-snapshots (http://nexus.codehaus.org/snapshots/), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository pom.xml /com.intel.dml.ide line 1 Maven pom Loading Problem
Error resolving version for plugin 'org.apache.maven.plugins:maven-site-plugin' from the repositories [local (/home/ajit/.m2/repository), codehaus-snapshots (http://nexus.codehaus.org/snapshots/), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository pom.xml /com.intel.dml.tests line 1 Maven pom Loading Problem
Error resolving version for plugin 'org.apache.maven.plugins:maven-site-plugin' from the repositories [local (/home/ajit/.m2/repository), codehaus-snapshots (http://nexus.codehaus.org/snapshots/), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository pom.xml /com.intel.dml.ui line 1 Maven pom Loading Problem
Exception cannot be resolved to a type. ServerLauncher.xtend /com.intel.dml.web/src/com/intel/dml/web line: 49 /com.intel.dml.web/src/com/intel/dml/web/ServerLauncher.xtend Xtend Problem
Failure to transfer org.eclipse.tycho:tycho-source-plugin:pom:1.3.0 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.eclipse.tycho:tycho-source-plugin:pom:1.3.0 from/to central (https://repo.maven.apache.org/maven2): Can't connect to SOCKS proxy:Connection refused (Connection refused) pom.xml /com.intel.dml.parent line 1 Maven pom Loading Problem
|
|
|
|
Powered by
FUDForum. Page generated in 0.03313 seconds