Automated creating or modifying of projects
Neuron Power Engineer provides a tool for the automated creating or modifying of Neuron Power Engineer →projects.
Good to know |
---|
The tool is intended for usage by an experienced user of Neuron Power Engineer. A condition for the successful usage of the tool is the knowledge of the action to be executed as it would be executed in the graphical user interface of Neuron Power Engineer. The output of the tool is in English only. |
In this article: |
---|
Preparation
-
Make sure that Neuron Power Engineer is installed. Have the following information prepared:
-
The path to the Neuron Power Engineer installation directory
-
The path to a directory that will be used as the workspace
In case the directory does not exist, the tool creates it. -
the information for the project that should be created or modified – e.g. the path and name for the project and the project template to be used
-
The path to the log configuration file (see below for more information)
A sample configuration file is included in the installation of Neuron Power Engineer.
-
-
If the JAVA JDK has not already been installed on your computer, install and unpack the JAVA JDK. In case of an installation, also enhance the environment variable
PATH
of the operating system by the folder to which the JAVA JDK has been installed/unpacked. In case of doubts, ask your administrator to support you in doing so. -
Open a command line: e.g.
cmd.exe
under Windows and navigate to the Neuron Power Engineer installation directory.
Invocation
|
Description of parameters:
Parameter |
Description |
Example |
---|---|---|
|
absolute path to a workspace to which the project should be imported
|
|
|
version number of the required Java version |
|
|
path to the log configuration file |
|
|
name of the project that should be created |
|
|
absolute path to the folder where the project should be created |
|
|
name of the project template which will be the base of the project |
|
|
absolute path and name of the file for which the content should be replaced (= original file) |
|
|
absolute path and name of the file the content of which is used for the replacement (= replacement file)
If the replacement file is a binary file, add the parameter |
|
|
absolute path and name of the file which should be deleted |
|
|
Example for invocation |
---|
|
Log configuration file
This file is needed to configure the log4j logging mechanism. The file specifies how log events are output.
Sample log configuration file |
---|
|