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