jicarilla-sandbox/buildsystem build-project.xml,1.17,1.18

[email protected]
Newsgroups gmane.comp.java.jicarilla.cvs
Message-ID <[email protected]>
Update of /cvsroot/jicarilla/jicarilla-sandbox/buildsystem
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1638/buildsystem

Modified Files:
	build-project.xml 
Log Message:
fix the distribution building

Index: build-project.xml
===================================================================
RCS file: /cvsroot/jicarilla/jicarilla-sandbox/buildsystem/build-project.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- build-project.xml	6 Mar 2004 09:34:22 -0000	1.17
+++ build-project.xml	8 Mar 2004 19:49:29 -0000	1.18
@@ -4,7 +4,7 @@
     <!-- targets for use with <import/> and ant 1.6 -->
 
     <target name="compile" depends="jbs:compile"/>
-    <target name="test" depends="jbs:compile"/>
+    <target name="test" depends="jbs:test"/>
     <target name="jar" depends="jbs:jar"/>
     <target name="jar:install" depends="jbs:jar:install"/>
     <target name="jar:install-snapshot" depends="jbs:jar:install-snapshot"/>
@@ -430,10 +430,20 @@
                 <include name="*.jar"/>
                 <include name="*.txt"/>
                 <include name="*.zip"/>
-                <include name="docs"/>
+                <include name="docs/**"/>
+            </fileset>
+            <fileset dir="${basedir}" casesensitive="false">
+                <include name="readme*"/>
+                <include name="README*"/>
+                <include name="license*"/>
+                <include name="LICENSE*"/>
             </fileset>
         </copy>
 
+        <zip destfile="${jbs.build.dir}/${project.name}-${project.version}/bin/${project.name}-${project.version}-src.jar">
+            <zipfileset dir="${jbs.src.dir}/java"/>
+        </zip>
+
         <antcall target="jbs:copy-dependencies" inheritAll="true">
             <param name="do.not.debug" value="true"/>
         </antcall>
@@ -456,15 +466,23 @@
         <mkdir dir="${jbs.build.dir}/${project.name}-${project.version}/src"/>
 
         <copy todir="${jbs.build.dir}/${project.name}-${project.version}/src">
-            <fileset dir="${jbs.src.dir}"/>
-            <fileset dir="${jbs.build.dir}">
+            <fileset dir="${basedir}" casesensitive="false">
+                <include name="src/**"/>
+                <include name="README*"/>
+                <include name="LICENSE*"/>
                 <include name="*.txt"/>
+                <include name="*.properties"/>
+                <include name="*.xml"/>
+                <include name="*.list"/>
             </fileset>
-            <fileset dir="${basedir}">
+            <fileset dir="${jbs.build.dir}" casesensitive="false">
+                <include name="src/**"/>
                 <include name="README*"/>
                 <include name="LICENSE*"/>
-                <include name="jbs.*"/>
-                <include name="project.*"/>
+                <include name="*.txt"/>
+                <include name="*.properties"/>
+                <include name="*.xml"/>
+                <include name="*.list"/>
             </fileset>
         </copy>
         <zip destfile="${jbs.build.dir}/dist/${project.name}-${project.version}-src.zip">



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.