incubator-imperius-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jnee...@apache.org
Subject svn commit: r608739 - /incubator/imperius/trunk/build.xml
Date Fri, 04 Jan 2008 03:53:04 GMT
Author: jneeraj
Date: Thu Jan  3 19:53:04 2008
New Revision: 608739

URL: http://svn.apache.org/viewvc?rev=608739&view=rev
Log:
updated the packaging of javaspl-samples

Modified:
    incubator/imperius/trunk/build.xml

Modified: incubator/imperius/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/imperius/trunk/build.xml?rev=608739&r1=608738&r2=608739&view=diff
==============================================================================
--- incubator/imperius/trunk/build.xml (original)
+++ incubator/imperius/trunk/build.xml Thu Jan  3 19:53:04 2008
@@ -18,6 +18,7 @@
 	
 	<property name="IMPERIUS_SPLCORE_DIR" value="${IMPERIUS_SVN_MODULES}/imperius-splcore"/>
 	<property name="IMPERIUS_JAVASPL_DIR" value="${IMPERIUS_SVN_MODULES}/imperius-javaspl"/>
+	<property name="JAVASPL_SAMPLES_DIR" value="${IMPERIUS_SVN_MODULES}/javaspl-samples"/>
 		
 	<property name="IMPERIUS_LOGGING_FILE" value="log.txt"/>
 	<property name="JavaSPL" value="Java_SPL"/>
@@ -86,10 +87,9 @@
 		<exec executable="svn" searchpath="true" dir="." failonerror="true">
             <arg line="co ${IMPERIUS_SVN_MODULES_REPOSITORY} "/>
         </exec>
-<!--
         <exec executable="svn" searchpath="true" dir="." failonerror="true">
             <arg line="co ${IMPERIUS_SVN_SITE_REPOSITORY} ${IMPERIUS_SVN_SITE} -non-interactive"/>
-        </exec>  -->
+        </exec>  
 
         <property name="APACHE_LICENSE_FILE" value="${basedir}/LICENSE.txt"/>
         <property name="APACHE_LICENSE_URL" value="${IMPERIUS_SVN_TRUNK_REPOSITORY}/LICENSE.txt?view=co"/>
@@ -136,6 +136,7 @@
 
 		<mkdir dir="${IMPERIUS_SPLCORE_DIR}"/>
 		<mkdir dir="${IMPERIUS_JAVASPL_DIR}"/>
+		<mkdir dir="${JAVASPL_SAMPLES_DIR}"/>
 		<mkdir dir="${TEMP_SRC_DIST_DIR}"/>
 	</target>
 
@@ -197,14 +198,26 @@
    	   </copy>
  	<!-- rename file -->
  	 <move file="${TMP}/imperius-${JavaSPL}${VERSION}/lib/imperius-javaspl-1.0.0-SNAPSHOT.jar"
tofile="${TMP}/imperius-${JavaSPL}${VERSION}/lib/imperius-javaspl-${VERSION}.jar"/>
-      
+         
 	 <!-- copy samples -->
-	 <copy todir="${TMP}/imperius-${JavaSPL}${VERSION}/samples">
-	    <fileset dir="${IMPERIUS_JAVASPL_DIR}/resources/samples"/>	
+	 
+	 <!-- copy samples jar -->
+ 	   <copy todir="${TMP}/imperius-${JavaSPL}${VERSION}/lib" failonerror="true" overwrite="true">
+         <fileset dir="${JAVASPL_SAMPLES_DIR}/target">
+               <include name="*.jar"/>
+         </fileset>
+   	   </copy>
+ 	<!-- rename file -->
+ 	 <move file="${TMP}/imperius-${JavaSPL}${VERSION}/lib/javaspl-samples-1.0.0-SNAPSHOT.jar"
tofile="${TMP}/imperius-${JavaSPL}${VERSION}/lib/javaspl-samples-${VERSION}.jar"/>
+         
+	  
+	  <!-- copy sample policies-->
+	  <copy todir="${TMP}/imperius-${JavaSPL}${VERSION}/samples">
+	    <fileset dir="${JAVASPL_SAMPLES_DIR}/resources/samples"/>	
 	  </copy>
 	  
 	  <copy todir="${TMP}/imperius-${JavaSPL}${VERSION}">
-		<fileset dir="${IMPERIUS_JAVASPL_DIR}/resources/">
+		<fileset dir="${JAVASPL_SAMPLES_DIR}/resources/">
 			<include name="*.txt"/>
 		</fileset>		  
 	  </copy>



Mime
View raw message