beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eddie O'Neil (JIRA)" <...@beehive.apache.org>
Subject [jira] Closed: (BEEHIVE-1061) build.xml for controls_tutorial wrong for testing
Date Fri, 10 Feb 2006 21:11:18 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-1061?page=all ]
     
Eddie O'Neil closed BEEHIVE-1061:
---------------------------------

    Resolution: Won't Fix

Russ -- you make a valid point about those paths relative to the SVN depot, but the documentation
is generated for the Beehive distribution, and in that case, the paths are (I think) correct.
 Those two commons JARs live in ${beehive.home}/lib/common. 

To build a distribution from SVN, run:

  cd trunk/ && ant build.dist

Hope that helps!

> 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


Mime
View raw message