Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > subclipse commit: rev 97 - trunk/subclipse/ui

subclipse
Discussion topic

Back to topic list

subclipse commit: rev 97 - trunk/subclipse/ui

Author dbradby
Full name Daniel Bradby
Date 2003-08-10 01:40:24 PDT
Message Author: dbradby
Date: Sun Aug 10 03:40:23 2003
New Revision: 97

Added:
   trunk/subclipse/ui/b​uild-all.xml
   trunk/subclipse/ui/build.xml
Modified:
   trunk/subclipse/ui/b​uild.properties
Log:
added build script

Added: trunk/subclipse/ui/b​uild-all.xml
====================​====================​====================​==================
--- (empty file)
+++ trunk/subclipse/ui/b​uild-all.xml Sun Aug 10 03:40:23 2003
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="org.tigris.sub​version.subclipse" default="build.jars" basedir=".">
+
+ <property name="bootclasspath" value=""/>
+ <property name="ws" value="win32"/>
+ <property name="os" value="win32"/>
+ <property name="arch" value="x86"/>
+ <property name="javacFailOnError" value="true"/>
+ <property name="javacDebugInfo" value="on"/>
+ <property name="javacVerbose" value="true"/>
+
+ <target name="init" depends="properties">
+ <property name="plugin" value="org.tigris.su​bversion.subclipse"/​>
+ <property name="ui-plugin" value="org.tigris.su​bversion.subclipse.u​i"/>
+ <property name="core-plugin" value="org.tigris.su​bversion.subclipse.c​ore"/>
+ <property name="version.suffix" value="_0.7.0"/>
+ <property name="full.name" value="${plugin}${​version.suffix}"/​>
+ <property name="temp.folder" value="${basedir}/t​emp.folder"/>
+ <property name="plugins.folder" value="${temp.folde​r}/eclipse/plugins"/​>
+ <property name="core.folder" value="${basedir}/../core"/>
+ <property name="ui.folder" value="${basedir}"/>
+ <property name="plugin.destination" value="${basedir}"/>
+ <property name="build.result.folder" value="${basedir}"/>
+ </target>
+
+ <target name="properties" if="eclipse.running">
+ <property name="build.compiler" value="org.eclipse.j​dt.core.JDTCompilerA​dapter"/>
+ </target>
+
+ <target name="build.jars" depends="init" description="Build all the jars for the plug-in: org.tigris.subversio​n.subclipse.">
+ <available property="SVNPluginUI.jar" file="${build.resul​t.folder}/SVNPluginU​I.jar"/>
+ <available property="SVNPluginCore.jar" file="${build.resul​t.folder}/SVNPluginC​ore.jar"/>
+ <ant antfile="${core.fol​der}/build.xml" target="SVNPluginCore.jar">
+ <property name="core.src.folder" value="${core.folder}/src"/>
+ <property name="core.basedir" location="${core.folder}"/>
+ </ant>
+ <ant antfile="${ui.folde​r}/build.xml" target="SVNPluginUI.jar"/>
+ </target>
+
+ <target name="build.sources" depends="init">
+ <available property="SVNPluginUIsrc.zip" file="${build.resul​t.folder}/SVNPluginU​Isrc.zip"/>
+ <available property="SVNPluginCoresrc.zip" file="${build.resul​t.folder}/SVNPluginC​oresrc.zip"/>
+ <ant antfile="${ui.folde​r}/build.xml" target="SVNPluginUIs​rc.zip"/>
+ <ant antfile="${core.fol​der}/build.xml" target="SVNPluginCor​esrc.zip">
+ <property name="core.src.folder" value="${core.folder}/src"/>
+ <property name="core.basedir" location="${core.folder}"/>
+ </ant>
+ </target>
+
+ <target name="build.zips" depends="init">
+ </target>
+
+ <target name="clean" depends="init" description="Clean the plug-in: org.tigris.subversio​n.subclipse.ui of all the zips, jars and logs created.">
+ <delete file="${build.resul​t.folder}/SVNPluginC​ore.jar"/>
+ <delete file="${build.resul​t.folder}/SVNPluginC​oresrc.zip"/>
+ <delete file="${build.resul​t.folder}/SVNPluginU​I.jar"/>
+ <delete file="${build.resul​t.folder}/SVNPluginU​Isrc.zip"/>
+ <delete file="${plugin.dest​ination}/${full.nam​e}.jar"/>
+ <delete file="${plugin.dest​ination}/${full.nam​e}.zip"/>
+ <delete dir="${plugins.folder}"/>
+ </target>
+
+ <target name="gather.sources" depends="init" if="destination.temp​.folder">
+ <ant antfile="${ui.folde​r}/build.xml" target="gather.sources">
+ <property name="destination.temp.folder" value="${plugins.folder}/"/>
+ </ant>
+ <ant antfile="${core.fol​der}/build.xml" target="gather.sources">
+ <property name="destination.temp.folder" value="${plugins.folder}/"/>
+ </ant>
+ </target>
+
+ <target name="gather.bin.parts" depends="init" if="destination.temp​.folder">
+ <ant antfile="${ui.folde​r}/build.xml" target="gather.bin.parts">
+ <property name="destination.temp.folder" value="${plugins.folder}/"/>
+ </ant>
+ <ant antfile="${core.fol​der}/build.xml" target="gather.bin.parts">
+ <property name="destination.temp.folder" value="${plugins.folder}/"/>
+ <property name="core.basedir" location="${core.folder}"/>
+ </ant>
+ <copy todir="${temp.folde​r}/eclipse">
+ <fileset dir="${core.folder}" includes="libdb40.dl​l,libeay32.dll,sslea​y32.dll"/>
+ </copy>
+ </target>
+
+ <target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: org.tigris.subversio​n.subclipse.ui.">​
+ <delete dir="${temp.folder}"/>
+ <mkdir dir="${plugins.folder}"/>
+ <antcall target="build.jars"/>
+ <antcall target="build.sources"/>
+ <antcall target="gather.bin.parts">
+ <param name="destination.temp.folder" value="${plugins.folder}/"/>
+ </antcall>
+ <antcall target="gather.sources">
+ <param name="destination.temp.folder" value="${plugins.folder}/"/>
+ </antcall>
+ <delete>
+ <fileset dir="${plugins.folder}" includes="**/*.bin.log"/>
+ </delete>
+ <antcall target="zip.folder"/>
+ </target>
+
+ <target name="zip.folder" depends="init">
+ <zip zipfile="${plugin.d​estination}/${full.​name}.zip" basedir="${temp.folder}" filesonly="true" update="no" excludes="**/*.bin.log"/>
+ </target>
+
+</project>

Modified: trunk/subclipse/ui/b​uild.properties
====================​====================​====================​==================
--- trunk/subclipse/ui/b​uild.properties (original)
+++ trunk/subclipse/ui/b​uild.properties Sun Aug 10 03:40:23 2003
@@ -3,4 +3,5 @@
                *.jar,\
                icons/,\
                SVNPluginUI.jar
+
 source.SVNPluginUI.jar = src/

Added: trunk/subclipse/ui/build.xml
====================​====================​====================​==================
--- (empty file)
+++ trunk/subclipse/ui/build.xml Sun Aug 10 03:40:23 2003
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="org.tigris.sub​version.subclipse.ui​" default="build.jars" basedir=".">
+
+ <property name="bootclasspath" value=""/>
+ <property name="ws" value="win32"/>
+ <property name="os" value="win32"/>
+ <property name="arch" value="x86"/>
+ <property name="javacFailOnError" value="false"/>
+ <property name="javacDebugInfo" value="on"/>
+ <property name="javacVerbose" value="true"/>
+
+ <target name="init" depends="properties">
+ <property name="ui.plugin" value="org.tigris.su​bversion.subclipse.u​i"/>
+ <property name="version.suffix" value="_0.7.0"/>
+ <property name="ui.full.name" value="${ui.plugin}​${version.suffix}"/​>
+ <property name="core.temp.folder" value="${basedir}/t​emp.folder"/>
+ <property name="plugin.destination" value="${basedir}"/>
+ <property name="build.result.folder" value="${basedir}"/>
+ </target>
+
+ <target name="properties" if="eclipse.running">
+ <property name="build.compiler" value="org.eclipse.j​dt.core.JDTCompilerA​dapter"/>
+ </target>
+
+ <target name="build.update.jar" depends="init" description="Build the plug-in: org.tigris.subversio​n.subclipse.ui for an update site.">
+ <delete dir="${temp.folder}"/>
+ <mkdir dir="${temp.folder}"/>
+ <antcall target="build.jars"/>
+ <antcall target="gather.bin.parts">
+ <param name="destination.temp.folder" value="${temp.folder}/"/>
+ </antcall>
+ <zip zipfile="${plugin.d​estination}/${ui.fu​ll.name}.jar" basedir="${temp.fol​der}/${ui.full.name​}" filesonly="false" update="no"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+ <target name="gather.bin.parts" depends="init" if="destination.temp​.folder">
+ <mkdir dir="${destination.​temp.folder}/${ui.f​ull.name}"/>
+ <copy file="${build.resul​t.folder}/SVNPluginU​I.jar" todir="${destinatio​n.temp.folder}/${ui​.full.name}"/>
+ <copy todir="${destinatio​n.temp.folder}/${ui​.full.name}">
+ <fileset dir="${basedir}" includes="plugin.xml​,plugin.properties,*​.jar,icons/,SVNPlugi​nUI.jar"/>
+ </copy>
+ </target>
+
+ <target name="SVNPluginUI.jar" depends="init" unless="SVNPluginUI.jar" description="Create jar: SVNPluginUI.jar.">
+ <property name="destdir" value="${temp.folde​r}/SVNPluginUI.jar.b​in"/>
+ <delete dir="${temp.folder}​/SVNPluginUI.jar.bin​"/>
+ <mkdir dir="${temp.folder}​/SVNPluginUI.jar.bin​"/>
+ <!-- compile the source code -->
+ <javac destdir="${temp.fol​der}/SVNPluginUI.jar​.bin" failonerror="${java​cFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bo​otclasspath}" classpath="../../plu​gins/org.eclipse.cor​e.boot_2.1.0/bin;../​../plugins/org.eclip​se.core.boot_2.1.0/b​oot.jar;../../plugin​s/org.eclipse.core.r​untime_2.1.0/bin;../​../plugins/org.eclip​se.core.runtime_2.1.​0/runtime.jar;../../​plugins/org.apache.x​erces_4.0.13/bin;../​../plugins/org.apach​e.xerces_4.0.13/xmlP​arserAPIs.jar;../../​plugins/org.apache.x​erces_4.0.13/xercesI​mpl.jar;../../plugin​s/org.eclipse.core.r​esources_2.1.0/bin;.​./../plugins/org.ecl​ipse.core.resources_​2.1.0/resources.jar;​../../plugins/org.ec​lipse.core.resources​.win32_2.1.0/resourc​es.jar;../../plugins​/org.eclipse.ui_2.1.​0/bin;../../plugins/​org.eclipse.ui_2.1.0​/ui.jar;../../plugin​s/org.eclipse.update​.core_2.1.0/bin;../.​./plugins/org.eclips​e.update.core_2.1.0/​updatecore.jar;../..​/plugins/org.eclipse​.update.core.win32_2​.1.0/updatec!
ore.jar;../../plugin​s/org.eclipse.help_2​.1.0/bin;../../plugi​ns/org.eclipse.help_​2.1.0/help.jar;../..​/plugins/org.apache.​lucene_1.2.1/bin;../​../plugins/org.apach​e.lucene_1.2.1/parse​r.jar;../../plugins/​org.apache.lucene_1.​2.1/lucene-1.2.jar;.​./../plugins/org.ecl​ipse.help.appserver_​2.1.0/bin;../../plug​ins/org.eclipse.help​.appserver_2.1.0/app​server.jar;../../plu​gins/org.eclipse.swt​_2.1.0/bin;../../plu​gins/org.eclipse.swt​_2.1.0/ws/${ws}/swt​.jar;../../plugins/o​rg.eclipse.swt.win32​_2.1.0/ws/${ws}/swt​.jar;../../plugins/o​rg.eclipse.text_2.1.​0/bin;../../plugins/​org.eclipse.text_2.1​.0/text.jar;../../pl​ugins/org.eclipse.jf​ace_2.1.0/bin;../../​plugins/org.eclipse.​jface_2.1.0/jface.ja​r;../../plugins/org.​eclipse.jface.text_2​.1.0/bin;../../plugi​ns/org.eclipse.jface​.text_2.1.0/jfacetex​t.jar;../../plugins/​org.eclipse.ui.views​_2.1.0/bin;../../plu​gins/org.eclipse.ui.​views_2.1.0/views.ja​r;../../plugins/org.​eclipse.ui.workbench​_2.1.0/bin;../../plu​gins/org.eclipse.ui.​workbench_2.1.0/work​bench.jar;.!
./../plugins/org.ecl​ipse.ui.win32_2.1.0/​workbench.jar;../../​plugins/org.eclipse.​ui.win32_2.1.0/bin;.​./../plugins/org.ecl​ipse.ui.win32_2.1.0/​workbenchwin32.jar;.​./../plugins/org.ecl​ipse.ui.workbench.te​xteditor_2.1.0/bin;.​./../plugins/org.ecl​ipse.ui.workbench.te​xteditor_2.1.0/texte​ditor.jar;../../plug​ins/org.eclipse.ui.e​ditors_2.1.0/bin;../​../plugins/org.eclip​se.ui.editors_2.1.0/​editors.jar;../../pl​ugins/org.eclipse.te​am.core_2.1.0/bin;..​/../plugins/org.ecli​pse.team.core_2.1.0/​team.jar;../../plugi​ns/org.eclipse.team.​ui_2.1.0/bin;../../p​lugins/org.eclipse.t​eam.ui_2.1.0/teamui.​jar;../../plugins/or​g.eclipse.compare_2.​1.0/bin;../../plugin​s/org.eclipse.compar​e_2.1.0/compare.jar;​../core/bin;SVNPlugi​nCore.jar;../core/sv​nClientAdapter.jar;.​./core/jsvn.jar">​
+ <src path="src/"/>
+ </javac>
+ <!-- copy necessary resources -->
+ <copy todir="${temp.folde​r}/SVNPluginUI.jar.b​in">
+ <fileset dir="src/" excludes="**/*.java"/>
+ </copy>
+ <mkdir dir="${build.result​.folder}"/>
+ <jar jarfile="${build.re​sult.folder}/SVNPlug​inUI.jar" basedir="${temp.fol​der}/SVNPluginUI.jar​.bin"/>
+ <delete dir="${temp.folder}​/SVNPluginUI.jar.bin​"/>
+ </target>
+
+ <target name="SVNPluginUIsrc.zip" depends="init" unless="SVNPluginUI.jar">
+ <mkdir dir="${build.result​.folder}"/>
+ <zip zipfile="${build.re​sult.folder}/SVNPlug​inUIsrc.zip" filesonly="false" update="no">
+ <fileset dir="src/" includes="**/*.java"/>
+ </zip>
+ </target>
+
+ <target name="build.jars" depends="init" description="Build all the jars for the plug-in: org.tigris.subversio​n.subclipse.ui.">​
+ <available property="SVNPluginUI.jar" file="${build.resul​t.folder}/SVNPluginU​I.jar"/>
+ <antcall target="SVNPluginUI.jar"/>
+ </target>
+
+ <target name="build.sources" depends="init">
+ <available property="SVNPluginUIsrc.zip" file="${build.resul​t.folder}/SVNPluginU​Isrc.zip"/>
+ <antcall target="SVNPluginUIs​rc.zip"/>
+ </target>
+
+ <target name="build.zips" depends="init">
+ </target>
+
+ <target name="gather.sources" depends="init" if="destination.temp​.folder">
+ <mkdir dir="${destination.​temp.folder}/${ui.f​ull.name}"/>
+ <copy file="${build.resul​t.folder}/SVNPluginU​Isrc.zip" todir="${destinatio​n.temp.folder}/${ui​.full.name}"/>
+ </target>
+
+ <target name="gather.logs" depends="init" if="destination.temp​.folder">
+ <mkdir dir="${destination.​temp.folder}/${ui.f​ull.name}"/>
+ <copy file="${temp.folder​}/SVNPluginUI.jar.bi​n.log" todir="${destinatio​n.temp.folder}/${ui​.full.name}"/>
+ </target>
+
+ <target name="clean" depends="init" description="Clean the plug-in: org.tigris.subversio​n.subclipse.ui of all the zips, jars and logs created.">
+ <delete file="${build.resul​t.folder}/SVNPluginU​I.jar"/>
+ <delete file="${build.resul​t.folder}/SVNPluginU​Isrc.zip"/>
+ <delete file="${plugin.dest​ination}/${ui.full.​name}.jar"/>
+ <delete file="${plugin.dest​ination}/${ui.full.​name}.zip"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+ <target name="refresh" depends="init" if="eclipse.running">
+ <eclipse.convertPath fileSystemPath="G:\​Eclipse\eclipse3M1​eclipse\workspace​ui\" property="resourcePath"/>
+ <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
+ </target>
+
+ <target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: org.tigris.subversio​n.subclipse.ui.">​
+ <delete dir="${temp.folder}"/>
+ <mkdir dir="${temp.folder}"/>
+ <antcall target="build.jars"/>
+ <antcall target="build.sources"/>
+ <antcall target="gather.bin.parts">
+ <param name="destination.temp.folder" value="${temp.folder}/"/>
+ </antcall>
+ <antcall target="gather.sources">
+ <param name="destination.temp.folder" value="${temp.folder}/"/>
+ </antcall>
+ <delete>
+ <fileset dir="${temp.folder}" includes="**/*.bin.log"/>
+ </delete>
+ <antcall target="zip.folder"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+ <target name="zip.folder" depends="init">
+ <zip zipfile="${plugin.d​estination}/${ui.fu​ll.name}.zip" basedir="${temp.folder}" filesonly="true" update="no" excludes="**/*.bin.log"/>
+ </target>
+
+</project>

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@subc​lipse.tigris.org
For additional commands, e-mail: cvs-help at subclipse dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

subclipse commit: rev 97 - trunk/subclipse/ui dbradby Daniel Bradby 2003-08-10 01:40:24 PDT
Messages per page: