You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ky...@apache.org on 2004/09/20 16:51:48 UTC

svn commit: rev 46936 - incubator/beehive/trunk/controls/test

Author: kylem
Date: Mon Sep 20 07:51:47 2004
New Revision: 46936

Modified:
   incubator/beehive/trunk/controls/test/build.xml
Log:
Tweaked build for more complex composition test scenario to remove warning; one case was using
a generated type in another control's public interface, requiring that the sources that
produce the generated type be explicitly processed first. Sun's apt tool does not
allow codegen output from a processor phase to feed directly back into the compilation of
other artifacts in the same phase.


Modified: incubator/beehive/trunk/controls/test/build.xml
==============================================================================
--- incubator/beehive/trunk/controls/test/build.xml	(original)
+++ incubator/beehive/trunk/controls/test/build.xml	Mon Sep 20 07:51:47 2004
@@ -147,6 +147,15 @@
              classpathref="test.classpath" >
             <include name="**/checker/*.java"/>
         </apt>
+
+        <!-- Build the InnerControl controls used by composition tests.  This is only
+             necessary because the bean types are needed to compile a public interface -->
+        <apt srcdir="${controls.src}" destdir="${build.beans}" gendir="${build.beansrc}"
+             classpathref="test.classpath" compileByExtension="true"
+             srcExtensions="*.java,*.jcx,*.jcs" >
+            <include name="**/composition/InnerControl*"/>
+        </apt>
+
         <apt srcdir="${controls.src}" destdir="${build.beans}" gendir="${build.beansrc}"
              classpathref="test.classpath" compileByExtension="true"
              srcExtensions="*.java,*.jcx,*.jcs" >