db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fuzzylo...@apache.org
Subject svn commit: r124569 - /incubator/derby/code/branches/10.0/build.xml /incubator/derby/code/branches/10.0/java/build/org/apache/derbyBuild/eclipse /incubator/derby/code/branches/10.0/java/build/org/apache/derbyBuild/eclipse/DerbyEclipsePlugin.java
Date Fri, 07 Jan 2005 19:58:18 GMT
Author: fuzzylogic
Date: Fri Jan  7 11:58:17 2005
New Revision: 124569

URL: http://svn.apache.org/viewcvs?view=rev&rev=124569
Log:
Merge revision 124561 from trunk:
Build target for building an Eclipse plugin with the Derby jars.

Committed for Rajesh Kartha (kartha@Source-Zone.org)

Added:
   incubator/derby/code/branches/10.0/java/build/org/apache/derbyBuild/eclipse/
      - copied from r124561, incubator/derby/code/trunk/java/build/org/apache/derbyBuild/eclipse/
   incubator/derby/code/branches/10.0/java/build/org/apache/derbyBuild/eclipse/DerbyEclipsePlugin.java
      - copied unchanged from r124561, incubator/derby/code/trunk/java/build/org/apache/derbyBuild/eclipse/DerbyEclipsePlugin.java
Modified:
   incubator/derby/code/branches/10.0/build.xml

Modified: incubator/derby/code/branches/10.0/build.xml
Url: http://svn.apache.org/viewcvs/incubator/derby/code/branches/10.0/build.xml?view=diff&rev=124569&p1=incubator/derby/code/branches/10.0/build.xml&r1=124568&p2=incubator/derby/code/branches/10.0/build.xml&r2=124569
==============================================================================
--- incubator/derby/code/branches/10.0/build.xml	(original)
+++ incubator/derby/code/branches/10.0/build.xml	Fri Jan  7 11:58:17 2005
@@ -591,6 +591,45 @@
   </target>
 
 <!-- =================================================================== -->
+<!-- Eclipse Plugin                                                     -->
+<!-- =================================================================== -->
+  <target name="plugin" depends= "buildjars">
+       <echo message="Begining Derby Eclipse plugin build"/>
+       <property name="plugin.tmp.dir" value ="plugintmp"/>
+       <mkdir dir="${derby.jar.dir}/${plugin.tmp.dir}"/>
+
+       <java classname="org.apache.derbyBuild.eclipse.DerbyEclipsePlugin">
+               <arg value="${derby.jar.dir}/${plugin.tmp.dir}"/>
+               <classpath>
+                       <pathelement path="${out.dir}"/>
+               </classpath>
+       </java>
+
+       <property file="${derby.jar.dir}/${plugin.tmp.dir}/plugintmp.properties"/>
+       <echo message="Derby Eclipse plugin build: ${plugin.derby.version.build.number}"/>
+
+       <property name="plugin.dir" value ="plugins"/>
+       <property name="plugin.core.dir" value ="${plugin.derby.core}_${plugin.derby.version}"/>
+
+       <mkdir dir="${derby.jar.dir}/${plugin.tmp.dir}/${plugin.dir}/${plugin.core.dir}"/>
+
+       <copy todir="${derby.jar.dir}/${plugin.tmp.dir}/${plugin.dir}/${plugin.core.dir}">
+               <fileset dir="${derby.jar.dir}" includes="derby*.jar" excludes="derbyTesting.jar,derbyLocale*.jar"/>
+       </copy>
+       <copy todir="${derby.jar.dir}/${plugin.tmp.dir}/${plugin.dir}/${plugin.core.dir}">
+               <fileset dir="${derby.jar.dir}/${plugin.tmp.dir}" includes="plugin*.xml"/>
+       </copy>
+
+       <delete file="${derby.jar.dir}/${plugin.tmp.dir}/plugintmp.properties"/>
+       <delete file="${derby.jar.dir}/${plugin.tmp.dir}/plugin.xml"/>
+
+       <!-- ZIP to create the final Derby plug-in -->
+
+       <zip zipfile="${derby.jar.dir}/${plugin.derby.core.zipfile}_${plugin.derby.version}.zip"
compress="true" basedir="${derby.jar.dir}/${plugin.tmp.dir}"/>
+       <delete dir="${derby.jar.dir}/${plugin.tmp.dir}"/>
+  </target>
+
+<!-- =================================================================== -->
 <!--                               Jar targets                           -->
 <!-- =================================================================== -->
 

Copied: incubator/derby/code/branches/10.0/java/build/org/apache/derbyBuild/eclipse/DerbyEclipsePlugin.java
(from r124561, incubator/derby/code/trunk/java/build/org/apache/derbyBuild/eclipse/DerbyEclipsePlugin.java)
Url: http://svn.apache.org/viewcvs/incubator/derby/code/branches/10.0/java/build/org/apache/derbyBuild/eclipse/DerbyEclipsePlugin.java?view=diff&rev=124569&p1=incubator/derby/code/trunk/java/build/org/apache/derbyBuild/eclipse/DerbyEclipsePlugin.java&r1=124561&p2=incubator/derby/code/branches/10.0/java/build/org/apache/derbyBuild/eclipse/DerbyEclipsePlugin.java&r2=124569
==============================================================================

Mime
View raw message