diff options
author | Henrik Rentz-Reichert | 2012-09-28 13:20:34 +0000 |
---|---|---|
committer | Henrik Rentz-Reichert | 2012-09-28 13:21:45 +0000 |
commit | 91dc53a453976155b70e7966dbb906f58b9f68d5 (patch) | |
tree | 6e08c9c3dca5ade42a82bc0f0e6ba2cf0d8e3023 /tests | |
parent | 6e0c9667e7d0192ab9fa86a11c4a37ee3719568b (diff) | |
download | org.eclipse.etrice-91dc53a453976155b70e7966dbb906f58b9f68d5.tar.gz org.eclipse.etrice-91dc53a453976155b70e7966dbb906f58b9f68d5.tar.xz org.eclipse.etrice-91dc53a453976155b70e7966dbb906f58b9f68d5.zip |
[generator.c.tests] use environment variable for local C runtime path
Diffstat (limited to 'tests')
-rw-r--r-- | tests/org.eclipse.etrice.generator.c.tests/make.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/org.eclipse.etrice.generator.c.tests/make.xml b/tests/org.eclipse.etrice.generator.c.tests/make.xml index 0eaf80760..e964f4d11 100644 --- a/tests/org.eclipse.etrice.generator.c.tests/make.xml +++ b/tests/org.eclipse.etrice.generator.c.tests/make.xml @@ -4,6 +4,10 @@ This includes invocation of the Java code generator and conversion of the etunit
results into xunit xml.
+ To work locally you should define in your environment
+ ETRICE_TARGET_PLATFORM=path to the eclipse folder of your Juno installation
+ ETRICE_C_RUNTIME=path to the org.eclipse.etrice.runtime.c folder (relative path doesn't work)
+
@author Henrik Rentz-Reichert
-->
<project name="project">
@@ -25,11 +29,11 @@ </target>
<!--
- set_tp: get the target.platform property from the environment var TARGET_PLATFORM if not set already
+ set_tp: get the target.platform property from the environment var ETRICE_TARGET_PLATFORM if not set already
-->
<target name="set_tp" unless="target.platform">
<echo>using local target platform</echo>
- <property name="target.platform" value="${env.TARGET_PLATFORM}"/>
+ <property name="target.platform" value="${env.ETRICE_TARGET_PLATFORM}"/>
</target>
<!--
@@ -41,11 +45,11 @@ </target>
<!--
- set_rp: sets the runtime.path property if not set already
+ set_rp: sets the runtime.path from the ETRICE_C_RUNTIME environment variable property if not set already
-->
<target name="set_rp" unless="c-runtime.path">
<echo>using local runtime folder</echo>
- <property name="c-runtime.path" value="C:\Users\hrentz\Documents\protos\Entwicklung\Projekte\protos\eTrice\tasks\bugs\2012-01-18\org.eclipse.etrice\runtime\org.eclipse.etrice.runtime.c"/>
+ <property name="c-runtime.path" value="${env.ETRICE_C_RUNTIME}"/>
</target>
<!--
|