Author: oberhack Date: Tue Sep 7 23:04:14 2004 New Revision: 43499 Added: avalon/trunk/central/laboratory/studio/eclipse/core/build.xml avalon/trunk/central/laboratory/studio/eclipse/core/org.apache.metro.studio.core_0.1.1.jar (contents, props changed) Modified: avalon/trunk/central/laboratory/studio/eclipse/core/plugin.xml Log:
Added: avalon/trunk/central/laboratory/studio/eclipse/core/build.xml ============================================================================== --- (empty file) +++ avalon/trunk/central/laboratory/studio/eclipse/core/build.xml Tue Sep 7 23:04:14 2004 @@ -0,0 +1,242 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="org.apache.metro.studio.core" default="build.jars" basedir="."> + + <property name="bootclasspath" value=""/> + <property name="basews" value="${ws}"/> + <property name="baseos" value="${os}"/> + <property name="basearch" value="${arch}"/> + <property name="basenl" value="${nl}"/> + <property name="javacFailOnError" value="false"/> + <property name="javacDebugInfo" value="on"/> + <property name="javacVerbose" value="true"/> + <property name="javacSource" value="1.3"/> + <property name="javacTarget" value="1.2"/> + <property name="compilerArg" value=""/> + + <target name="init" depends="properties"> + <condition property="pluginTemp" value="${buildTempFolder}/plugins"> + <isset property="buildTempFolder"/> + </condition> + <property name="pluginTemp" value="${basedir}"/> + <condition property="build.result.folder" value="${pluginTemp}/core"> + <isset property="buildTempFolder"/> + </condition> + <property name="build.result.folder" value="${basedir}"/> + <property name="temp.folder" value="${basedir}/temp.folder"/> + <property name="plugin.destination" value="${basedir}"/> + </target> + + <target name="properties" if="eclipse.running"> + <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/> + </target> + + <target name="build.update.jar" depends="init" description="Build the plug-in: org.apache.metro.studio.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.destination}/org.apache.metro.studio.core_0.1.1.jar" basedir="${temp.folder}/org.apache.metro.studio.core_0.1.1" filesonly="false" whenempty="skip" update="false"/> + <delete dir="${temp.folder}"/> + </target> + + <target name="MetroStudioCore.jar" depends="init" unless="MetroStudioCore.jar" description="Create jar: MetroStudioCore.jar."> + <delete dir="${temp.folder}/MetroStudioCore.jar.bin"/> + <mkdir dir="${temp.folder}/MetroStudioCore.jar.bin"/> + <!-- compile the source code --> + <javac destdir="${temp.folder}/MetroStudioCore.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" source="${javacSource}" target="${javacTarget}" > + <compilerarg line="${compilerArg}"/> + <classpath> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.core.resources_3.0.0/resources.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.core.resources.win32_3.0.0/resources.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.core.resources.win32_3.0.0/resources-win32.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.core.runtime.compatibility_3.0.0/compatibility.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.core.runtime_3.0.0/runtime.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.osgi_3.0.0/core.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.osgi_3.0.0/console.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.osgi_3.0.0/osgi.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.osgi_3.0.0/resolver.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.osgi_3.0.0/defaultAdaptor.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.osgi_3.0.0/eclipseAdaptor.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.update.configurator_3.0.0/configurator.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ui_3.0.0/ui.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.help_3.0.0/help.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.swt_3.0.0/ws/${basews}/swt.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.swt.win32_3.0.0/ws/${basews}/swt.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.swt.win32_3.0.0"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.jface_3.0.0/jface.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ui.workbench_3.0.0/compatibility.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ui.workbench_3.0.0/workbench.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/compatibility.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ui.workbench.compatibility_3.0.0/workbench.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.core.expressions_3.0.0/expressions.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.jdt.core_3.0.0/jdtcore.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/com.swtdesigner.fragment.jdt.core_2.0.1/jdtcore.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/com.swtdesigner.fragment.jdt.core_2.0.1/designerJdtCore.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.text_3.0.0/text.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-antlr.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-apache-bsf.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-apache-resolver.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-commons-logging.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-commons-net.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-icontract.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-jai.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-jakarta-bcel.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-jakarta-log4j.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-jakarta-oro.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-jakarta-regexp.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-javamail.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-jdepend.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-jmf.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-jsch.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-junit.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-launcher.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-netrexx.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-nodeps.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-starteam.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-stylebook.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-swing.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-trax.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-vaj.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-weblogic.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-xalan1.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-xalan2.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.apache.ant_1.6.1/lib/ant-xslp.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-antlr.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-apache-bsf.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-apache-resolver.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-commons-logging.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-commons-net.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-icontract.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-jai.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-jakarta-bcel.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-jakarta-log4j.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-jakarta-oro.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-jakarta-regexp.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-javamail.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-jdepend.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-jmf.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-jsch.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-junit.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-launcher.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-netrexx.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-nodeps.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-starteam.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-stylebook.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-swing.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-trax.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-vaj.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-weblogic.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-xalan1.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-xalan2.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.ant.optional.junit_2.1.0/lib/ant-xslp.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.team.core_3.0.0/team.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.jdt.launching_3.0.0/launching.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.debug.core_3.0.0/dtcore.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.core.variables_3.0.0/variables.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.jdt.debug_3.0.0/jdi.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.jdt.debug_3.0.0/jdimodel.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.eclipse.jdt.debug_3.0.0/tools.jar"/> + <pathelement path="C:/Eclipse/3.0/plugins/org.junit_3.8.1/junit.jar"/> + <pathelement path="lib/xstream-1.0.2.jar"/> + <pathelement path="lib/xdoclet-1.2b4.jar"/> + <pathelement path="lib/xjavadoc-1.0.jar"/> + <pathelement path="lib/commons-collections-2.0.jar"/> + <pathelement path="lib/commons-lang.jar"/> + <pathelement path="lib/commons-logging.jar"/> + <pathelement path="lib/avalon-util-defaults-1.2.1.jar"/> + <pathelement path="lib/avalon-util-env-1.1.1.jar"/> + <pathelement path="lib/metro-event-0.0.1.jar"/> + <pathelement path="lib/avalon-repository-api-2.0.0.jar"/> + <pathelement path="lib/avalon-repository-spi-2.0.0.jar"/> + <pathelement path="lib/avalon-repository-main-2.0.0.jar"/> + </classpath> + <src path="src/" /> + </javac> + <!-- Copy necessary resources --> + <copy todir="${temp.folder}/MetroStudioCore.jar.bin" failonerror="true"> + <fileset dir="src/" excludes="**/*.java, **/package.htm*" /> + </copy> + <mkdir dir="${build.result.folder}"/> + <jar jarfile="${build.result.folder}/MetroStudioCore.jar" basedir="${temp.folder}/MetroStudioCore.jar.bin"/> + <delete dir="${temp.folder}/MetroStudioCore.jar.bin"/> + </target> + + <target name="MetroStudioCoresrc.zip" depends="init" unless="MetroStudioCoresrc.zip"> + <mkdir dir="${build.result.folder}"/> + <zip zipfile="${build.result.folder}/MetroStudioCoresrc.zip" filesonly="false" whenempty="skip" update="false"> + <fileset dir="src/" includes="**/*.java" /> + </zip> + </target> + + <target name="build.jars" depends="init" description="Build all the jars for the plug-in: org.apache.metro.studio.core."> + <available property="MetroStudioCore.jar" file="${build.result.folder}/MetroStudioCore.jar"/> + <antcall target="MetroStudioCore.jar"/> + </target> + + <target name="build.sources" depends="init"> + <available property="MetroStudioCoresrc.zip" file="${build.result.folder}/MetroStudioCoresrc.zip"/> + <antcall target="MetroStudioCoresrc.zip"/> + </target> + + <target name="gather.bin.parts" depends="init" if="destination.temp.folder"> + <mkdir dir="${destination.temp.folder}/org.apache.metro.studio.core_0.1.1"/> + <copy todir="${destination.temp.folder}/org.apache.metro.studio.core_0.1.1" failonerror="true"> + <fileset dir="${build.result.folder}" includes="MetroStudioCore.jar" /> + </copy> + <copy todir="${destination.temp.folder}/org.apache.metro.studio.core_0.1.1" failonerror="true"> + <fileset dir="${basedir}" includes="plugin.xml,config/,docs/,lib/avalon-framework/,lib/avalon-repository-api-2.0.0.jar,lib/avalon-repository-main-2.0.0.jar,lib/avalon-repository-spi-2.0.0.jar,lib/avalon-util-defaults-1.2.1.jar,lib/avalon-util-env-1.1.1.jar,lib/commons-collections-2.0.jar,lib/commons-lang.jar,lib/commons-logging.jar,lib/xstream-1.0.2.jar,lib/metro-event-0.0.1.jar,lib/xdoclet-1.2b4.jar,lib/xjavadoc-1.0.jar,templates/,toc.xml,MetroStudioCore.jar,bin/" /> + </copy> + </target> + + <target name="build.zips" depends="init"> + </target> + + <target name="gather.sources" depends="init" if="destination.temp.folder"> + <mkdir dir="${destination.temp.folder}/org.apache.metro.studio.core_0.1.1"/> + <copy file="${build.result.folder}/MetroStudioCoresrc.zip" todir="${destination.temp.folder}/org.apache.metro.studio.core_0.1.1" failonerror="false"/> + <copy todir="${destination.temp.folder}/org.apache.metro.studio.core_0.1.1" failonerror="false"> + <fileset dir="${basedir}" includes="src/,plugin.xml,toc.xml,templates/,test/,lib/,config/,docs/" excludes="lib/dom4j.jar,lib/merlin_src.zip,lib/xstream-0.1.jar,lib/xstream-0.2.jar" /> + </copy> + </target> + + <target name="gather.logs" depends="init" if="destination.temp.folder"> + <mkdir dir="${destination.temp.folder}/org.apache.metro.studio.core_0.1.1"/> + <copy file="${temp.folder}/MetroStudioCore.jar.bin.log" todir="${destination.temp.folder}/org.apache.metro.studio.core_0.1.1" failonerror="false"/> + </target> + + <target name="clean" depends="init" description="Clean the plug-in: org.apache.metro.studio.core of all the zips, jars and logs created."> + <delete file="${build.result.folder}/MetroStudioCore.jar"/> + <delete file="${build.result.folder}/MetroStudioCoresrc.zip"/> + <delete file="${plugin.destination}/org.apache.metro.studio.core_0.1.1.jar"/> + <delete file="${plugin.destination}/org.apache.metro.studio.core_0.1.1.zip"/> + <delete dir="${temp.folder}"/> + </target> + + <target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder."> + <eclipse.convertPath fileSystemPath="D:/Avalon/studio/eclipse/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.apache.metro.studio.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> + <zip zipfile="${plugin.destination}/org.apache.metro.studio.core_0.1.1.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/> + <delete dir="${temp.folder}"/> + </target> + +</project> Added: avalon/trunk/central/laboratory/studio/eclipse/core/org.apache.metro.studio.core_0.1.1.jar ============================================================================== Binary file. No diff available. Modified: avalon/trunk/central/laboratory/studio/eclipse/core/plugin.xml ============================================================================== --- avalon/trunk/central/laboratory/studio/eclipse/core/plugin.xml (original) +++ avalon/trunk/central/laboratory/studio/eclipse/core/plugin.xml Tue Sep 7 23:04:14 2004 @@ -3,12 +3,12 @@ <plugin id="org.apache.metro.studio.core" name="MetroStudio Core" - version="0.1.0" + version="0.1.1" provider-name="Apache Software Foundation" class="org.apache.metro.studio.eclipse.core.MetroStudioCore"> - + <runtime> - <library name="MetroStudioCore.jar"> + <library name="MetroStudioCore.jar"> <export name="*"/> </library> <library name="lib/xstream-1.0.2.jar"/> @@ -17,13 +17,14 @@ <library name="lib/commons-collections-2.0.jar"/> <library name="lib/commons-lang.jar"/> <library name="lib/commons-logging.jar"/> - <library name="lib/avalon-util-defaults-1.2.1.jar"/> - <library name="lib/avalon-util-env-1.1.1.jar"/> - <library name="lib/metro-event-0.0.1.jar"/> + <library name="lib/avalon-util-defaults-1.2.1.jar"/> + <library name="lib/avalon-util-env-1.1.1.jar"/> + <library name="lib/metro-event-0.0.1.jar"/> <library name="lib/avalon-repository-api-2.0.0.jar"/> <library name="lib/avalon-repository-spi-2.0.0.jar"/> - <library name="lib/avalon-repository-main-2.0.0.jar"/> + <library name="lib/avalon-repository-main-2.0.0.jar"/> </runtime> + <requires> <import plugin="org.eclipse.core.resources"/> <import plugin="org.eclipse.ui"/> @@ -33,7 +34,6 @@ <import plugin="org.eclipse.core.boot"/> <import plugin="org.junit"/> </requires> - <extension point="org.eclipse.help.toc"> @@ -57,7 +57,6 @@ file="docs/eclipse/toctasks.xml"> </toc> </extension> - <extension id="blockNature" name="MetroStudioBlockNature" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]