[openrtm-commit:02875] r1058 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 10月 18日 (水) 14:57:49 JST


Author: t-katami
Date: 2017-10-18 14:57:49 +0900 (Wed, 18 Oct 2017)
New Revision: 1058

Added:
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/rtcprof.jsmooth.in
Modified:
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/build.xml
Log:
[compat,newfunc,bugfix->releng_1_2] Converted rtcprof from a bat file to a exe file. refs #4272

Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/build.xml
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/build.xml	2017-10-11 01:47:34 UTC (rev 1057)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/build.xml	2017-10-18 05:57:49 UTC (rev 1058)
@@ -241,6 +241,17 @@
 
 		<delete file="rtcd_java.exe" />
 
+		<delete file="rtcprof.jsmooth" />
+		<copy file="rtcprof.jsmooth.in" tofile="rtcprof.jsmooth"/>
+		<replace file="rtcprof.jsmooth" token="@version@" 
+			value="${version}" />
+		<taskdef name="jsmoothgen"
+		classname="net.charabia.jsmoothgen.ant.JSmoothGen"
+		classpath="${dir.jsmooth}/lib/jsmoothgen-ant.jar"/>
+		<jsmoothgen project="rtcprof.jsmooth"
+			skeletonroot="${dir.jsmooth}/skeletons"/>
+		<copy file="rtcprof_java.exe" todir="${source.examples.scripts}" />
+		<delete file="rtcprof_java.exe" />
 	</target>
 
 	<target name="javaDoc" description="JavaDocを作成します">

Added: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/rtcprof.jsmooth.in
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/rtcprof.jsmooth.in	                        (rev 0)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/rtcprof.jsmooth.in	2017-10-18 05:57:49 UTC (rev 1058)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<jsmoothproject>
+<JVMSearchPath>registry</JVMSearchPath>
+<JVMSearchPath>javahome</JVMSearchPath>
+<JVMSearchPath>jrepath</JVMSearchPath>
+<JVMSearchPath>jdkpath</JVMSearchPath>
+<JVMSearchPath>exepath</JVMSearchPath>
+<JVMSearchPath>jview</JVMSearchPath>
+<arguments></arguments>
+<classPath>..\jar\rtcprof.jar</classPath>
+<classPath>..\jar\OpenRTM-aist-1.2.0.jar</classPath>
+<classPath>..\jar\commons-cli-1.1.jar</classPath>
+<currentDirectory>${EXECUTABLEPATH}</currentDirectory>
+<embeddedJar>true</embeddedJar>
+<jarLocation>..\jar\rtcprof.jar</jarLocation>
+<executableName>rtcprof_java.exe</executableName>
+<initialMemoryHeap>-1</initialMemoryHeap>
+<jarLocation>..\jar\rtcprof.jar</jarLocation>
+<mainClassName>rtcporf.rtcprof</mainClassName>
+<maximumMemoryHeap>-1</maximumMemoryHeap>
+<maximumVersion></maximumVersion>
+<minimumVersion></minimumVersion>
+<skeletonName>Console Wrapper</skeletonName>
+<skeletonProperties>
+<key>Message</key>
+<value>This program needs Java to run.
+Please download it at http://www.java.com</value>
+</skeletonProperties>
+<skeletonProperties>
+<key>PressKey</key>
+<value>0</value>
+</skeletonProperties>
+<skeletonProperties>
+<key>Debug</key>
+<value>0</value>
+</skeletonProperties>
+</jsmoothproject>



More information about the openrtm-commit mailing list