Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I import the whole project to eclipse and run it? #14

Open
chakpongchung opened this issue Oct 30, 2017 · 3 comments
Open

How can I import the whole project to eclipse and run it? #14

chakpongchung opened this issue Oct 30, 2017 · 3 comments

Comments

@chakpongchung
Copy link

A readme file is appreaciated.

@CesarChaMal
Copy link

CesarChaMal commented Nov 7, 2017

Hello @chakpongchung i had the same problem, i fork the repo and i had added the maven wrapper to my repo, check the readme to add the configuration to eclipse then just import the project using eclipse and thats it.

https://github.com/CesarChaMal/Head-First-Design-Patterns

Regards.

@gongzelong0718
Copy link

@CesarChaMal
Thanks, this works for me.
Could you explain how you added these files to make it done?
From the files added, it seems a lot of work to add maven to have all the dependencies clear and also to add the configuration for eclipse and intellij IDE's.

@CesarChaMal
Copy link

@gongzelong0718 if you dont want to add to many files, works only with the pom.xml but you need to have Maven installed in advanced. I added the maven wrapper files so anyone can clear the dependencies without having Maven installed, The wrapper does that for you. This are the wrapper files

  1. .mvn/wrapper
  2. mvnw (linux script)
  3. mvnw.cmd (windows script)

If you are using any shell linux or windows you can run ./mvnw install for linux or mac and mvnw install for windows.

This will clear the dependencies for you.

Also as an extra i added this commands
For eclipse
linux
./mvnw eclipse:eclipse

windows
mvnw eclipse:eclipse

For intellij
linux
./mvnw idea:idea

windows
mvnw idea:idea

So you can import using Eclipse or Intellj.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants