-
Jan 14th, 2010, 03:06 AM
#1
problem importing a project
hI,
I am trying to import a project into spring source.
I select file/ import /general Existing projects into workspace.
C:\springSourceDev\workspace\MyProj
MyProj has been built the reccomended way
src\main\java
package uk.com.myproj\myapp.java
The problem is once the project has been imported in the build expects
package main.java.uk.com.myproj
instead of package uk.com.myproj
What do I need to set to ensure that main/java are seen as part of the src folder structure an not package structure.
Thanks for any help. I am more used to JDEV than eclipse
-
Jan 14th, 2010, 03:58 AM
#2
Found the problem
Make sure roo is on your path, navifate to the project run the command perform roo.
This will sort out all the dependancies then import the project.
-
Jan 14th, 2010, 05:27 PM
#3
I recommend taking a look at the steps in the http://static.springsource.org/sprin...ginning-step-4 section of our reference guide, as it details how to import the project into Eclipse. It's pretty straight forward, but it's explained nicely in the link so I won't duplicate it here.
-
Jan 15th, 2010, 03:13 AM
#4
Thanks Ben
Will read the link, I found that when creating a roo project or importing a roo project I need to navigate to my dev env where the project is set up.
Run the command ro, then run the command
roo> perform eclipse
This imports the project into STS, then just import the project the usual way.
Thanks.
-
Jan 15th, 2010, 05:21 PM
#5
Glad you got it to work. Hope you enjoy using Roo!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules