You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sc...@apache.org on 2005/06/28 19:54:29 UTC

svn commit: r202260 - in /myfaces/build/trunk: build.local.properties.sample build.xml

Author: schof
Date: Tue Jun 28 10:54:27 2005
New Revision: 202260

URL: http://svn.apache.org/viewcvs?rev=202260&view=rev
Log:
now building myfaces-all.jar

Modified:
    myfaces/build/trunk/build.local.properties.sample
    myfaces/build/trunk/build.xml

Modified: myfaces/build/trunk/build.local.properties.sample
URL: http://svn.apache.org/viewcvs/myfaces/build/trunk/build.local.properties.sample?rev=202260&r1=202259&r2=202260&view=diff
==============================================================================
--- myfaces/build/trunk/build.local.properties.sample (original)
+++ myfaces/build/trunk/build.local.properties.sample Tue Jun 28 10:54:27 2005
@@ -4,7 +4,7 @@
 commons-codec.jar        = d:/open-source/myfaces/lib/commons-codec.jar
 commons-collections.jar  = d:/open-source/myfaces/lib/commons-collections.jar
 commons-digester.jar     = d:/open-source/myfaces/lib/commons-digester.jar
-commons-el.jar           = d:/open-source/myfaces/lib/commons-el.jar    
+commons-el.jar           = d:/open-source/myfaces/lib/commons-el.jar
 commons-fileupload.jar   = d:/open-source/myfaces/lib/commons-fileupload.jar
 commons-logging.jar      = d:/open-source/myfaces/lib/commons-logging.jar
 commons-validator.jar    = d:/open-source/myfaces/lib/commons-validator.jar

Modified: myfaces/build/trunk/build.xml
URL: http://svn.apache.org/viewcvs/myfaces/build/trunk/build.xml?rev=202260&r1=202259&r2=202260&view=diff
==============================================================================
--- myfaces/build/trunk/build.xml (original)
+++ myfaces/build/trunk/build.xml Tue Jun 28 10:54:27 2005
@@ -589,18 +589,47 @@
     Create distribution files for all subprojects
     -->
     <target name="dist-all">
+        <!-- ******************* TEMPROARILY COMMENTED OUT: RESTORE WHEN DONE TESTING *******************
         <ant target="project">
             <property name="target" value="dist"/>
         </ant>
-        <!--
-        Examples subproject needs to be handled specially
-        -->
-        <!--
-        <ant target="subproject">
-            <property name="subproject" value="examples"/>
-            <property name="target" value="dist-examples"/>
-        </ant>
         -->
+
+        <!-- create the myfaces-all.jar which contains everything -->
+        <mkdir dir="${dist.dir}"/>
+
+        <!-- timestamp for the manifest -->
+        <tstamp>
+            <format property="TODAY" pattern="yyyy-MM-dd HH:mm z"/>
+        </tstamp>
+
+        <!-- build the jar -->
+        <jar destfile="${dist.dir}/myfaces-all.jar">
+
+            <!-- manifest -->
+            <manifest>
+                <attribute name="Built-By" value="${user.name}"/>
+                <section name="myfaces.apache.org">
+                    <attribute name="Implementation-Title" value="${manifest.impl.title}"/>
+                    <attribute name="Implementation-Version" value="${manifest.impl.version} (${TODAY})"/>
+                    <attribute name="Implementation-Vendor" value="${manifest.impl.vendor}"/>
+                </section>
+            </manifest>
+
+            <!-- classes -->
+            <fileset dir="../api/build/temp/classes"/>
+            <fileset dir="../impl/build/temp/classes"/>
+            <fileset dir="../tomahawk/build/temp/classes"/>
+            
+            <!-- tlds -->
+            <zipfileset dir="../impl/build/temp/tlds" prefix="META-INF/"/>
+            <zipfileset dir="../tomahawk/build/temp/tlds" prefix="META-INF/"/>
+            <zipfileset dir="../tomahawk/conf" includes="*.xml" prefix="META-INF/"/>
+            
+            <!-- properties -->
+            <fileset dir="../impl/src/java" includes="**/*.properties"/>
+            
+        </jar>
     </target>