Added system environment to subprocess (Bug #1619451). Changed testng to v5.1
[mapasuta/maven-emfgen-plugin.git] / generate.sh
blob8444c891c1fc037b16cad6b4c920726d385d1e3b
1 #!/bin/bash
2 eclipse_dir=/Applications/Anwendungsprogramme/Entwicklung/eclipse
3 main_dir=${HOME}/Development/Mapasuta/Application/layers/persistence/target/metamodel
4 metamodel=${HOME}/Development/Mapasuta/Application/models/metamodel/src/main/model/metapersistence.ecore
5 eclipse_workspace=${HOME}/Development/workspace
7 mkdir -p $main_dir/src/main/java
8 java -classpath $eclipse_dir/startup.jar org.eclipse.core.launcher.Main -clean -data $eclipse_workspace -application org.eclipse.emf.importer.ecore.Ecore2GenModel $metamodel $main_dir/metapersistence.genmodel -modelProject $main_dir $main_dir/src/main/java -modelPluginID metapersistence.model -copyright "Copyright (c) Dominik Winter MMVI" -package http://mapasuta.org/entities/mapasuta/v0.1 mapasuta Mapasuta
10 java -classpath $eclipse_dir/startup.jar org.eclipse.core.launcher.Main -clean -data $eclipse_workspace -application org.eclipse.emf.codegen.ecore.Generator -model $main_dir/metapersistence.genmodel