Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e9bb14667b4dcb2c66fdcd4dd97395e251f6e101 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
module workflow.tutorials

import org.eclipse.emf.mwe.utils.*
import workflow.ExecuteCommand.*

var destDir = "src-gen"

Workflow {
 
	component = DirectoryCleaner {
		directory = destDir
	}
	
	component = @workflow.RoomGenerator {
		sourceDir = "model/Blinky"
		targetDir = destDir
	}	

	component = @workflow.RoomGenerator {
		sourceDir = "model/HelloWorld"
		targetDir = destDir
	}
	
		component = @workflow.RoomGenerator {
		sourceDir = "model/PedLightsController"
		targetDir = destDir
	}
	component = @workflow.RoomGenerator {
		sourceDir = "model/SendingData"
		targetDir = destDir
	}

	component = @workflow.RoomGenerator {
		sourceDir = "model/scratch"
		targetDir = destDir
	}
 
//	component = org.eclipse.etrice.generator.workflow.ExecuteCommand {
//		commandString = "dot -osrc-gen/PingPong/SubSystem_PingPong.jpg -Tjpg src-gen/PingPong/SubSystem_PingPong.dot"
//	}
//
//	component = org.eclipse.etrice.generator.workflow.ExecuteCommand {
//		commandString = "dot -osrc-gen/PingPongFast/SubSystem_PingPong.jpg -Tjpg src-gen/PingPongFast/SubSystem_PingPong.dot"
//	}
}

Back to the top