This section explains how to update a used project using a command line.
To update a used project from the command-line interface
Depending on your operating system, the executable file is the .sh or .bat file. |
To update a used project using a single properties file
Type the following command in the command line:
update.bat -properties sample.properties
./update.sh -properties sample.properties
To update a used project using multiple properties files
Type the following command in the command line:
update.bat -properties first.properties second.properties third.properties
./update.sh -properties first.properties second.properties third.properties
If you use a non-default configuration directory (e.g. change it by using special properties in the <modeling tool>.properties file), you need to update the plugin as well. Otherwise, the plugin searches for settings in the default directory instead of the configuration directory that is actually in use. This results in unexpected failures.
To avoid failures, add identical properties for changing the configuration directory in the update script:
"%fullPath%/bin/java" -Xmx4000M -Xss1024K -Dlocalconfig.location=userhome -cp %CLASS_PATH% %*
VM_OPTIONS="-Xmx1900M -Xss1024K -Dlocalconfig.location=userhome"
This example is applicable if the modeling tool uses the property "-Dlocalconfig.location=userhome". |