This script adds to liferay eclipse project all src directories from osgi modules
Just copy the sh files to your system
For windows users: you can launch the script using git bash, cygwin or mingw
- Important: Before using the script, execute
ant allin order to download alljardependencies - Execute
/path/generate_modules_classpath.sh [project-directory]- project-directory: directory where eclipse project is located. (optional parameter, the current directory by default)
- The script will make a backup of original eclipse
.classpathin.classpath_backupand.classpathwill be populated with all src and jar files from osgi modules - Open eclipse and execute a refresh+clean of the project
In case you also want to add tests classes to classpath, use generate_modules_classpath_with_tests.sh
You will see all src modules and you will be able to find any liferay class from modules
