Programming environment
- Do I need to use Maven if I use Eclipse?
- When I start the VM using "vagrant up" a window comes out. What is it and how to get rid of it?
- How to activate the VirtualBox window? What are the username and password?
About the project
Programming environment
- Do I need to use Maven if I use Eclipse?
-
If you use Eclipse to program Java you will find buttons to run your program and test it. Our tests were written using JUnit, which Eclipse also understands. So in principle you would not need Maven to run anything if you use Eclipse.
Then why do I suggest you should run Maven instead? There is a number of reasons. The first one is that Maven is probably the de facto standard to compile, test, and run Java. You will need to learn Maven sooner or later. Maven does much more than simply running Java. One of the main advantages of using Maven is that it manages dependencies for you, which out-of-the-box Eclipse does not.
In fact, the best of both worlds can be reached if you import your project in Eclipse as a Maven project. So Eclipse will use Maven behind the scenes to manage dependencies and build everything for you.
This is the VirtualBox window. VirtualBox show such a window to let users interact directly with the VM. But in this course we encourage students to use SSH instead. So this window is only useful for beginners who are not familiar with SSH yet.
To get rid of this window, edit the Vagrantfile and change the value of v.gui to false. Changes will be effective the next time you turn on the VM.
In order to activate the VirtualBox window, edit the Vagrantfile and change the value of v.gui to true.
Username and password are vagrant and vagrant, respectively.
About the project
- I love this project and I want to contribute. What should I do?
-
There are several ways to contribute. First, read the about page.
The easiest way to help is to create a GitHub account and create an issue for us to fix: https://github.com/aamm/02j/issues