build.xml for controls_tutorial wrong for testing
-------------------------------------------------
Key: BEEHIVE-1061
URL: http://issues.apache.org/jira/browse/BEEHIVE-1061
Project: Beehive
Type: Bug
Components: Tutorials
Versions: V1Alpha
Environment: Windows XP
Reporter: Russ Baker
The generated html document "<beehive
home>/trunk/build/release-docs/controls/tutorial.html" has an ANT snippett as
follows:
<target name="test">
<property name="test.src" location="test"/>
<property name="test.classes" location="${build.dir}/test-classes"/>
<property name="test.beansrc" location="${build.dir}/test-beansrc"/>
<mkdir dir="${test.classes}"/>
<mkdir dir="${test.beansrc}"/>
<path id="test.classpath">
<path refid="build.classpath"/>
<pathelement location="${build.dir}/${build.jar}"/>
<pathelement location="${junit.home}/junit.jar"/>
</path>
<build-controls srcdir="${test.src}"
destdir="${test.classes}"
tempdir="${test.beansrc}"
classpathref="test.classpath"/>
<path id="test-run.classpath">
<path refid="test.classpath"/>
<pathelement location="${test.classes}"/>
<pathelement
location="${beehive.home}/lib/common/commons-discovery-0.2.jar"/>
<pathelement
location="${beehive.home}/lib/common/commons-logging-1.0.4.jar"/>
</path>
<java classname="junit.textui.TestRunner"
classpathref="test-run.classpath">
<arg line="testpackage.HelloControlTest"/>
</java>
</target>
The code snippet is supposed to be inserted into the build.xml of the
"controls_tutorial" directory. However, the location for
commons-discover-0.2.jar and commons-logging-1.0.4.jar is wrong. They should be:
<pathelement
location="${beehive.home}/external/commons/commons-discovery-0.2.jar"/>
<pathelement
location="${beehive.home}/external/commons/commons-logging-1.0.4.jar"/>
If this change doesn't occur, then the target "test" (from the snippett above)
blows up.
--
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