[ http://issues.apache.org/jira/browse/BEEHIVE-436?page=all ]
     
Julie Zhuo closed BEEHIVE-436:
------------------------------

    Assign To: Julie Zhuo  (was: Eddie O'Neil)

Distribution test has been running both netui and controls tests for a while. 
It also runs on a couple of CC boxes. Close.

> test distribution doesn't actually run the controls tests
> ---------------------------------------------------------
>
>          Key: BEEHIVE-436
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-436
>      Project: Beehive
>         Type: Bug
>   Components: Build
>     Versions: V1Beta
>     Reporter: Eddie O'Neil
>     Assignee: Julie Zhuo
>     Priority: Critical
>      Fix For: V1Beta
>  Attachments: patch.txt
>
> With the recent changes to the distribution build files, I've been running 
> the test distribution locally; while the NetUI tests run fine, the controls 
> tests never execute because the VM is still holding onto the "netui.log" file.
> While it seems like log4j / Ant should be cooperating to close this log file 
> correctly, that doesn't seem to be happening, and in order to get clea test 
> distribution runs, we need to work around this problem somehow.
> Below is Ant that exhibits this problem:
>     <target name="run.test.dist" description="Run the beehive tests against 
> the archive files">
>         <property name="test.home" location="d:/tmp/beehive-test"/>
>         <property name="dist.home" 
> location="${basedir}/build/dist/apache-beehive-incubating-svn-snapshot"/>
>         <property name="test.dist.home" 
> location="${basedir}/build/tmp/test-dist/beehive-test-dist"/>
>         <delete 
> file="${os.CATALINA_HOME}/conf/Catalina/localhost/coreWeb.xml"/>
>         <delete dir="${os.CATALINA_HOME}/work/Catalina/localhost/coreWeb"/>
>         <delete dir="${test.home}"/>
>         <mkdir dir="${test.home}"/>
>         <copy todir="${test.home}/beehive-test-dist">
>             <fileset dir="${test.dist.home}"/>
>         </copy>
>  
>         <copy todir="${test.home}/apache-beehive-incubating-svn-snapshot">
>             <fileset dir="${dist.home}"/>
>         </copy>
>         <ant dir="${test.home}/beehive-test-dist" antfile="build.xml" 
> target="run.tests" inheritAll="false"/>
>     </target>    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to