
Originally Posted by
Christian Dupuis
All,
this is very strange. Can you please send, attach or post the contents of .settings/com.springsource.sts.roo.core.prefs and .project? This might be helpful to identify the root cause.
Here's the thing: I had no "com.springsource.sts.roo.core.prefs" file in ".settings" –possibly as i had run "mvn clean:eclipse eclipse:eclipse" – so I copied it from a working project and now the roo shell will open the project!
One symptom to note is that when in the "Roo Shell Project Selection" dialog no Roo version is added to the project name.
Thanks for your input Christian that made me find the root cause!
However, I really don't think the "com.springsource.sts.roo.core.prefs" file should have to be present for STS to be able to open an existing updated Roo project properly. Do you agree? If so, it might be a JIRA-worth issue after all.
For completeness here's my .profile file:
.project:
Code:
<projectDescription>
<name>Tasktracker</name>
<comment/>
<projects/>
<buildSpec>
<buildCommand>
<name>org.eclipse.ajdt.core.ajbuilder</name>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
</buildCommand>
<buildCommand>
<name>org.eclipse.ajdt.core.ajbuilder</name>
<arguments>
<dictionary>
<key>aspectPath</key>
<value>org.springframework.aspects</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.springframework.ide.eclipse.core.springbuilder</name>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.ajdt.ui.ajnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>com.springsource.sts.roo.core.nature</nature>
<nature>org.springframework.ide.eclipse.core.springnature</nature>
</natures>
</projectDescription>

Originally Posted by
Christian Dupuis
One additional question: are you using an existing workspace with 2.6.0.RELEASE? I mean one that has been created with an older version of STS?
Yes, mine was originally created with the STS version current late summer 2010. I'm also sharing this space with Netbeans 6.8, though I'm haven't been using that much lately. When I do it's 100% maven projects and moving between NB and STS have always worked without any problems.