Commits

jhouse  committed 51a8713

Issue number: QUARTZ-255
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: Issue number:
CVS: If this change addresses one or more issues,
CVS: then enter the issue number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to the project by someone else; i.e.,
CVS: they sent us a patch or a set of diffs, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.

git-svn-id: http://svn.opensymphony.com/svn/quartz/trunk@25969f7d36a-ea1c-0410-88ea-9fd03e4c9665

  • Participants
  • Parent commits 028a9fb

Comments (0)

Files changed (3)

File build.properties

 status=release
 version=${version.major}.${version.minor}.${version.iter}
 
-
-# enable build from distribution:
-#common.build=osbuild.xml
+# enable build from opensymphony common dir:
+common.build.dir=../opensymphony/common
     <property name="jar.includes.weblogic" value="**/weblogic/**,**/WebLogic*" />
 	
     <property name="skip.tests" value="true"/>
+
+    <property file="build.properties"/>
+
 	
-    <property name="common.build" value="../opensymphony/common/osbuild.xml"/>
+	<copy todir="${basedir}" failonerror="false" overwrite="true">
+        <fileset file="${common.build.dir}/osbuild.xml" />
+        <fileset file="${common.build.dir}/EMPTY.MF" />
+    </copy>
 
-	<import file="${common.build}"/>
+    <property name="common.build" value="./osbuild.xml"/>
 
+	<import file="${common.build}"/>
 
 	<property name="src.jboss" value="${src}/jboss"/>
 	<property name="src.oracle" value="${src}/oracle"/>
 	<property name="src.weblogic" value="${src}/weblogic"/>
 		
-		
     <available property="oracle.present" classname="oracle.sql.BLOB" classpathref="cp"/>
     <available property="weblogic.present" classname="weblogic.logging.NonCatalogLogger" classpathref="cp"/>
   	<available property="jboss.present" classname="org.jboss.system.ServiceMBeanSupport" classpathref="cp"/>
 
     <target name="compile" depends="common.compile">
 
+      <rmic classname="org.quartz.core.QuartzScheduler" classpath="${build.java}" base="${build.java}"/>
+    	
       <copy filtering="no" todir="${build.java}" file="build.properties"/>
     	
 	  <antcall target="compile.features.jboss" />
             <fileset dir="examples/dist"/>
         </copy>
 
-    	<copy todir="${dist}">
-            <fileset file="${common.build}" />
-        </copy>
+    	<copy todir="${dist}" file="${basedir}/osbuild.xml" />
+    	<copy todir="${dist}" file="${basedir}/EMPTY.MF" />
     	
     </target>
 	

File examples/build.xml

     <property name="docs.packages" value="org.quartz.*"/>
     <property name="skip.tests" value="true"/>
 
-    <property name="common.build" value="../../opensymphony/common/osbuild.xml"/>
+    <property name="common.build" value="../osbuild.xml"/>
     <import file="${common.build}"/>
 
 	<!-- overridden paths (must be *after* the import!) -->