You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2005/12/11 22:55:02 UTC

svn commit: r356039 - in /myfaces: build/trunk/build.xml impl/trunk/build.properties

Author: skitching
Date: Sun Dec 11 13:54:56 2005
New Revision: 356039

URL: http://svn.apache.org/viewcvs?rev=356039&view=rev
Log:
Run "share" unit-tests as part of the impl unit tests.
Also add some comments to the build.xml file.

Modified:
    myfaces/build/trunk/build.xml
    myfaces/impl/trunk/build.properties

Modified: myfaces/build/trunk/build.xml
URL: http://svn.apache.org/viewcvs/myfaces/build/trunk/build.xml?rev=356039&r1=356038&r2=356039&view=diff
==============================================================================
--- myfaces/build/trunk/build.xml (original)
+++ myfaces/build/trunk/build.xml Sun Dec 11 13:54:56 2005
@@ -85,12 +85,25 @@
                                   compile the examples subproject. This
                                   should be a reference to a locally built
                                   copy.
+
+    Other Notes
+    ===========
+
+    The MyFaces code is build from several "subprojects": api/impl/tomahawk/sandbox.
+    Each "subproject" uses exactly the same build.xml file (this one), with the
+    variable ${subproject} set appropriately. A different build.properties file
+    exists in each subproject to tweak necessary additional parameters. See the
+    target "subproject" for details.
+
+    The "share" directory is not a subproject; instead when ${src.dir} is set in
+    the subproject-specific build.properties, it always includes the share dir.
     -->
 
     <!-- Default values for unspecified properties -->
     <property name="javac.debug"          value="on"/>
     <property name="javac.optimize"       value="off"/>
     <property name="share.src.dir"        location="${basedir}/../../share/src/java"/>
+    <property name="share.test.dir"       location="${basedir}/../../share/src/test"/>
 
     <!-- ========== Initialization Properties ================================= -->
 
@@ -415,6 +428,7 @@
             <property name="tomahawk.jar" location="${basedir}/../tomahawk/build/dist/tomahawk.jar"/>
             <property name="sandbox.jar" location="${basedir}/../sandbox/build/dist/sandbox.jar"/>
             <property name="share.src.dir" location="${basedir}/../share/src/java"/>
+            <property name="share.test.dir" location="${basedir}/../share/src/test"/>
             <property file="${basedir}/../${subproject}/build.properties"/>
         </ant>
     </target>

Modified: myfaces/impl/trunk/build.properties
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/build.properties?rev=356039&r1=356038&r2=356039&view=diff
==============================================================================
--- myfaces/impl/trunk/build.properties (original)
+++ myfaces/impl/trunk/build.properties Sun Dec 11 13:54:56 2005
@@ -4,7 +4,7 @@
 subproject.dir       = ${basedir}/../
 temp.dir             = ${basedir}/temp
 src.dir              = ${subproject.dir}/src/java:${share.src.dir}
-test.src.dir         = ${subproject.dir}/src/test
+test.src.dir         = ${subproject.dir}/src/test:${share.test.dir}
 test.classes.dir     = ${temp.dir}/tests/classes
 test.reports.dir     = ${temp.dir}/tests/reports
 test.suffix          = **/*Test.java
@@ -36,4 +36,4 @@
 zip.fileset.prefix   = META-INF/
 javadoc.title        = Apache MyFaces: Impl
 javadoc.package      = org.apache.*
-generate.tlddoc      = yes
\ No newline at end of file
+generate.tlddoc      = yes