[openrtm-commit:00858] r325 - in trunk/rtmtools: . sitetool sitetool/conf sitetool/jp.go.aist.rtm.rtcbuilder.feature sitetool/jp.go.aist.rtm.rtcbuilder.feature/META-INF sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/META-INF sitetool/jp.go.aist.rtm.rtsystemeditor.feature sitetool/jp.go.aist.rtm.rtsystemeditor.feature/META-INF sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/META-INF sitetool/lib sitetool/openrtp_site
openrtm @ openrtm.org
openrtm @ openrtm.org
2012年 6月 28日 (木) 22:21:37 JST
Author: kurihara
Date: 2012-06-28 22:21:36 +0900 (Thu, 28 Jun 2012)
New Revision: 325
Added:
trunk/rtmtools/sitetool/
trunk/rtmtools/sitetool/build.properties
trunk/rtmtools/sitetool/build.xml
trunk/rtmtools/sitetool/conf/
trunk/rtmtools/sitetool/conf/site_add_feature.xslt
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/.project
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/META-INF/
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/META-INF/MANIFEST.MF
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/build.properties
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/feature.xml
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/.project
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/META-INF/
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/META-INF/MANIFEST.MF
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/build.properties
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/feature.xml
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/.project
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/META-INF/
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/META-INF/MANIFEST.MF
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/build.properties
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/feature.xml
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/.project
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/META-INF/
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/META-INF/MANIFEST.MF
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/build.properties
trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/feature.xml
trunk/rtmtools/sitetool/lib/
trunk/rtmtools/sitetool/lib/ant-contrib-1.0b3.jar
trunk/rtmtools/sitetool/lib/xmltask.jar
trunk/rtmtools/sitetool/openrtp_site/
trunk/rtmtools/sitetool/openrtp_site/.project
trunk/rtmtools/sitetool/openrtp_site/site.xml
trunk/rtmtools/sitetool/run.bat
trunk/rtmtools/sitetool/run.sh
Log:
Added Update-site tools.
Added: trunk/rtmtools/sitetool/build.properties
===================================================================
--- trunk/rtmtools/sitetool/build.properties (rev 0)
+++ trunk/rtmtools/sitetool/build.properties 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,8 @@
+# 署名の設定
+signature.keystore=conf/openrtp.keystore
+signature.alias=openrtp
+signature.keypass=key123
+signature.storepass=store123
+signature.validity=365
+signature.dname=CN=OpenRTP, OU=RTM, O=AIST, C=JP
+
Added: trunk/rtmtools/sitetool/build.xml
===================================================================
--- trunk/rtmtools/sitetool/build.xml (rev 0)
+++ trunk/rtmtools/sitetool/build.xml 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,564 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project default="all" name="OpenRTPツールのフィーチャビルド、およびサイト更新">
+
+ <taskdef resource="net/sf/antcontrib/antlib.xml" />
+ <taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask" />
+
+ <property environment="env" />
+ <property file="build.properties" />
+
+ <property name="eclipse.dir" value="eclipse" />
+ <property name="launcher.id" value="org.eclipse.equinox.launcher" />
+
+ <property name="temp.plugins.dir" value="build/plugins" />
+ <property name="temp.features.dir" value="build/features" />
+ <property name="temp.site.dir" value="build/site" />
+
+
+ <!-- 更新サイトに関する設定 -->
+ <property name="site_proj.dir" value="openrtp_site" />
+ <property name="update_site.name" value="OpenRTP Updates" />
+
+ <!-- フィーチャ(RTCBuilder)に関する設定 -->
+ <property name="rtcb_feature.id" value="jp.go.aist.rtm.rtcbuilder.feature" />
+ <property name="rtcb_plugin.id" value="jp.go.aist.rtm.rtcbuilder" />
+ <property name="rtcb_feature.plugins.list" value="
+ jp.go.aist.rtm.rtcbuilder
+ ,jp.go.aist.rtm.rtcbuilder.java
+ ,jp.go.aist.rtm.rtcbuilder.python
+ ,jp.go.aist.rtm.toolscommon.profiles
+ " />
+
+ <!-- フィーチャ(RTCBuilder Language Pack)に関する設定 -->
+ <property name="rtcb_nl_feature.id" value="jp.go.aist.rtm.rtcbuilder.nl1.feature" />
+ <property name="rtcb_nl_plugin.id" value="jp.go.aist.rtm.rtcbuilder.nl1" />
+ <property name="rtcb_nl_feature.plugins.list" value="
+ jp.go.aist.rtm.rtcbuilder.nl1
+ ,jp.go.aist.rtm.toolscommon.profiles.nl1
+ " />
+
+ <!-- フィーチャ(RTSystemEditor)に関する設定 -->
+ <property name="rtse_feature.id" value="jp.go.aist.rtm.rtsystemeditor.feature" />
+ <property name="rtse_plugin.id" value="jp.go.aist.rtm.systemeditor" />
+ <property name="rtse_feature.plugins.list" value="
+ jp.go.aist.rtm.systemeditor
+ ,jp.go.aist.rtm.nameserviceview
+ ,jp.go.aist.rtm.repositoryView
+ ,jp.go.aist.rtm.toolscommon
+ ,jp.go.aist.rtm.toolscommon.profiles
+ " />
+
+ <!-- フィーチャ(RTSystemEditor Langurage Pack)に関する設定 -->
+ <property name="rtse_nl_feature.id" value="jp.go.aist.rtm.rtsystemeditor.nl1.feature" />
+ <property name="rtse_nl_plugin.id" value="jp.go.aist.rtm.systemeditor.nl1" />
+ <property name="rtse_nl_feature.plugins.list" value="
+ jp.go.aist.rtm.systemeditor.nl1
+ ,jp.go.aist.rtm.nameserviceview.nl1
+ ,jp.go.aist.rtm.repositoryView.nl1
+ ,jp.go.aist.rtm.toolscommon.nl1
+ ,jp.go.aist.rtm.toolscommon.profiles.nl1
+ " />
+
+
+ <target name="init.plugins">
+ <delete dir="${temp.plugins.dir}" />
+ <mkdir dir="${temp.plugins.dir}" />
+ </target>
+
+ <target name="init.features">
+ <delete dir="${temp.features.dir}" />
+ <mkdir dir="${temp.features.dir}" />
+ </target>
+
+ <target name="init.site">
+ <delete dir="${temp.site.dir}" />
+ <mkdir dir="${temp.site.dir}" />
+ </target>
+
+
+ <target name="all">
+ <echo>
+ サイト更新手順
+
+ 1. リポジトリからビルド済みプラグインを取得
+ $ ant -lib lib get.plugins
+
+ 2. フィーチャをビルド
+ $ ant -lib lib build.features
+
+ 3. サイトを更新
+ $ ant -lib lib deploy.site
+ </echo>
+ </target>
+
+ <target name="get.plugins" depends="init.plugins" description="ビルド済プラグインをコピー">
+ <copy todir="${temp.plugins.dir}">
+ <fileset dir="${env.PLUGINS_DIR}" includes="**/*.jar" />
+ </copy>
+ </target>
+
+ <target name="build.features" depends="init.features" description="フィーチャーのビルド">
+ <antcall target="feature.copy.base">
+ <param name="proj" value="${rtcb_feature.id}" />
+ </antcall>
+ <antcall target="feature.copy.base">
+ <param name="proj" value="${rtcb_nl_feature.id}" />
+ </antcall>
+
+ <antcall target="feature.copy.base">
+ <param name="proj" value="${rtse_feature.id}" />
+ </antcall>
+ <antcall target="feature.copy.base">
+ <param name="proj" value="${rtse_nl_feature.id}" />
+ </antcall>
+
+ <antcall target="feature.build.rtcb" />
+ <antcall target="feature.build.rtcb_nl" />
+
+ <antcall target="feature.build.rtse" />
+ <antcall target="feature.build.rtse_nl" />
+
+ <antcall target="feature.sign" />
+ </target>
+
+ <target name="deploy.site" depends="init.site" description="サイトへの配置">
+ <tstamp />
+ <copy file="${site_proj.dir}/site.xml" tofile="backup/site-${DSTAMP}-${TSTAMP}.xml" />
+ <copy file="${site_proj.dir}/site.xml" tofile="${temp.site.dir}/site.xml" />
+
+ <antcall target="site.add.rtcb" />
+ <antcall target="site.add.rtcb_nl" />
+
+ <antcall target="site.add.rtse" />
+ <antcall target="site.add.rtse_nl" />
+
+ <mkdir dir="${site_proj.dir}/features" />
+ <copy todir="${site_proj.dir}/features">
+ <fileset dir="${temp.features.dir}" includes="**/*.jar" />
+ </copy>
+
+ <mkdir dir="${site_proj.dir}/plugins" />
+ <copy todir="${site_proj.dir}/plugins">
+ <fileset dir="${temp.plugins.dir}" includes="**/*.jar" />
+ </copy>
+
+ <copy file="${temp.site.dir}/site.xml" tofile="${site_proj.dir}/site.xml" overwrite="true" />
+
+ <antcall target="create.p2">
+ <param name="update_site.dir" value="${site_proj.dir}" />
+ </antcall>
+ </target>
+
+ <target name="clean" description="中間生成ファイルの削除">
+ <delete dir="${temp.plugins.dir}" />
+ <delete dir="${temp.features.dir}" />
+ <delete dir="${temp.site.dir}" />
+ </target>
+
+
+ <target name="feature.copy.base">
+ <mkdir dir="${temp.features.dir}/${proj}" />
+ <copy todir="${temp.features.dir}/${proj}">
+ <fileset dir="${proj}" />
+ </copy>
+ </target>
+
+ <!-- フィーチャーをビルド: RTCBuilder -->
+ <target name="feature.build.rtcb">
+ <property name="feature.id" value="${rtcb_feature.id}" />
+ <property name="main.plugin.id" value="${rtcb_plugin.id}" />
+ <property name="plugins.list" value="${rtcb_feature.plugins.list}" />
+
+ <property name="feature.xml" value="${temp.features.dir}/${feature.id}/feature.xml" />
+ <property name="temp.feature.xml" value="${temp.features.dir}/${feature.id}/temp.feature.xml" />
+
+ <!-- メインプラグインのバージョンをフィーチャのバージョンに設定 -->
+ <fileset dir="${temp.plugins.dir}" id="mid" includes="${main.plugin.id}_*.jar" />
+ <pathconvert property="mpath" refid="mid" />
+ <basename property="main.plugin.name" file="${mpath}" suffix="jar" />
+
+ <script language="javascript">
+ <![CDATA[
+ var id = project.getProperty("main.plugin.id");
+ var name = project.getProperty("main.plugin.name");
+ var version = name.replace(id + "_", "");
+ project.setProperty("main.plugin.version", version);
+ ]]></script>
+
+ <echo message="main.plugin.id=${main.plugin.id}" />
+ <echo message="main.plugin.version=${main.plugin.version}" />
+
+ <property name="feature.name" value="${feature.id}_${main.plugin.version}" />
+ <property name="feature.version" value="${main.plugin.version}" />
+
+ <copy file="${feature.xml}" tofile="${temp.feature.xml}" overwrite="true" />
+ <xmltask source="${temp.feature.xml}" dest="${feature.xml}" encoding="utf-8" report="false">
+ <attr path="feature" attr="version" value="${feature.version}" />
+ </xmltask>
+
+ <!-- プラグインのバージョン設定 -->
+ <for param="plugin.id" list="${plugins.list}" trim="true">
+ <sequential>
+ <copy file="${feature.xml}" tofile="${temp.feature.xml}" overwrite="true" />
+ <antcall target="feature.replace.plugin">
+ <param name="plugin.id" value="@{plugin.id}" />
+ <param name="from.xml" value="${temp.feature.xml}" />
+ <param name="to.xml" value="${feature.xml}" />
+ </antcall>
+ </sequential>
+ </for>
+
+ <jar jarfile="${temp.features.dir}/${feature.name}.jar"
+ basedir="${temp.features.dir}/${feature.id}"
+ includes="feature.xml" />
+ </target>
+
+ <!-- フィーチャーをビルド: RTCBuilder Language Pack -->
+ <target name="feature.build.rtcb_nl">
+ <property name="feature.id" value="${rtcb_nl_feature.id}" />
+ <property name="parent.feature.id" value="${rtcb_feature.id}" />
+ <property name="main.plugin.id" value="${rtcb_nl_plugin.id}" />
+ <property name="parent.plugin.id" value="${rtcb_plugin.id}" />
+ <property name="plugins.list" value="${rtcb_nl_feature.plugins.list}" />
+
+ <property name="feature.xml" value="${temp.features.dir}/${feature.id}/feature.xml" />
+ <property name="temp.feature.xml" value="${temp.features.dir}/${feature.id}/temp.feature.xml" />
+
+ <!-- メインプラグインのバージョンをフィーチャのバージョンに設定 -->
+ <fileset dir="${temp.plugins.dir}" id="mid" includes="${main.plugin.id}_*.jar" />
+ <pathconvert property="mpath" refid="mid" />
+ <basename property="main.plugin.name" file="${mpath}" suffix="jar" />
+
+ <script language="javascript">
+ <![CDATA[
+ var id = project.getProperty("main.plugin.id");
+ var name = project.getProperty("main.plugin.name");
+ var version = name.replace(id + "_", "");
+ project.setProperty("main.plugin.version", version);
+ ]]></script>
+
+ <echo message="main.plugin.id=${main.plugin.id}" />
+ <echo message="main.plugin.version=${main.plugin.version}" />
+
+ <property name="feature.name" value="${feature.id}_${main.plugin.version}" />
+ <property name="feature.version" value="${main.plugin.version}" />
+
+ <copy file="${feature.xml}" tofile="${temp.feature.xml}" overwrite="true" />
+ <xmltask source="${temp.feature.xml}" dest="${feature.xml}" encoding="utf-8" report="false">
+ <attr path="feature" attr="version" value="${feature.version}" />
+ </xmltask>
+
+ <!-- 親フィーチャのバージョンを設定 -->
+ <copy file="${feature.xml}" tofile="${temp.feature.xml}" overwrite="true" />
+ <antcall target="feature.replace.require">
+ <param name="parent.feature.id" value="${parent.feature.id}" />
+ <param name="plugin.id" value="${parent.plugin.id}" />
+ <param name="from.xml" value="${temp.feature.xml}" />
+ <param name="to.xml" value="${feature.xml}" />
+ </antcall>
+
+ <!-- プラグインのバージョン設定 -->
+ <for param="plugin.id" list="${plugins.list}" trim="true">
+ <sequential>
+ <copy file="${feature.xml}" tofile="${temp.feature.xml}" overwrite="true" />
+ <antcall target="feature.replace.plugin">
+ <param name="plugin.id" value="@{plugin.id}" />
+ <param name="from.xml" value="${temp.feature.xml}" />
+ <param name="to.xml" value="${feature.xml}" />
+ </antcall>
+ </sequential>
+ </for>
+
+ <jar jarfile="${temp.features.dir}/${feature.name}.jar"
+ basedir="${temp.features.dir}/${feature.id}"
+ includes="feature.xml" />
+ </target>
+
+ <!-- フィーチャーをビルド: RTSystemEditor -->
+ <target name="feature.build.rtse">
+ <property name="feature.id" value="${rtse_feature.id}" />
+ <property name="main.plugin.id" value="${rtse_plugin.id}" />
+ <property name="plugins.list" value="${rtse_feature.plugins.list}" />
+
+ <property name="feature.xml" value="${temp.features.dir}/${feature.id}/feature.xml" />
+ <property name="temp.feature.xml" value="${temp.features.dir}/${feature.id}/temp.feature.xml" />
+
+ <!-- メインプラグインのバージョンをフィーチャのバージョンに設定 -->
+ <fileset dir="${temp.plugins.dir}" id="mid" includes="${main.plugin.id}_*.jar" />
+ <pathconvert property="mpath" refid="mid" />
+ <basename property="main.plugin.name" file="${mpath}" suffix="jar" />
+
+ <script language="javascript">
+ <![CDATA[
+ var id = project.getProperty("main.plugin.id");
+ var name = project.getProperty("main.plugin.name");
+ var version = name.replace(id + "_", "");
+ project.setProperty("main.plugin.version", version);
+ ]]></script>
+
+ <echo message="main.plugin.id=${main.plugin.id}" />
+ <echo message="main.plugin.version=${main.plugin.version}" />
+
+ <property name="feature.name" value="${feature.id}_${main.plugin.version}" />
+ <property name="feature.version" value="${main.plugin.version}" />
+
+ <copy file="${feature.xml}" tofile="${temp.feature.xml}" overwrite="true" />
+ <xmltask source="${temp.feature.xml}" dest="${feature.xml}" encoding="utf-8" report="false">
+ <attr path="feature" attr="version" value="${feature.version}" />
+ </xmltask>
+
+ <!-- プラグインのバージョン設定 -->
+ <for param="plugin.id" list="${plugins.list}" trim="true">
+ <sequential>
+ <copy file="${feature.xml}" tofile="${temp.feature.xml}" overwrite="true" />
+ <antcall target="feature.replace.plugin">
+ <param name="plugin.id" value="@{plugin.id}" />
+ <param name="from.xml" value="${temp.feature.xml}" />
+ <param name="to.xml" value="${feature.xml}" />
+ </antcall>
+ </sequential>
+ </for>
+
+ <jar jarfile="${temp.features.dir}/${feature.name}.jar"
+ basedir="${temp.features.dir}/${feature.id}"
+ includes="feature.xml" />
+ </target>
+
+ <!-- フィーチャーをビルド: RTSystemEditor Language Pack -->
+ <target name="feature.build.rtse_nl">
+ <property name="feature.id" value="${rtse_nl_feature.id}" />
+ <property name="parent.feature.id" value="${rtse_feature.id}" />
+ <property name="main.plugin.id" value="${rtse_nl_plugin.id}" />
+ <property name="parent.plugin.id" value="${rtse_plugin.id}" />
+ <property name="plugins.list" value="${rtse_nl_feature.plugins.list}" />
+
+ <property name="feature.xml" value="${temp.features.dir}/${feature.id}/feature.xml" />
+ <property name="temp.feature.xml" value="${temp.features.dir}/${feature.id}/temp.feature.xml" />
+
+ <!-- メインプラグインのバージョンをフィーチャのバージョンに設定 -->
+ <fileset dir="${temp.plugins.dir}" id="mid" includes="${main.plugin.id}_*.jar" />
+ <pathconvert property="mpath" refid="mid" />
+ <basename property="main.plugin.name" file="${mpath}" suffix="jar" />
+
+ <script language="javascript">
+ <![CDATA[
+ var id = project.getProperty("main.plugin.id");
+ var name = project.getProperty("main.plugin.name");
+ var version = name.replace(id + "_", "");
+ project.setProperty("main.plugin.version", version);
+ ]]></script>
+
+ <echo message="main.plugin.id=${main.plugin.id}" />
+ <echo message="main.plugin.version=${main.plugin.version}" />
+
+ <property name="feature.name" value="${feature.id}_${main.plugin.version}" />
+ <property name="feature.version" value="${main.plugin.version}" />
+
+ <copy file="${feature.xml}" tofile="${temp.feature.xml}" overwrite="true" />
+ <xmltask source="${temp.feature.xml}" dest="${feature.xml}" encoding="utf-8" report="false">
+ <attr path="feature" attr="version" value="${feature.version}" />
+ </xmltask>
+
+ <!-- 親フィーチャのバージョンを設定 -->
+ <copy file="${feature.xml}" tofile="${temp.feature.xml}" overwrite="true" />
+ <antcall target="feature.replace.require">
+ <param name="parent.feature.id" value="${parent.feature.id}" />
+ <param name="plugin.id" value="${parent.plugin.id}" />
+ <param name="from.xml" value="${temp.feature.xml}" />
+ <param name="to.xml" value="${feature.xml}" />
+ </antcall>
+
+ <!-- プラグインのバージョン設定 -->
+ <for param="plugin.id" list="${plugins.list}" trim="true">
+ <sequential>
+ <copy file="${feature.xml}" tofile="${temp.feature.xml}" overwrite="true" />
+ <antcall target="feature.replace.plugin">
+ <param name="plugin.id" value="@{plugin.id}" />
+ <param name="from.xml" value="${temp.feature.xml}" />
+ <param name="to.xml" value="${feature.xml}" />
+ </antcall>
+ </sequential>
+ </for>
+
+ <jar jarfile="${temp.features.dir}/${feature.name}.jar"
+ basedir="${temp.features.dir}/${feature.id}"
+ includes="feature.xml" />
+ </target>
+
+ <!-- フィーチャのプラグイン情報を編集 -->
+ <target name="feature.replace.plugin">
+ <fileset dir="${temp.plugins.dir}" id="pid" includes="${plugin.id}_*.jar" />
+ <pathconvert property="path" refid="pid" />
+ <basename property="plugin.name" file="${path}" suffix="jar" />
+
+ <length file="${path}" property="plugin.size" />
+
+ <script language="javascript">
+ <![CDATA[
+ var id = project.getProperty("plugin.id");
+ var name = project.getProperty("plugin.name");
+ var version = name.replace(id + "_", "");
+ project.setProperty("plugin.version", version);
+ ]]></script>
+
+ <echo message="plugin.id=${plugin.id}" />
+ <echo message="plugin.name=${plugin.name}" />
+ <echo message="plugin.size=${plugin.size}" />
+ <echo message="plugin.version=${plugin.version}" />
+
+ <xmltask source="${from.xml}" dest="${to.xml}" encoding="utf-8" report="false">
+ <attr path="feature/plugin[@id='${plugin.id}']" attr="version" value="${plugin.version}" />
+ <attr path="feature/plugin[@id='${plugin.id}']" attr="download-size" value="${plugin.size}" />
+ </xmltask>
+ </target>
+
+ <!-- 依存フィーチャ情報を編集 -->
+ <target name="feature.replace.require">
+ <!-- 親フィーチャのバージョンをメインプラグインから取得 -->
+ <fileset dir="${temp.plugins.dir}" id="pid" includes="${plugin.id}_*.jar" />
+ <pathconvert property="path" refid="pid" />
+ <basename property="plugin.name" file="${path}" suffix="jar" />
+
+ <script language="javascript">
+ <![CDATA[
+ var id = project.getProperty("plugin.id");
+ var name = project.getProperty("plugin.name");
+ var version = name.replace(id + "_", "");
+ project.setProperty("parent.feature.version", version);
+ ]]></script>
+
+ <echo message="parent.feature.id=${parent.feature.id}" />
+ <echo message="parent.feature.version=${parent.feature.version}" />
+
+ <xmltask source="${from.xml}" dest="${to.xml}" encoding="utf-8" report="false">
+ <attr path="feature/requires/import[@feature='${parent.feature.id}']" attr="version" value="${parent.feature.version}" />
+ </xmltask>
+ </target>
+
+ <!-- フィーチャ/プラグインへの署名 -->
+ <target name="feature.sign">
+ <signjar keystore="${signature.keystore}" alias="${signature.alias}"
+ keypass="${signature.keypass}" storepass="${signature.storepass}">
+ <path>
+ <fileset dir="${temp.features.dir}" includes="**/*.jar" />
+ <fileset dir="${temp.plugins.dir}" includes="**/*.jar" />
+ </path>
+ </signjar>
+ </target>
+
+ <target name="feature.sign.gen" description="署名ファイルの作成">
+ <delete file="${signature.keystore}" />
+ <genkey keystore="${signature.keystore}" alias="${signature.alias}"
+ keypass="${signature.keypass}" storepass="${signature.storepass}"
+ validity="${signature.validity}" dname="${signature.dname}" />
+ <exec executable="keytool" failifexecutionfails="false">
+ <arg value="-list" />
+ <arg value="-v" />
+ <arg value="-keystore" />
+ <arg value="${signature.keystore}" />
+ <arg value="-storepass" />
+ <arg value="${signature.storepass}" />
+ </exec>
+ </target>
+
+
+ <!-- サイトへ配置: RTCBulider -->
+ <target name="site.add.rtcb">
+ <antcall target="site.add.feature">
+ <param name="feature.id" value="${rtcb_feature.id}" />
+ </antcall>
+ </target>
+
+ <!-- サイトへ配置: RTCbuilder Language Pack -->
+ <target name="site.add.rtcb_nl">
+ <antcall target="site.add.feature">
+ <param name="feature.id" value="${rtcb_nl_feature.id}" />
+ </antcall>
+ </target>
+
+ <!-- サイトへ配置: RTSystemEditor -->
+ <target name="site.add.rtse">
+ <antcall target="site.add.feature">
+ <param name="feature.id" value="${rtse_feature.id}" />
+ </antcall>
+ </target>
+
+ <!-- サイトへ配置: RTSystemEditor Language Pack -->
+ <target name="site.add.rtse_nl">
+ <antcall target="site.add.feature">
+ <param name="feature.id" value="${rtse_nl_feature.id}" />
+ </antcall>
+ </target>
+
+ <!-- サイト情報を編集 -->
+ <target name="site.add.feature">
+ <fileset dir="${temp.features.dir}" id="fid" includes="${feature.id}_*.jar" />
+ <pathconvert property="fpath" refid="fid" />
+ <basename property="feature.name" file="${fpath}" suffix="jar" />
+
+ <property name="site.xml" value="${temp.site.dir}/site.xml" />
+ <property name="temp.site.xml" value="${temp.site.dir}/temp.site.xml" />
+
+ <copy file="${site.xml}" tofile="${temp.site.xml}" overwrite="true" />
+
+ <antcall target="site.add.feature.byname">
+ <param name="feature.name" value="${feature.name}" />
+ <param name="from.xml" value="${temp.site.xml}" />
+ <param name="to.xml" value="${site.xml}" />
+ </antcall>
+ </target>
+
+ <target name="site.add.feature.byname">
+ <script language="javascript">
+ <![CDATA[
+ var name = project.getProperty("feature.name");
+ name = name.replace(".jar", "");
+ var s = name.split("_");
+ project.setProperty("feature.id", s[0] || "");
+ project.setProperty("feature.version", s[1] || "");
+ var ver = project.getProperty("feature.version");
+ var i = ver.lastIndexOf(".");
+ var mver = ver.substring(0, i);
+ var bver = ver.substring(i + 1);
+ project.setProperty("feature.version.main", mver);
+ project.setProperty("feature.version.build", bver);
+ ]]></script>
+
+ <echo message="feature.name=${feature.name}" />
+ <echo message="feature.id=${feature.id}" />
+ <echo message="feature.version=${feature.version}" />
+ <echo message="feature.version.main=${feature.version.main}" />
+ <echo message="feature.version.build=${feature.version.build}" />
+
+ <xslt in="${from.xml}" out="${to.xml}" style="conf/site_add_feature.xslt" force="true">
+ <param name="feature.name" expression="${feature.name}" />
+ <param name="feature.id" expression="${feature.id}" />
+ <param name="feature.version" expression="${feature.version}" />
+ <param name="feature.version.main" expression="${feature.version.main}" />
+ <param name="feature.version.build" expression="${feature.version.build}" />
+ </xslt>
+ </target>
+
+ <!-- p2 metadata の生成 -->
+ <target name="create.p2">
+ <property name="update_site.dir" value="${site_proj.dir}" />
+
+ <fileset dir="${env.ECLIPSE_HOME}/plugins" id="lid" includes="${launcher.id}_*.jar" />
+ <pathconvert property="lpath" refid="lid" />
+ <basename property="lname" file="${lpath}" />
+ <property name="launcher.jar" value="${env.ECLIPSE_HOME}/plugins/${lname}" />
+ <echo message="launcher.id=${launcher.id}" />
+ <echo message="launcher.jar=${launcher.jar}" />
+
+ <java jar="${launcher.jar}" fork="true" failonerror="true" maxmemory="256m">
+ <arg line="org.eclipse.equinox.launcher.Main" />
+ <arg line="-application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator" />
+ <arg line="-updateSite ${update_site.dir}/ -site file:${update_site.dir}/site.xml" />
+ <arg line="-metadataRepository file:${update_site.dir}/ -metadataRepositoryName "${update_site.name}"" />
+ <arg line="-artifactRepository file:${update_site.dir}/ -artifactRepositoryName "${update_site.name}"" />
+ <arg line="-noDefaultIUs -reusePack200Files" />
+ </java>
+ </target>
+
+</project>
+
Added: trunk/rtmtools/sitetool/conf/site_add_feature.xslt
===================================================================
--- trunk/rtmtools/sitetool/conf/site_add_feature.xslt (rev 0)
+++ trunk/rtmtools/sitetool/conf/site_add_feature.xslt 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="Shift_JIS"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:output method="xml" encoding="UTF-8" indent="yes" />
+
+ <xsl:param name="feature.name"></xsl:param>
+ <xsl:param name="feature.id"></xsl:param>
+ <xsl:param name="feature.version"></xsl:param>
+ <xsl:param name="feature.version.main"></xsl:param>
+ <xsl:param name="feature.version.build"></xsl:param>
+
+ <xsl:variable name="mFeatures" select="/site[1]/feature"/>
+ <xsl:variable name="mCategoryDefs" select="/site[1]/category-def"/>
+
+ <xsl:template match="*">
+ <xsl:copy>
+ <xsl:for-each select="@*">
+ <xsl:copy />
+ </xsl:for-each>
+ <xsl:apply-templates />
+ </xsl:copy>
+ </xsl:template>
+
+ <xsl:template match="description">
+ <xsl:copy>
+ <xsl:for-each select="@*">
+ <xsl:copy />
+ </xsl:for-each>
+ <xsl:copy-of select="text()" />
+ </xsl:copy>
+ <xsl:variable name="category.name" select="concat('OpenRTP ', $feature.version.main)" />
+ <xsl:if test="not($mFeatures[@id=$feature.id and @version=$feature.version])">
+ <feature>
+ <xsl:attribute name="url">
+ <xsl:value-of select="concat('features/', $feature.name, '.jar')" />
+ </xsl:attribute>
+ <xsl:attribute name="id">
+ <xsl:value-of select="$feature.id" />
+ </xsl:attribute>
+ <xsl:attribute name="version">
+ <xsl:value-of select="$feature.version" />
+ </xsl:attribute>
+ <category>
+ <xsl:attribute name="name">
+ <xsl:value-of select="$category.name" />
+ </xsl:attribute>
+ </category>
+ </feature>
+ </xsl:if>
+ <xsl:if test="not($mCategoryDefs[@name=$category.name])">
+ <category-def>
+ <xsl:attribute name="name">
+ <xsl:value-of select="$category.name" />
+ </xsl:attribute>
+ <xsl:attribute name="label">
+ <xsl:value-of select="$category.name" />
+ </xsl:attribute>
+ </category-def>
+ </xsl:if>
+ </xsl:template>
+
+</xsl:stylesheet>
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/.project
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/.project (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/.project 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jp.go.aist.rtm.rtcbuilder.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/META-INF/MANIFEST.MF
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/META-INF/MANIFEST.MF (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/META-INF/MANIFEST.MF 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.7.0
+Created-By: 20.6-b01 (Sun Microsystems Inc.)
+
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/build.properties
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/build.properties (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/build.properties 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1 @@
+bin.includes = feature.xml
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/feature.xml
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/feature.xml (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.feature/feature.xml 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="jp.go.aist.rtm.rtcbuilder.feature"
+ label="RT Component Builder"
+ version="1.1.0"
+ provider-name="AIST"
+ plugin="jp.go.aist.rtm.rtcbuilder">
+
+ <url>
+ <update label="Open RTP tools update site" url="http://www.openrtm.org/pub/OpenRTP/updates/"/>
+ </url>
+
+ <requires>
+ <import feature="org.eclipse.platform" version="3.4" match="compatible"/>
+ <import plugin="org.eclipse.core.runtime"/>
+ <import plugin="org.eclipse.core.resources"/>
+ <import plugin="org.eclipse.compare"/>
+ <import plugin="org.eclipse.jface.text"/>
+ <import plugin="org.eclipse.ui"/>
+ <import plugin="org.eclipse.ui.forms"/>
+ <import plugin="org.eclipse.ui.ide"/>
+ <import plugin="org.eclipse.jdt.ui"/>
+ <import feature="org.eclipse.emf" version="2.4" match="greaterOrEqual"/>
+ <import feature="org.eclipse.gef" version="3.4" match="greaterOrEqual"/>
+ </requires>
+
+ <plugin
+ id="jp.go.aist.rtm.rtcbuilder"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="jp.go.aist.rtm.rtcbuilder.java"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="jp.go.aist.rtm.rtcbuilder.python"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="jp.go.aist.rtm.toolscommon.profiles"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/.project
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/.project (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/.project 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jp.go.aist.rtm.rtcbuilder.nl1.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/META-INF/MANIFEST.MF
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/META-INF/MANIFEST.MF (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/META-INF/MANIFEST.MF 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.7.0
+Created-By: 20.6-b01 (Sun Microsystems Inc.)
+
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/build.properties
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/build.properties (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/build.properties 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1 @@
+bin.includes = feature.xml
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/feature.xml
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/feature.xml (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtcbuilder.nl1.feature/feature.xml 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="jp.go.aist.rtm.rtcbuilder.nl1.feature"
+ label="RT Component Builder Language Pack"
+ version="1.1.0"
+ provider-name="AIST">
+
+ <url>
+ <update label="Open RTP tools update site" url="http://www.openrtm.org/pub/OpenRTP/updates/"/>
+ </url>
+
+ <requires>
+ <import feature="org.eclipse.platform" version="3.4" match="compatible"/>
+ <import feature="jp.go.aist.rtm.rtcbuilder.feature" version="1.1.0"/>
+ </requires>
+
+ <plugin
+ id="jp.go.aist.rtm.rtcbuilder.nl1"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"
+ unpack="false"/>
+
+ <plugin
+ id="jp.go.aist.rtm.toolscommon.profiles.nl1"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"
+ unpack="false"/>
+
+</feature>
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/.project
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/.project (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/.project 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jp.go.aist.rtm.rtsystemeditor.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/META-INF/MANIFEST.MF
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/META-INF/MANIFEST.MF (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/META-INF/MANIFEST.MF 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.7.0
+Created-By: 20.6-b01 (Sun Microsystems Inc.)
+
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/build.properties
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/build.properties (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/build.properties 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1 @@
+bin.includes = feature.xml
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/feature.xml
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/feature.xml (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.feature/feature.xml 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="jp.go.aist.rtm.rtsystemeditor.feature"
+ label="RT System Editor"
+ version="1.1.0"
+ provider-name="AIST"
+ plugin="jp.go.aist.rtm.systemeditor">
+
+ <url>
+ <update label="Open RTP tools update site" url="http://www.openrtm.org/pub/OpenRTP/updates/"/>
+ </url>
+
+ <requires>
+ <import feature="org.eclipse.platform" version="3.4" match="compatible"/>
+ <import plugin="org.eclipse.core.runtime"/>
+ <import plugin="org.eclipse.core.resources"/>
+ <import plugin="org.eclipse.ui"/>
+ <import plugin="org.eclipse.ui.views"/>
+ <import plugin="org.eclipse.ui.editors"/>
+ <import plugin="org.eclipse.ui.ide"/>
+ <import plugin="org.eclipse.emf.ecore.xmi"/>
+ <import feature="org.eclipse.emf.ecore" version="2.4" match="greaterOrEqual"/>
+ <import feature="org.eclipse.gef" version="3.4" match="greaterOrEqual"/>
+ </requires>
+
+ <plugin
+ id="jp.go.aist.rtm.systemeditor"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="jp.go.aist.rtm.nameserviceview"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="jp.go.aist.rtm.repositoryView"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="jp.go.aist.rtm.toolscommon"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="jp.go.aist.rtm.toolscommon.profiles"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/.project
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/.project (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/.project 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jp.go.aist.rtm.rtsystemeditor.nl1.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/META-INF/MANIFEST.MF
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/META-INF/MANIFEST.MF (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/META-INF/MANIFEST.MF 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.7.0
+Created-By: 20.6-b01 (Sun Microsystems Inc.)
+
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/build.properties
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/build.properties (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/build.properties 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1 @@
+bin.includes = feature.xml
Added: trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/feature.xml
===================================================================
--- trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/feature.xml (rev 0)
+++ trunk/rtmtools/sitetool/jp.go.aist.rtm.rtsystemeditor.nl1.feature/feature.xml 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="jp.go.aist.rtm.rtsystemeditor.nl1.feature"
+ label="RT System Editor Language Pack"
+ version="1.1.0"
+ provider-name="AIST">
+
+ <url>
+ <update label="Open RTP tools update site" url="http://www.openrtm.org/pub/OpenRTP/updates/"/>
+ </url>
+
+ <requires>
+ <import feature="org.eclipse.platform" version="3.4" match="compatible"/>
+ <import feature="jp.go.aist.rtm.rtsystemeditor.feature" version="1.1.0"/>
+ </requires>
+
+ <plugin
+ id="jp.go.aist.rtm.systemeditor.nl1"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"
+ unpack="false"/>
+
+ <plugin
+ id="jp.go.aist.rtm.nameserviceview.nl1"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"
+ unpack="false"/>
+
+ <plugin
+ id="jp.go.aist.rtm.repositoryView.nl1"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"
+ unpack="false"/>
+
+ <plugin
+ id="jp.go.aist.rtm.toolscommon.nl1"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"
+ unpack="false"/>
+
+ <plugin
+ id="jp.go.aist.rtm.toolscommon.profiles.nl1"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"
+ unpack="false"/>
+
+</feature>
Added: trunk/rtmtools/sitetool/lib/ant-contrib-1.0b3.jar
===================================================================
(Binary files differ)
Property changes on: trunk/rtmtools/sitetool/lib/ant-contrib-1.0b3.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/rtmtools/sitetool/lib/xmltask.jar
===================================================================
(Binary files differ)
Property changes on: trunk/rtmtools/sitetool/lib/xmltask.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/rtmtools/sitetool/openrtp_site/.project
===================================================================
--- trunk/rtmtools/sitetool/openrtp_site/.project (rev 0)
+++ trunk/rtmtools/sitetool/openrtp_site/.project 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>openrtp_site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.UpdateSiteBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.UpdateSiteNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/rtmtools/sitetool/openrtp_site/site.xml
===================================================================
--- trunk/rtmtools/sitetool/openrtp_site/site.xml (rev 0)
+++ trunk/rtmtools/sitetool/openrtp_site/site.xml 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+ <description url="http://www.openrtm.org/pub/OpenRTP/updates/">
+ Open RT Platform tools update site.
+ </description>
+<feature url="features/jp.go.aist.rtm.rtsystemeditor.nl1.feature_1.1.0.rc3v20120215.jar" id="jp.go.aist.rtm.rtsystemeditor.nl1.feature" version="1.1.0.rc3v20120215">
+<category name="OpenRTP 1.1.0"/>
+</feature>
+<feature url="features/jp.go.aist.rtm.rtsystemeditor.feature_1.1.0.rc3v20120207.jar" id="jp.go.aist.rtm.rtsystemeditor.feature" version="1.1.0.rc3v20120207">
+<category name="OpenRTP 1.1.0"/>
+</feature>
+<feature url="features/jp.go.aist.rtm.rtcbuilder.nl1.feature_1.1.0.rc3v20120215.jar" id="jp.go.aist.rtm.rtcbuilder.nl1.feature" version="1.1.0.rc3v20120215">
+<category name="OpenRTP 1.1.0"/>
+</feature>
+<feature url="features/jp.go.aist.rtm.rtcbuilder.feature_1.1.0.rc3v20120528.jar" id="jp.go.aist.rtm.rtcbuilder.feature" version="1.1.0.rc3v20120528">
+<category name="OpenRTP 1.1.0"/>
+</feature>
+<category-def name="OpenRTP 1.1.0" label="OpenRTP 1.1.0"/>
+</site>
Added: trunk/rtmtools/sitetool/run.bat
===================================================================
--- trunk/rtmtools/sitetool/run.bat (rev 0)
+++ trunk/rtmtools/sitetool/run.bat 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,13 @@
+
+cd %~dp0
+
+set ANT_HOME=%ECLIPSE_HOME%\plugins\org.apache.ant_1.7.0.v200803061910
+set PATH=%PATH%;%ANT_HOME%\bin
+
+call ant -lib lib get.plugins
+
+call ant -lib lib feature.sign.gen
+
+call ant -lib lib build.features
+
+call ant -lib lib deploy.site
\ No newline at end of file
Added: trunk/rtmtools/sitetool/run.sh
===================================================================
--- trunk/rtmtools/sitetool/run.sh (rev 0)
+++ trunk/rtmtools/sitetool/run.sh 2012-06-28 13:21:36 UTC (rev 325)
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+cd `dirname $0`
+pwd
+
+export ANT_HOME=eclipse/plugins/org.apache.ant_1.7.0.v200803061910/
+export PATH=${PATH}:${ANT_HOME}/bin
+
+echo "ANT_HOME=${ANT_HOME}"
+echo "PATH=${PATH}"
+
+ant -lib lib get.plugins
+
+ant -lib lib feature.sign.gen
+
+ant -lib lib build.features
+
+ant -lib lib deploy.site
+
+# EOF
More information about the openrtm-commit
mailing list