1. Introduction When building a project in Eclipse, it's sometimes necessary to add a source path so that compilation will succeed. In o...
1. Introduction
When building a project in Eclipse, it's sometimes necessary to add a source path so that compilation will succeed. In our case, our project's version is generated on compile-time and is being referenced by other java classes.
1.1 Prerequisites
- You must have experience with Eclipse and Maven.
2. Adding the Source Folder
For this tutorial, we will be using an open-source project where I'm involved in the development which is the Meveo Platform.
- For this case, make sure that the project is checkout correctly.
- Expand the folder that you wanted to add as a source.
- Right-click on it / Build Path / Use as a Source Folder
- And you should be able to see the new source folder under the parent project.
Post a Comment