[openrtm-commit:01833] r576 - trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles

openrtm @ openrtm.org openrtm @ openrtm.org
2016年 3月 9日 (水) 15:43:30 JST


Author: ga
Date: 2016-03-09 15:43:29 +0900 (Wed, 09 Mar 2016)
New Revision: 576

Modified:
   trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/build.xml
Log:


Modified: trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/build.xml
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/build.xml	2016-03-09 06:38:26 UTC (rev 575)
+++ trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/build.xml	2016-03-09 06:43:29 UTC (rev 576)
@@ -44,9 +44,22 @@
 	</target>
 
 	<target name="compile" description="ソースをコンパイルします">
-		<getEclipseClasspath pathid="build.classpath" targetplatformlocation="${targetPlatformLocation}"
-					workspace="${workspace}" projectname="${project.name}" />
-		<javac bootclasspathref="jre.libs" includeJavaRuntime="true" srcdir="${source}" destdir="${build.dir}" verbose="off"
+		<ant4eclipse:targetPlatform id="eclipse-4.4">
+		  <location dir="${targetPlatformLocation}" />
+		</ant4eclipse:targetPlatform>	
+		<ant4eclipse:jdtClassPathLibrary name="org.eclipse.jdt.junit.JUNIT_CONTAINER/4">
+			<fileset dir="${eclipse.home}/plugins/org.junit_4.11.0.v201303080030" />
+		</ant4eclipse:jdtClassPathLibrary>	
+
+		<ant4eclipse:getJdtClassPath 
+			pathid="build.classpath" 
+			workspacedirectory="${workspace}" 
+			projectname="${project.name}" >
+			<jdtclasspathcontainerargument key="target.platform" value="eclipse-4.4" />
+		</ant4eclipse:getJdtClassPath>
+
+		<javac bootclasspathref="jre.libs"
+		       	includeJavaRuntime="true" srcdir="${source}" destdir="${build.dir}" verbose="off"
 			classpathref="build.classpath"  encoding="UTF-8" />
 	</target>
 



More information about the openrtm-commit mailing list