To create a modeling tools bundle
Add the following parameter: -DWINCONFIG\=false (Do not change any of the parameters in the JAVA_ARGS line during this step).
Example of the 2 parameters after the changes are complete: |
Start the modeling tool and apply a license.
If the person building the bundle is using a seat license, they should NOT activate the license at this time so that the employees can activate the seat license key on their own computers. A floating license is a more convenient solution for large companies. For more information about licensing, see the Modeling tools and plugins licensing page. |
Install the required plugins. For more information, see the Installing plugins and Resource Manager pages.
Make sure not to close the modeling tool after this step, as additional configuration changes are needed. |
Connect to the Floating License server and check out a license.
When the person building the bundle connects to the license server successfully, the server’s name and port are set in the corresponding properties of the Environment Options > Floating section. |
Set the Server Name and check the appropriate security choices for your deployment environment.
When the person building the bundle connects to Teamwork Cloud successfully, the server’s name and the user name used to connect will be set in the Environment Options. If the person building the bundle does not want their user name to be part of the bundle, they should not connect to Teamwork Cloud before finishing the bundle. Instead, just set the Environment Options as described above. |
If you want the configuration directory to be back at the default location, which is under the Users directory in Windows, then the changes made in Step 2 will need to be changed back:
For employees to get the bundle with the predefined configuration options, the configuration files should be located in the installation folder, which is generally located in the C:\Program Files directory. However, since the Program Files folder is often read-only on users' business computers and the users do not have the write permissions, moving the configuration directory is very common, and so the default location for storing various configuration files is C:\Users\<your username>\AppData\Local\.<modeling_tool_name>\<version_number>. |
Save the <modeling_tool_name>.properties file. Now, once an employee starts the modeling tool, all the configuration files will be located in the C:\Users\<your username>\AppData\Local\.<modeling_tool_name>\<version number> directory.
Do not launch the bundle that is being built after this step. After step 9.d, if the person building the bundle launches the bundle, then the configuration directory will no longer be in the installation directory. This will cause the final bundle not to work correctly. Wait until after Step 11, create the zip file, copy the zip file to another directory, and then extract it. |
Change the Java path if needed.
The modeling tool's installer.exe file installs bundled Java to the modeling tool's installation directory, which will be used by default. Copying the installation folder to another computer will copy the Java VM, too. Thus, the employee will not be required to install Java manually. For this reason, we recommend using the bundled Java. |
To check which Java version is used by the modeling tool, go to the MagicDraw Help menu > About MagicDraw > Environment tab. |
To specify the Java path: