[ http://issues.apache.org/jira/browse/BEEHIVE-436?page=history ]
Julie Zhuo resolved BEEHIVE-436:
--------------------------------
Assign To: Eddie O'Neil (was: Julie Zhuo)
Resolution: Fixed
Fix Version: V1Beta
A patch has been just attached.
Eddie, can you please review the patch and check it in for me please? Thanks.
> 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: Eddie O'Neil
> 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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira