Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > subclipse commit: rev 94 - trunk/subclipse/core

subclipse
Discussion topic

Back to topic list

subclipse commit: rev 94 - trunk/subclipse/core

Author dbradby
Full name Daniel Bradby
Date 2003-08-10 01:37:07 PDT
Message Author: dbradby
Date: Sun Aug 10 03:37:06 2003
New Revision: 94

Added:
   trunk/subclipse/core/build.xml
Log:
added build script

Added: trunk/subclipse/core/build.xml
====================​====================​====================​==================
--- (empty file)
+++ trunk/subclipse/core/build.xml Sun Aug 10 03:37:06 2003
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="org.tigris.sub​version.subclipse.co​re" default="build.jars" basedir=".">
+
+ <property name="bootclasspath" value=""/>
+ <property name="ws" value="win32"/>
+ <property name="os" value="os"/>
+ <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="core.plugin" value="org.tigris.su​bversion.subclipse.c​ore"/>
+ <property name="version.suffix" value="_0.7.0"/>
+ <property name="core.full.name" value="${core.plugi​n}${version.suffix}​"/>
+ <property name="temp.folder" value="${basedir}/t​emp.folder"/>
+ <property name="core.basedir" value="${basedir}"/>
+ <property name="plugin.destination" value="${basedir}"/>
+ <property name="build.result.folder" value="${basedir}"/>
+ <property name="core.src.folder" value="${basedir}/src"/>
+ </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.core 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}/${full.​name}.jar" basedir="${temp.fol​der}/${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}/${core​.full.name}"/>
+ <copy file="${build.resul​t.folder}/SVNPluginC​ore.jar" todir="${destinatio​n.temp.folder}/${co​re.full.name}"/>
+ <copy todir="${destinatio​n.temp.folder}/${co​re.full.name}">
+ <fileset dir="${core.basedir}" includes="plugin.xml​,plugin.properties,*​.jar,SVNPluginCore.j​ar"/>
+ </copy>
+ <mkdir dir="${destination.​temp.folder}/${core​.full.name}/os/win32​/x86"/>
+ <copy file="${core.basedi​r}/jsvnjni.dll" todir="${destinatio​n.temp.folder}/${co​re.full.name}/os/win​32/x86"/>
+ </target>
+
+ <target name="SVNPluginCore.jar" depends="init" unless="SVNPluginCore.jar" description="Create jar: SVNPluginCore.jar.">
+ <property name="destdir" value="${temp.folde​r}/SVNPluginCore.jar​.bin"/>
+ <delete dir="${temp.folder}​/SVNPluginCore.jar.b​in"/>
+ <mkdir dir="${temp.folder}​/SVNPluginCore.jar.b​in"/>
+ <!-- compile the source code -->
+ <javac destdir="${temp.fol​der}/SVNPluginCore.j​ar.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;${core.base​dir}/svnClientAdapte​r.jar;${core.basedi​r}/jsvn.jar;../../pl​ugins/org.eclipse.co​re.runtime_2.1.0/bin​;../../plugins/org.e​clipse.core.runtime_​2.1.0/runtime.jar;..​/../plugins/org.apac​he.xerces_4.0.13/bin​;../../plugins/org.a​pache.xerces_4.0.13/​xmlParserAPIs.jar;..​/../plugins/org.apac​he.xerces_4.0.13/xer​cesImpl.jar;../../pl​ugins/org.eclipse.co​re.resources_2.1.0/b​in;../../plugins/org​.eclipse.core.resour​ces_2.1.0/resources.​jar;../../plugins/or​g.eclipse.core.resou​rces.win32_2.1.0/res​ources.jar;../../plu​gins/org.eclipse.ui_​2.1.0/bin;../../plug​ins/org.eclipse.ui_2​.1.0/ui.jar;../../pl​ugins/org.eclipse.up​date.core_2.1.0/bin;​../../plugins/org.ec​lipse.update.core_2.​1.0/updateco!
re.jar;../../plugins​/org.eclipse.update.​core.win32_2.1.0/upd​atecore.jar;../../pl​ugins/org.eclipse.he​lp_2.1.0/bin;../../p​lugins/org.eclipse.h​elp_2.1.0/help.jar;.​./../plugins/org.apa​che.lucene_1.2.1/bin​;../../plugins/org.a​pache.lucene_1.2.1/p​arser.jar;../../plug​ins/org.apache.lucen​e_1.2.1/lucene-1.2.j​ar;../../plugins/org​.eclipse.help.appser​ver_2.1.0/bin;../../​plugins/org.eclipse.​help.appserver_2.1.0​/appserver.jar;../..​/plugins/org.eclipse​.swt_2.1.0/bin;../..​/plugins/org.eclipse​.swt_2.1.0/ws/${ws}​/swt.jar;../../plugi​ns/org.eclipse.swt.w​in32_2.1.0/ws/${ws}​/swt.jar;../../plugi​ns/org.eclipse.text_​2.1.0/bin;../../plug​ins/org.eclipse.text​_2.1.0/text.jar;../.​./plugins/org.eclips​e.jface_2.1.0/bin;..​/../plugins/org.ecli​pse.jface_2.1.0/jfac​e.jar;../../plugins/​org.eclipse.jface.te​xt_2.1.0/bin;../../p​lugins/org.eclipse.j​face.text_2.1.0/jfac​etext.jar;../../plug​ins/org.eclipse.ui.v​iews_2.1.0/bin;../..​/plugins/org.eclipse​.ui.views_2.1.0/view​s.jar;../../plugins/​org.eclipse.ui.workb​ench_2.1.0/!
bin;../../plugins/or​g.eclipse.ui.workben​ch_2.1.0/workbench.j​ar;../../plugins/org​.eclipse.ui.win32_2.​1.0/workbench.jar;..​/../plugins/org.ecli​pse.ui.win32_2.1.0/b​in;../../plugins/org​.eclipse.ui.win32_2.​1.0/workbenchwin32.j​ar;../../plugins/org​.eclipse.ui.workbenc​h.texteditor_2.1.0/b​in;../../plugins/org​.eclipse.ui.workbenc​h.texteditor_2.1.0/t​exteditor.jar;../../​plugins/org.eclipse.​ui.editors_2.1.0/bin​;../../plugins/org.e​clipse.ui.editors_2.​1.0/editors.jar;../.​./plugins/org.eclips​e.team.core_2.1.0/bi​n;../../plugins/org.​eclipse.team.core_2.​1.0/team.jar">
+ <src path="${core.src.folder}"/>
+ </javac>
+ <!-- copy necessary resources -->
+ <copy todir="${temp.folde​r}/SVNPluginCore.jar​.bin">
+ <fileset dir="${core.src.folder}" excludes="**/*.java"/>
+ </copy>
+ <mkdir dir="${build.result​.folder}"/>
+ <jar jarfile="${build.re​sult.folder}/SVNPlug​inCore.jar" basedir="${temp.fol​der}/SVNPluginCore.j​ar.bin"/>
+ <delete dir="${temp.folder}​/SVNPluginCore.jar.b​in"/>
+ </target>
+
+ <target name="SVNPluginCoresrc.zip" depends="init" unless="SVNPluginCore.jar">
+ <mkdir dir="${build.result​.folder}"/>
+ <zip zipfile="${build.re​sult.folder}/SVNPlug​inCoresrc.zip" filesonly="false" update="no">
+ <fileset dir="${core.src.folder}/" includes="**/*.java"/>
+ </zip>
+ </target>
+
+ <target name="build.jars" depends="init" description="Build all the jars for the plug-in: org.tigris.subversio​n.subclipse.core."​>
+ <available property="SVNPluginCore.jar" file="${build.resul​t.folder}/SVNPluginC​ore.jar"/>
+ <antcall target="SVNPluginCore.jar"/>
+ </target>
+
+ <target name="build.sources" depends="init">
+ <available property="SVNPluginCoresrc.zip" file="${build.resul​t.folder}/SVNPluginC​oresrc.zip"/>
+ <antcall target="SVNPluginCor​esrc.zip"/>
+ </target>
+
+ <target name="build.zips" depends="init">
+ </target>
+
+ <target name="gather.sources" depends="init" if="destination.temp​.folder">
+ <mkdir dir="${destination.​temp.folder}/${core​.full.name}"/>
+ <copy file="${build.resul​t.folder}/SVNPluginC​oresrc.zip" todir="${destinatio​n.temp.folder}/${co​re.full.name}"/>
+ </target>
+
+ <target name="gather.logs" depends="init" if="destination.temp​.folder">
+ <mkdir dir="${destination.​temp.folder}/${core​.full.name}"/>
+ <copy file="${temp.folder​}/SVNPluginCore.jar.​bin.log" todir="${destinatio​n.temp.folder}/${co​re.full.name}"/>
+ </target>
+
+ <target name="clean" depends="init" description="Clean the plug-in: org.tigris.subversio​n.subclipse.core 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="${plugin.dest​ination}/${full.nam​e}.jar"/>
+ <delete file="${plugin.dest​ination}/${full.nam​e}.zip"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+ <target name="refresh" depends="init" if="eclipse.running">
+ <eclipse.convertPath fileSystemPath="G:\​Eclipse\eclipse3M1​eclipse\workspace​core\" 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.core."​>
+ <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}/${full.​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 94 - trunk/subclipse/core dbradby Daniel Bradby 2003-08-10 01:37:07 PDT
Messages per page: