From: Stephan R. <ste...@us...> - 2004-05-08 16:39:38
|
Update of /cvsroot/e-p-i-c/org.epic.perleditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32608 Modified Files: .project .classpath Added Files: build.xml Log Message: Index: .project =================================================================== RCS file: /cvsroot/e-p-i-c/org.epic.perleditor/.project,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- .project 4 Apr 2004 14:28:59 -0000 1.3 +++ .project 8 May 2004 16:38:59 -0000 1.4 @@ -4,6 +4,7 @@ <comment></comment> <projects> <project>org.epic.debug</project> + <project>org.epic.ext.cbg.editor</project> </projects> <buildSpec> <buildCommand> --- NEW FILE: build.xml --- <?xml version="1.0" encoding="UTF-8"?> <project name="org.epic.perleditor" 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="plugin" value="org.epic.perleditor"/> <property name="version.suffix" value="_0.1.1"/> <property name="full.name" value="${plugin}${version.suffix}"/> <property name="temp.folder" value="${basedir}/temp.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.jdt.core.JDTCompilerAdapter"/> </target> <target name="build.update.jar" depends="init" description="Build the plug-in: org.epic.perleditor 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}/${full.name}.jar" basedir="${temp.folder}/${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}/${full.name}"/> <copy file="${build.result.folder}/perleditor.jar" todir="${destination.temp.folder}/${full.name}"/> <copy todir="${destination.temp.folder}/${full.name}"> <fileset dir="${basedir}" includes="plugin.xml,HelpContexts.xml,HelpToc.xml,ChangeLog,*.jar,perleditor.jar,icons/,perlutils/,html/,about.ini,about.html,epicAbout.jpg"/> </copy> </target> <target name="perleditor.jar" depends="init" unless="perleditor.jar" description="Create jar: perleditor.jar."> <property name="destdir" value="${temp.folder}/perleditor.jar.bin"/> <delete dir="${temp.folder}/perleditor.jar.bin"/> <mkdir dir="${temp.folder}/perleditor.jar.bin"/> <!-- compile the source code --> <javac destdir="${temp.folder}/perleditor.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" classpath="../../plugins/org.eclipse.core.boot_2.1.2/bin;../../plugins/org.eclipse.core.boot_2.1.2/boot.jar;gnu-regexp-1.1.4.jar;jdom.jar;../../plugins/org.eclipse.core.runtime_2.1.1/bin;../../plugins/org.eclipse.core.runtime_2.1.1/runtime.jar;../../plugins/org.apache.xerces_4.0.13/bin;../../plugins/org.apache.xerces_4.0.13/xmlParserAPIs.jar;../../plugins/org.apache.xerces_4.0.13/xercesImpl.jar;../../plugins/org.eclipse.jface.text_2.1.0/bin;../../plugins/org.eclipse.jface.text_2.1.0/jfacetext.jar;../../plugins/org.eclipse.text_2.1.0/bin;../../plugins/org.eclipse.text_2.1.0/text.jar;../../plugins/org.eclipse.swt_2.1.2/bin;../../plugins/org.eclipse.swt_2.1.2/ws/${ws}/swt.jar;../../plugins/org.eclipse.swt.win32_2.1.2/ws/${ws}/swt.jar;../../plugins/org.eclipse.jface_2.1.1/bin;../../plugins/org.eclipse.jface_2.1.1/jface.jar;../../plugins/org.eclipse.ui_2.1.1/bin;../../plugins/org.eclipse.ui_2.1.1/ui.jar;../../plugins/org.eclipse.core.resources_2.1.1/bin;../../plugins/org.eclipse.core.resources_2.1.1/resources.jar;../../plugins/org.eclipse.core.resources.win32_2.1.0/resources.jar;../../plugins/org.eclipse.update.core_2.1.0/bin;../../plugins/org.eclipse.update.core_2.1.0/updatecore.jar;../../plugins/org.eclipse.update.core.win32_2.1.0/updatecore.jar;../../plugins/org.eclipse.help_2.1.2/bin;../../plugins/org.eclipse.help_2.1.2/help.jar;../../plugins/org.apache.lucene_1.2.1/bin;../../plugins/org.apache.lucene_1.2.1/parser.jar;../../plugins/org.apache.lucene_1.2.1/lucene-1.2.jar;../../plugins/org.eclipse.help.appserver_2.1.0/bin;../../plugins/org.eclipse.help.appserver_2.1.0/appserver.jar;../../plugins/org.eclipse.ui.views_2.1.0/bin;../../plugins/org.eclipse.ui.views_2.1.0/views.jar;../../plugins/org.eclipse.ui.workbench_2.1.1/bin;../../plugins/org.eclipse.ui.workbench_2.1.1/workbench.jar;../../plugins/org.eclipse.ui.win32_2.1.0/workbench.jar;../../plugins/org.eclipse.ui.win32_2.1.0/bin;../../plugins/org.eclipse.ui.win32_2.1.0/workbenchwin32.jar;../../plugins/org.eclipse.ui.workbench.texteditor_2.1.0/bin;../../plugins/org.eclipse.ui.workbench.texteditor_2.1.0/texteditor.jar;../../plugins/org.eclipse.ui.editors_2.1.0/bin;../../plugins/org.eclipse.ui.editors_2.1.0/editors.jar;../org.epic.ext.cbg.editor/bin;../org.epic.ext.cbg.editor/editor.jar;../org.epic.ext.cbg.editor/libs/dom4j-mini.jar;../org.epic.ext.cbg.editor/libs/regexp-1.2-mini.jar;../../plugins/org.junit_3.8.1/bin;../../plugins/org.junit_3.8.1/junit.jar;../../plugins/org.eclipse.debug.core_2.1.2/bin;../../plugins/org.eclipse.debug.core_2.1.2/dtcore.jar;../../plugins/org.eclipse.debug.ui_2.1.1/bin;../../plugins/org.eclipse.debug.ui_2.1.1/dtui.jar"> <src path="src/"/> </javac> <!-- copy necessary resources --> <copy todir="${temp.folder}/perleditor.jar.bin"> <fileset dir="src/" excludes="**/*.java"/> </copy> <mkdir dir="${build.result.folder}"/> <jar jarfile="${build.result.folder}/perleditor.jar" basedir="${temp.folder}/perleditor.jar.bin"/> <delete dir="${temp.folder}/perleditor.jar.bin"/> </target> <target name="perleditorsrc.zip" depends="init" unless="perleditor.jar"> <mkdir dir="${build.result.folder}"/> <zip zipfile="${build.result.folder}/perleditorsrc.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.epic.perleditor."> <available property="perleditor.jar" file="${build.result.folder}/perleditor.jar"/> <antcall target="perleditor.jar"/> </target> <target name="build.sources" depends="init"> <available property="perleditorsrc.zip" file="${build.result.folder}/perleditorsrc.zip"/> <antcall target="perleditorsrc.zip"/> </target> <target name="build.zips" depends="init"> </target> <target name="gather.sources" depends="init" if="destination.temp.folder"> <mkdir dir="${destination.temp.folder}/${full.name}"/> <copy file="${build.result.folder}/perleditorsrc.zip" todir="${destination.temp.folder}/${full.name}"/> </target> <target name="gather.logs" depends="init" if="destination.temp.folder"> <mkdir dir="${destination.temp.folder}/${full.name}"/> <copy file="${temp.folder}/perleditor.jar.bin.log" todir="${destination.temp.folder}/${full.name}"/> </target> <target name="clean" depends="init" description="Clean the plug-in: org.epic.perleditor of all the zips, jars and logs created."> <delete file="${build.result.folder}/perleditor.jar"/> <delete file="${build.result.folder}/perleditorsrc.zip"/> <delete file="${plugin.destination}/${full.name}.jar"/> <delete file="${plugin.destination}/${full.name}.zip"/> <delete dir="${temp.folder}"/> </target> <target name="refresh" depends="init" if="eclipse.running"> <eclipse.convertPath fileSystemPath="F:\eclipse_test\eclipse\workspace\org.epic.perleditor\" 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.epic.perleditor."> <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.destination}/${full.name}.zip" basedir="${temp.folder}" filesonly="true" update="no" excludes="**/*.bin.log"/> </target> </project> Index: .classpath =================================================================== RCS file: /cvsroot/e-p-i-c/org.epic.perleditor/.classpath,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- .classpath 4 Apr 2004 14:28:59 -0000 1.10 +++ .classpath 8 May 2004 16:38:59 -0000 1.11 @@ -25,9 +25,7 @@ path="ECLIPSE_HOME/plugins/org.eclipse.ui.editors_2.1.0/editors.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.ui.editors_2.1.0/editorssrc.zip"/> <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.core.resources_2.1.1/resources.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.core.resources_2.1.1/resourcessrc.zip"/> - <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.epic.ext.cbg.editor_0.3.0/editor.jar"/> - <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.epic.ext.cbg.editor_0.3.0/libs/dom4j-mini.jar"/> - <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.epic.ext.cbg.editor_0.3.0/libs/regexp-1.2-mini.jar"/> + <classpathentry kind="src" path="/org.epic.ext.cbg.editor"/> <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.debug.core_2.1.2/dtcore.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.debug.core_2.1.2/dtcoresrc.zip"/> <classpathentry kind="var" |