I would be happy to install m2eclipse if it wasn't so painful to do.

But I tried this and it seems to work.  Thanks a lot Matheus.


Tim Koop
t...@timkoop.com <mailto:t...@timkoop.com>
www.timkoop.com <http://www.timkoop.com>

On 12/05/2010 4:35 PM, Matheus Eduardo Machado Moreira wrote:
    Like Christian sugested, it is a good idea to install m2eclipse.

    If you don't install de plugin (not recommended), define M2_REPO as a
classpath variable in Eclipse (preferences: Java>  Build Path>  Classpath
Variables). Its value must be the path to the root dir of your local maven
repository (eg. $USER_DIR/.m2/repository).

    Atenciosamente,

Matheus Eduardo Machado Moreira
matheus....@gmail.com

"Violence is the last refuge of the incompetent."
        Salvor Hardin (The Foundation, Isaac Asimov)


2010/5/12 Tim Koop<t...@timkoop.com>

No, I hadn't done that.  Perhaps it should be documented somewhere.

But I just tried it now.  Eclipse has imported the project, but it is now
complaining about a lot of "Unbound classpath variable: 'M2_REPO/..."



Tim Koop
t...@timkoop.com<mailto:t...@timkoop.com>
www.timkoop.com<http://www.timkoop.com>

On 12/05/2010 4:09 PM, Matheus Eduardo Machado Moreira wrote:

    Hi, Tim.

    Did you execute mvn eclipse:eclipse on the command line before trying
to
import the project?

    Atenciosamente,

Matheus Eduardo Machado Moreira
matheus....@gmail.com

"Violence is the last refuge of the incompetent."
        Salvor Hardin (The Foundation, Isaac Asimov)


2010/5/12 Tim Koop<t...@timkoop.com>



I'm having a problem with the Tapestry tutorial on this page:
http://tapestry.apache.org/tapestry5.1/tutorial1/first.html

I have created a project with Maven (however, I used the instructions on
this page: http://java.dzone.com/articles/using-maven-create-new because
the one in the above tutorial didn't work--at least I couldn't get it
working)

But when I try to Import Existing Project Into Workspace, the project
made
by Maven, Eclipse says "No projects are found to import".  What's the
deal?

Thanks.

--
Tim Koop
t...@timkoop.com<mailto:t...@timkoop.com>
www.timkoop.com<http://www.timkoop.com>




Reply via email to