Commit b683e6d5 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

lets try adding the refactoring plugin to the automatically built toolset.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 649ccdfc
......@@ -74,12 +74,14 @@
<property name="regressiontests.name" value="org.eclipse.titan.regressiontests"/>
<property name="titanium.name" value="org.eclipse.titanium"/>
<property name="titanium.regressiontests.name" value="org.eclipse.titanium.regressiontests"/>
<property name="titanium.refactoring.name" value="org.eclipse.titanium.refactoring"/>
<property name="designer.feature.name" value="TITAN_Designer_feature"/>
<property name="executor.feature.name" value="TITAN_Executor_feature"/>
<property name="logviewer.feature.name" value="TITAN_Log_Viewer_Feature"/>
<property name="titan_external_dependency.feature.name" value="Titan_external_dependencies_feature"/>
<property name="titanium.feature.name" value="Titanium_Feature"/>
<property name="titanium_external_dependency.feature.name" value="Titanium_external_dependencies_feature"/>
<property name="titanium.refactoring.feature.name" value="Titanium_Refactoring_Feature"/>
<property name="compiler.location" location="/home/titanrt/jenkins/titan_compiler_git/"/>
<property name="tpd.xsd" location="${compiler.location}/etc/xsd/TPD.xsd"/>
......@@ -87,6 +89,7 @@
<property name="usrguide.compiler.dir" location="${compiler.location}/usrguide"/>
<property name="usrguide.eclipse.dir" location="${base.dir}/../"/>
<property name="usrguide.eclipse.titanium.dir" location="${base.dir}/../org.eclipse.titanium/docs/"/>
<property name="usrguide.eclipse.titanium.refactoring.dir" location="${base.dir}/../org.eclipse.titanium.refactoring/docs/"/>
<property name="doc2pdf.jar" location="${lib.dir}/doc2pdf.jar"/>
<property environment="env"/>
......
......@@ -36,6 +36,10 @@
<pathelement location="${build.dir}/${titanium.name}/bin"/>
</path>
<path id="titanium.refactoring.classpath">
<pathelement location="${build.dir}/${titanium.refactoring.name}/bin"/>
</path>
<path id="junit.classpath">
<pathelement location="${lib.dir}/org.junit_4.11.0.v201303080030/junit.jar"/>
</path>
......
......@@ -81,6 +81,10 @@
<build.plugin name="${titanium.regressiontests.name}"/>
</target>
<target name="titanium.refactoring.plugin" depends="init, common.plugin, designer.plugin">
<build.plugin name="${titanium.refactoring.name}"/>
</target>
<!-- Macro which builds a feature -->
<macrodef name="build.feature">
<attribute name="dir"/>
......@@ -210,6 +214,10 @@
name="Titanium"
updatesite.name="@{updatesite.name}"
updatesite.url="@{updatesite.url}"/>
<build.feature dir="Titanium_Refactoring_feature"
name="Titanium.Refactoring"
updatesite.name="@{updatesite.name}"
updatesite.url="@{updatesite.url}"/>
<build.external_feature dir="Titan_external_dependencies_feature"
name="Titan_external_dependencies"
updatesite.name="@{updatesite.name}"
......@@ -411,7 +419,7 @@
</macrodef>
<target name="updatesite.release"
depends="common.plugin, runtime, designer.plugin, executor.plugin, help.plugin, logviewer.plugin, debug.plugin, regressiontests.plugin, titanium.plugin, titanium.regressiontests.plugin">
depends="common.plugin, runtime, designer.plugin, executor.plugin, help.plugin, logviewer.plugin, debug.plugin, regressiontests.plugin, titanium.plugin, titanium.regressiontests.plugin, titanium.refactoring.plugin">
<build.updatesite
site.name="${updatesite.release.name}"
location="${updatesite.release.location}"
......@@ -420,7 +428,7 @@
</target>
<target name="updatesite.FOA"
depends="common.plugin, runtime, designer.plugin, executor.plugin, help.plugin, logviewer.plugin, debug.plugin, regressiontests.plugin, titanium.plugin, titanium.regressiontests.plugin">
depends="common.plugin, runtime, designer.plugin, executor.plugin, help.plugin, logviewer.plugin, debug.plugin, regressiontests.plugin, titanium.plugin, titanium.regressiontests.plugin, titanium.refactoring.plugin">
<build.updatesite
site.name="${updatesite.FOA.name}"
location="${updatesite.FOA.location}"
......@@ -428,7 +436,7 @@
</target>
<target name="updatesite.experimental"
depends="common.plugin, runtime, designer.plugin, executor.plugin, help.plugin, logviewer.plugin, debug.plugin, regressiontests.plugin, titanium.plugin, titanium.regressiontests.plugin">
depends="common.plugin, runtime, designer.plugin, executor.plugin, help.plugin, logviewer.plugin, debug.plugin, regressiontests.plugin, titanium.plugin, titanium.regressiontests.plugin, titanium.refactoring.plugin">
<build.updatesite
site.name="${updatesite.experimental.name}"
location="${updatesite.experimental.location}"
......@@ -436,7 +444,7 @@
</target>
<target name="updatesite.testing"
depends="common.plugin, runtime, designer.plugin, executor.plugin, help.plugin, logviewer.plugin, debug.plugin, regressiontests.plugin, titanium.plugin, titanium.regressiontests.plugin">
depends="common.plugin, runtime, designer.plugin, executor.plugin, help.plugin, logviewer.plugin, debug.plugin, regressiontests.plugin, titanium.plugin, titanium.regressiontests.plugin, titanium.refactoring.plugin">
<build.updatesite
site.name="${updatesite.testing.name}"
location="${updatesite.testing.location}"
......@@ -444,7 +452,7 @@
</target>
<target name="zip"
depends="common.plugin, runtime, designer.plugin, executor.plugin, help.plugin, logviewer.plugin, debug.plugin, regressiontests.plugin, titanium.plugin, titanium.regressiontests.plugin">
depends="common.plugin, runtime, designer.plugin, executor.plugin, help.plugin, logviewer.plugin, debug.plugin, regressiontests.plugin, titanium.plugin, titanium.regressiontests.plugin, titanium.refactoring.plugin">
<build.updatesite
site.name="${updatesite.release.name}"
location="${result.dir}/zip/${version.qualifier}/"
......@@ -468,6 +476,7 @@
<clean.plugin name="${regressiontests.name}"/>
<clean.plugin name="${titanium.name}"/>
<clean.plugin name="${titanium.regressiontests.name}"/>
<clean.plugin name="${titanium.refactoring.name}"/>
<delete dir="${result.dir}" failonerror="false"/>
</target>
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
Copyright (c) 2000-2019 Ericsson Telecom AB
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
-->
<project basedir="." default="build" name="org.eclipse.titanium.refactoring">
<import file="build_import.xml" />
<target name="init">
<mkdir dir="bin"/>
<copy includeemptydirs="false" todir="bin">
<fileset dir="src">
<exclude name="**/*.java"/>
</fileset>
</copy>
<copy includeemptydirs="false" todir="bin">
<fileset dir=".">
<include name="toc.xml"/>
<include name="*.jar"/>
<include name="docs/**"/>
<include name="resources/**"/>
</fileset>
</copy>
</target>
<target depends="init" name="build">
<echo message="${ant.project.name}: ${ant.file}"/>
<pathconvert property="PDE.classpathProp" refid="PDE.classpath"/>
<echo message="${ant.project.name}: PDE class path: ${PDE.classpathProp}"/>
<javac debug="${javac.debug}" debuglevel="${javac.debuglevel}"
destdir="bin" source="1.8" target="1.8" failonerror="true">
<src path="src"/>
<classpath>
<path refid="PDE.classpath"/>
<path refid="common.classpath"/>
<path refid="designer.classpath"/>
</classpath>
</javac>
</target>
<target name="build.jars" depends="build">
<copy file="plugin.xml" todir="bin" />
<mkdir dir="${result.dir}/plugins"/>
<update.manifest file="${build.dir}/${titanium.refactoring.name}/META-INF/MANIFEST.MF"/>
<jar destfile="${result.dir}/plugins/org.eclipse.titanium.refactoring_${version.qualifier}.jar"
manifest="${build.dir}/${titanium.refactoring.name}/META-INF/MANIFEST.MF">
<fileset dir="bin" />
</jar>
</target>
<target name="clean">
<delete dir="bin"/>
</target>
<target depends="clean" name="cleanall"/>
</project>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment