From: Jochen L. <lue...@us...> - 2004-06-03 19:24:37
|
Update of /cvsroot/e-p-i-c/org.epic.feature.main In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17753 Modified Files: feature.xml license.html build.xml Log Message: Changes for Eclipse 3.0 Index: feature.xml =================================================================== RCS file: /cvsroot/e-p-i-c/org.epic.feature.main/feature.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- feature.xml 20 May 2004 13:03:19 -0000 1.8 +++ feature.xml 3 Jun 2004 19:24:22 -0000 1.9 @@ -5,7 +5,6 @@ version="0.2.0" provider-name="Epic Project" plugin="org.epic.perleditor" - nl="en_GB,en_US" image="icons/epic_install.jpg"> <description> @@ -224,7 +223,7 @@ </url> <plugin - id="org.epic.perleditor" + id="org.epic.regexp" download-size="0" install-size="0" version="0.1.1"/> @@ -236,15 +235,15 @@ version="0.1.0"/> <plugin - id="org.epic.regexp" + id="org.epic.ext.cbg.editor" download-size="0" install-size="0" - version="0.1.1"/> + version="0.3.0"/> <plugin - id="org.epic.ext.cbg.editor" + id="org.epic.perleditor" download-size="0" install-size="0" - version="0.3.0"/> + version="0.1.1"/> </feature> Index: license.html =================================================================== RCS file: /cvsroot/e-p-i-c/org.epic.feature.main/license.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- license.html 18 Mar 2004 19:35:30 -0000 1.1.1.1 +++ license.html 3 Jun 2004 19:24:22 -0000 1.2 @@ -5,14 +5,14 @@ </head> <h1>License</h1> -<hr color="#66FFFF"> +<hr> <p>This Plug-in is provided to you under the terms and conditions of the Common Public License Version 1.0. </p> <p>A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>. </p> </p> -<hr color="#66FFFF"> +<hr> <address> <font SIZE="4">Provided by the EPIC Project Team</font> </address> Index: build.xml =================================================================== RCS file: /cvsroot/e-p-i-c/org.epic.feature.main/build.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- build.xml 8 May 2004 11:16:25 -0000 1.2 +++ build.xml 3 Jun 2004 19:24:22 -0000 1.3 @@ -2,25 +2,26 @@ <project name="org.epic.feature.main" default="build.update.jar" basedir="."> <target name="init"> - <property name="feature" value="org.epic.feature.main"/> - <property name="feature.version.suffix" value="_0.2.0"/> - <property name="feature.full.name" value="${feature}${feature.version.suffix}"/> <property name="feature.temp.folder" value="${basedir}/feature.temp.folder"/> <property name="feature.destination" value="${basedir}"/> </target> <target name="all.plugins" depends="init"> - <ant antfile="build.xml" dir="../org.epic.regexp/" target="${target}"/> - <ant antfile="build.xml" dir="../org.epic.ext.cbg.editor/" target="${target}"/> - <ant antfile="build.xml" dir="../org.epic.perleditor/" target="${target}"/> - <ant antfile="build.xml" dir="../org.epic.debug/" target="${target}"/> - <ant antfile="build.xml" dir="../org.epic.regexp/" target="${target}"/> - <ant antfile="build.xml" dir="../org.epic.ext.cbg.editor/" target="${target}"/> - <ant antfile="build.xml" dir="../org.epic.perleditor/" target="${target}"/> - <ant antfile="build.xml" dir="../org.epic.debug/" target="${target}"/> + <ant antfile="build.xml" dir="../org.epic.regexp" target="${target}"> + </ant> + <ant antfile="build.xml" dir="../org.epic.ext.cbg.editor" target="${target}"> + </ant> + <ant antfile="build.xml" dir="../org.epic.perleditor" target="${target}"> + </ant> + <ant antfile="build.xml" dir="../org.epic.debug" target="${target}"> + </ant> + </target> + <target name="all.features" depends="init"> + </target> + <target name="update.feature" depends="init"> </target> - <target name="all.children" depends="init,all.plugins"> + <target name="all.children" depends="init,all.features,all.plugins,update.feature"> </target> <target name="children" if="include.children"> @@ -53,9 +54,13 @@ <delete dir="${feature.temp.folder}"/> <mkdir dir="${feature.temp.folder}"/> <antcall target="gather.bin.parts" inheritAll="false"> + <param name="arch" value="*"/> + <param name="ws" value="*"/> + <param name="nl" value="*"/> + <param name="os" value="*"/> <param name="feature.base" value="${feature.temp.folder}"/> </antcall> - <jar jarfile="${feature.destination}/${feature.full.name}.jar" basedir="${feature.temp.folder}/features/${feature.full.name}"/> + <jar jarfile="${feature.destination}/org.epic.feature.main_0.2.0.jar" basedir="${feature.temp.folder}/features/org.epic.feature.main_0.2.0"/> <delete dir="${feature.temp.folder}"/> </target> @@ -64,22 +69,27 @@ <param name="destination.temp.folder" value="${feature.base}/plugins"/> <param name="target" value="gather.bin.parts"/> </antcall> - <mkdir dir="${feature.base}/features/${feature.full.name}"/> - <copy todir="${feature.base}/features/${feature.full.name}"> - <fileset dir="${basedir}" includes="feature.xml,icons/,license.html"/> + <copy todir="${feature.base}/features/org.epic.feature.main_0.2.0" failonerror="true"> + <fileset dir="${basedir}" includes="feature.xml,icons/,license.html" /> </copy> + <eclipse.idReplacer featureFilePath="${feature.base}/features/org.epic.feature.main_0.2.0/feature.xml" selfVersion="0.2.0" featureIds="" pluginIds="org.epic.regexp,0.1.1,org.epic.debug,0.1.0,org.epic.ext.cbg.editor,0.3.0,org.epic.perleditor,0.1.1,"/> + <antcall target="rootFiles${os}_${ws}_${arch}"/> + </target> + <target name="rootFiles*_*_*"> </target> <target name="zip.distribution" depends="init" description="Create a zip containing all the plug-ins and features for the feature: org.epic.feature.main."> <delete dir="${feature.temp.folder}"/> <mkdir dir="${feature.temp.folder}"/> <antcall target="gather.bin.parts"> + <param name="arch" value="*"/> + <param name="ws" value="*"/> + <param name="nl" value="*"/> <param name="include.children" value="true"/> <param name="feature.base" value="${feature.temp.folder}"/> + <param name="os" value="*"/> </antcall> - <antcall target="zip.folder"> - <param name="zipname" value="${feature.full.name}.bin.dist.zip"/> - </antcall> + <zip zipfile="${feature.destination}/org.epic.feature.main_0.2.0.bin.dist.zip" basedir="${feature.temp.folder}" filesonly="false" whenempty="skip" update="false"/> <delete dir="${feature.temp.folder}"/> </target> @@ -87,12 +97,11 @@ <delete dir="${feature.temp.folder}"/> <mkdir dir="${feature.temp.folder}"/> <antcall target="all.children"> - <param name="destination.temp.folder" value="${feature.temp.folder}/plugins/${feature}.source${feature.version.suffix}/src"/> + <param name="destination.temp.folder" value="${feature.temp.folder}/plugins/org.epic.feature.main.source_0.2.0/src"/> + <param name="include.children" value="true"/> <param name="target" value="gather.sources"/> </antcall> - <antcall target="zip.folder"> - <param name="zipname" value="${feature.full.name}.src.zip"/> - </antcall> + <zip zipfile="${feature.destination}/org.epic.feature.main_0.2.0.src.zip" basedir="${feature.temp.folder}" filesonly="true" whenempty="skip" update="false"/> <delete dir="${feature.temp.folder}"/> </target> @@ -101,35 +110,44 @@ <mkdir dir="${feature.temp.folder}"/> <antcall target="all.children" inheritAll="false"> <param name="destination.temp.folder" value="${feature.temp.folder}/plugins"/> + <param name="include.children" value="true"/> <param name="target" value="gather.logs"/> </antcall> - <antcall target="zip.folder"> - <param name="zipname" value="${feature.full.name}.log.zip"/> - </antcall> + <zip zipfile="${feature.destination}/org.epic.feature.main_0.2.0.log.zip" basedir="${feature.temp.folder}" filesonly="true" whenempty="skip" update="false"/> <delete dir="${feature.temp.folder}"/> </target> - <target name="zip.folder" depends="init"> - <zip zipfile="${zipname}" basedir="${feature.temp.folder}" filesonly="true" update="yes"/> - </target> - <target name="clean" depends="init" description="Clean the feature: org.epic.feature.main of all the zips, jars and logs created."> - <delete file="${feature.destination}/${feature.full.name}.jar"/> - <delete file="${feature.destination}/${feature.full.name}.bin.dist.zip"/> - <delete file="${feature.destination}/${feature.full.name}.log.zip"/> - <delete file="${feature.destination}/${feature.full.name}.src.zip"/> + <delete file="${feature.destination}/org.epic.feature.main_0.2.0.jar"/> + <delete file="${feature.destination}/org.epic.feature.main_0.2.0.bin.dist.zip"/> + <delete file="${feature.destination}/org.epic.feature.main_0.2.0.log.zip"/> + <delete file="${feature.destination}/org.epic.feature.main_0.2.0.src.zip"/> <delete dir="${feature.temp.folder}"/> <antcall target="all.children"> <param name="target" value="clean"/> </antcall> </target> - <target name="refresh" depends="init" if="eclipse.running"> - <eclipse.convertPath fileSystemPath="F:\eclipse_test\eclipse\workspace\org.epic.feature.main" property="resourcePath"/> + <target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder."> + <eclipse.convertPath fileSystemPath="/home/luelljoc/eclipse-test/3.0_M9/eclipse/workspace/org.epic.feature.main/" property="resourcePath"/> <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/> <antcall target="all.children"> <param name="target" value="refresh"/> </antcall> </target> + <target name="gather.sources"> + <antcall target="children"> + <param name="destination.temp.folder" value="${feature.temp.folder}/plugins/org.epic.feature.main.source_0.2.0/src"/> + <param name="target" value="gather.sources"/> + </antcall> + </target> + + <target name="gather.logs" depends="init"> + <mkdir dir="${feature.temp.folder}"/> + <antcall target="all.children" inheritAll="false"> + <param name="destination.temp.folder" value="${feature.temp.folder}/plugins"/> + <param name="target" value="gather.logs"/> + </antcall> + </target> </project> |