Hi all,
I'm having a big (blocker) problem importing in eclipse the master branch of geotools.
I usually import multiple projects (for debug purpose) into the same eclipse workspace so I have to use the -Declipse.addVersionToProjectName=true flag which append the version to the eclipse project name.
Since this commit:
3b238218b113403b2249b0f15a23884c446e6f7b
of the:
2013-06-19 13:38:28
Which upgrades the version of the eclipse-plugin from the 2.5 to 2.9 this is no more possible without some workaround (F.e. installing maven plugin or other tricks).
This is the result of the .project file compiling with the 2.5 plugin version:
--------------
<projectDescription>
<name>docs-11-SNAPSHOT</name>
<comment>GeoTools website, user and developer guides.</comment>
<projects>
<project>gt-api-11-SNAPSHOT</project>
<project>gt-brewer-11-SNAPSHOT</project>
<project>gt-coverage-11-SNAPSHOT</project>
<project>gt-cql-11-SNAPSHOT</project>
<project>gt-data-11-SNAPSHOT</project>
...
--------------
This is the result with the buggy 2.9 version:
--------------
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>docs-11-SNAPSHOT</name>
<comment>GeoTools website, user and developer guides. NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
<projects>
<project>gt-main</project>
<project>gt-api</project>
<project>gt-referencing</project>
<project>gt-metadata</project>
<project>gt-opengis</project>
....
--------------
The result is that eclipse is not able to locate the project on the classpath (giving many of the following messages):
—
...
Description Resource Path Location Type
Project 'gt-imagemosaic-11-SNAPSHOT' is missing required Java project: 'gt-cql' gt-imagemosaic-11-SNAPSHOT Build path Build Path Problem
...
Could we rollback to the working plugin version?
Refs:
http://jira.codehaus.org/browse/MECLIPSE-558
https://jira.codehaus.org/browse/MECLIPSE-702
https://jira.codehaus.org/browse/MECLIPSE-720
Cheers,
Carlo Cancellieri
|