Announcement Announcement Module
Collapse
No announcement yet.
problem importing a project Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment


    • #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.

      Comment


      • #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.

        Comment


        • #5
          Glad you got it to work. Hope you enjoy using Roo!

          Comment

          Working...
          X