| ​​ | Note:Many of these configurations are already shared within the project. If you can't see them in the Eclipse "Debug Configurations" or "Run Configurations", its likely that your project is setup slightly differently than the way the configuration was generated. Check the "Filter launch configurations..." dialog and deselect "Filter Deleted/Unavailable Projects". All the shared configurations should then appear in the list. To use one of these, copy it and modify it to fit with your setup. Be sure to make this a local copy in the "Common" tab. This will prevent your work from being over writen. A common difference would be in the project name or if the repository is setup as a single project or multiple projects. Some of the configurations use variables such as ${adempierePropertiesFile} which will need to be set before the configuration can be run. | | :--- | :--- |
-Xms64m -Xmx64m -Dorg.adempiere.server.embedded=true -DPropertyFile="C:\Adempiere\Adempiere.properties"
| ​​ | Note:Replace the path to the Adempiere.properties files with the one you wish to use. You can also change the VM Arguments to increase or decrease the amount of memory. The VM arguments define the minimum and maximum RAM allocation for the Java VM. Check the Java documentation for more information. | | :--- | :--- |
| ​​ | Note:You can setup an external tool configuration as described above to run any of the scripts in the ADempiere installation from within Eclipse. | | :--- | :--- |
find Adempiere -name *.sh -exec chmod +x "{}" \;
find Adempiere -name "*.sh" -exec chmod +x "{}" \;
find Adempiere -name *.sh -exec dos2unix -d "{}" \;
set ANT_OPTS=-Xmx256M
export ANT_OPTS=-Xmx256M