You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/03/13 14:46:18 UTC

DO NOT REPLY [Bug 33989] New: - ant test.tomcat.40 fails: taskdef class org.apache.cactus.ant.RunServerTestsTask cannot be found, task name runservertests

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33989>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33989

           Summary: ant test.tomcat.40 fails: taskdef class
                    org.apache.cactus.ant.RunServerTestsTask cannot be
                    found, task name runservertests
           Product: Struts
           Version: 1.2.6 Beta
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Test
        AssignedTo: dev@struts.apache.org
        ReportedBy: hauser@acm.org


Environment: jdk1.5, cygwin

Normally, the builds is so nice to get the required jars automatically:

<<...
Adding reference: compile.classpath
      [ant] Entering C:\Documents and Settings\RalfCHauser\My
Documents\psph\workspace\struts\build-tests.xml...
Build sequence for target(s) `test.tomcat.40' is [init, prepare.test,
compile.test, prepare.test.war, prepare.test.tomca
t.40, test.tomcat.40]
Complete build sequence is [init, prepare.test, compile.test, prepare.test.war,
prepare.test.tomcat.40, test.tomcat.40,
stop.tomcat.50, prepare.test.tomcat.32, test.tomcat.32, prepare.test.tomcat.50,
start.tomcat.41, start.tomcat.40, stop.t
omcat.33, stop.tomcat.32, prepare.test.tomcat.41, test.tomcat.41,
prepare.test.tomcat.33, run.test, start.tomcat.50, sto
p.tomcat.41, stop.tomcat.40, test.tomcat.50, test.junit, start.tomcat.33,
start.tomcat.32, , test.tomcat.33]

init:
dropping C:\opt\Apache\jakarta-cactus-13-1.4.1\lib\cactus-ant-1.4.1.jar from
path as it doesn't exist
Finding class org.apache.cactus.ant.RunServerTestsTask
  [taskdef] C:\Documents and Settings\RalfCHauser\My
Documents\psph\workspace\struts\build-tests.xml:129: , taskdef clas
s org.apache.cactus.ant.RunServerTestsTask cannot be found, task name runservertests
      [ant] Exiting C:\Documents and Settings\RalfCHauser\My
Documents\psph\workspace\struts\build-tests.xml.>>

When configuring the build.properties to use the latest
(integration/ant/dist-13/lib/) cactus-ant-1.8dev.jar, it appears that in
build-test.xml, 
    <target name="init">
        <taskdef name="runservertests"
            classname="org.apache.cactus.integration.ant.RunServerTestsTask">

the path no longer is org.apache.cactus.ant.RunServerTestsTask.

also, this adds a dependency on commons-logging.jar, so that classpath in the
same init target also needs
                <pathelement location="${commons-logging.jar}"/>


also, got many more errors for jar files not present in the /opt tree, it would
be great if those were automatically downloaded like in cactus.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org