Skip to content

LaunchConfig

UrsZeidler edited this page Nov 12, 2016 · 6 revisions

Start the Code generator.

The launch config is used to start a generation process. A launch configuration contains all parameters for the generation process.

To start the code generation process add a run configuration:

generate solidity code tab

And create a new start configuration:

generate solidity code tab

generate solidity code

generate solidity code tab

you select the model to use and where to store the solidity files. If you are working with mix for fronted development you can create a '.mix' config and a simple html file used together with the generated js code. You can compile the generated code, and when working with a compiler above 0.4.0 you can add a pragma to define the version. If you like to compile the contract after generation, define the compiler and the output directory.

generate js code

generate solidity code tab

Here you select the js options see generated js code for more details.

generate java

launchConfig-forJava2

In the 'generate java' tab you can setup the generation of an java interface and junit tests, see test contracts with junit.

generate doc

generate solidity code tab

This tab controls the markdown report and when you like you could generate standalone abi files for each contract.(https://github.com/UrsZeidler/uml2solidity/issues/12)