Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 3368deabf43261955634398bc04fda27f4c1735f (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
46
47
48
49
<?xml version="1.0"?>
<project name="project">
	
	<target name="set_tp" unless="target.platform">
		<echo>using local target platform</echo>
		<property name="target.platform" value="C:\Users\hrentz\Downloads\eclipse\Juno\eclipse-modeling-juno-win32\eclipse"/>
		<property name="integration.model.path" value="./model"/>
	</target>
	
	<target name="generate" depends="set_tp">
		<path id="clspath">
			<pathelement location="../../plugins/org.eclipse.etrice.generator.java/bin"/>
			<pathelement location="../../plugins/org.eclipse.etrice.generator.doc/bin"/>
			<pathelement location="../../plugins/org.eclipse.etrice.generator/bin"/>
			<pathelement location="../../plugins/org.eclipse.etrice.core.genmodel/bin"/>
			<pathelement location="../../plugins/org.eclipse.etrice.core.room/bin"/>
			<pathelement location="../../plugins/org.eclipse.etrice.core.config/bin"/>
			<fileset dir="${target.platform}/plugins/">
				<include name="org.eclipse.emf.ecore_2.8.0*.jar" />
				<include name="org.eclipse.emf.common_2.8.0*.jar" />
				<include name="org.eclipse.emf.ecore.xmi_2.8.0*.jar" />
				<include name="org.eclipse.xtext_2.*.jar" />
				<include name="com.google.inject_*.jar" />
				<include name="com.google.guava_10.*.jar" />
				<include name="org.eclipse.equinox.common_3.6.*.jar" />
				<include name="org.eclipse.xtext.util_2.*.jar" />
				<include name="org.eclipse.xtext.xtend2.lib_2.*.jar" />
				<include name="org.eclipse.xtext.xbase.lib_2.*.jar" />
				<include name="org.apache.log4j_1.2.15*.jar" />
				<include name="org.antlr.runtime_3.2.0*.jar" />
				<include name="javax.inject_1.0.0*.jar" />
			</fileset>
		</path>

		<java output="generator_output.txt" classname="org.eclipse.etrice.generator.java.Main">
			<arg value="${integration.model.path}/org.eclipse.etrice.integration.ChoicePointTest.room"/>
			<arg value="${integration.model.path}/org.eclipse.etrice.integration.HandlerTest.room"/>
			<arg value="${integration.model.path}/org.eclipse.etrice.integration.PingPongThreadTest.room"/>
			<arg value="${integration.model.path}/org.eclipse.etrice.integration.PingPongThreadTestReplPort.room"/>
			<arg value="${integration.model.path}/org.eclipse.etrice.integration.SendingDataByValueTest.room"/>
			<arg value="${integration.model.path}/org.eclipse.etrice.integration.ConfigTest.room"/>
			<arg value="${integration.model.path}/org.eclipse.etrice.integration.ConfigTest.config"/>
			<arg value="${integration.model.path}/org.eclipse.etrice.integration.tests.room"/>
			<arg value="-noexit"/>
			<classpath refid="clspath"/>
		</java>
	</target>

</project>

Back to the top