Results 1 to 5 of 5

Thread: problem importing a project

  1. #1

    Default 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

  2. #2

    Default 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.

  3. #3
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    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.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

  4. #4

    Default 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.

  5. #5
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Glad you got it to work. Hope you enjoy using Roo!
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •