jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John.Cot...@ubs.com
Subject taskdef A class needed by class org.apache.cactus.integration.ant.CactusTask cannot be found
Date Thu, 28 Oct 2004 05:50:09 GMT
I confirmed that the Junit is where I say it is in the  build.xml. I cannot find the problem.
 
Any suggestions?
 
John
 
------------------------ BUILD.XML ------------------------ 
<project name="Cactus Servlet Sample" default="dist" basedir="Z:\STM_EQ_PT\Server\StrutsApps">
 <property name="build.cactus.taskscompiler" value="classic"/>
 <property name="jar.compiler" value="javac"/>
 <property name="build.compiler.warnings" value="false"/>
 <property name="project.name.file" value="regreporting"/>
 <property name="target.dir" value="assemble_war"/>

 <!-- Directory layout -->
 <property name="src.dir" value="${basedir}/source"/>
 <property name="src.java.dir" location="${src.dir}/java"/>
 <property name="src.test.dir" value="${basedir}/source/test"/>
 <property name="src.cactus.dir" value="${basedir}/source/test-cactus"/>
 <property name="dir.build" value="${basedir}/classes"/>
 <property name="dir.jar" value="${basedir}/jars"/>
 <property name="dir.jar.app" value="${dir.jar}/regreporting"/>
 <property name="dir.unittest.source" value="${basedir}/test"/>
 <property name="dir.javadoc" value="${basedir}/javadoc/regreporting"/>
 <property name="file.jar.libRegReportingBusiness" value="libRegReportingBusiness.jar"/>
 <property name="file.jar.libRegReportingPresentation" value="libRegReportingPresentation.jar"/>
 <property name="file.manifest" value="${dir.build}/manifest.mf"/>
 <property name="file.dist" value="${basedir}/distRegReporting.zip"/>
    <property environment="env"/>
 <property name="tomcat.home" value="${env.TOMCAT_HOME}"/>
 <property name="webapp.path" value="${basedir}/assemble_war"/>
 <property name="src.webapp.dir" location="assemble_war"/>

<!--
  <property name="src.dir" location="src"/>

  
  <property name="target.dir" location="target"/>
  <property name="target.classes.dir" location="${target.dir}/classes"/>
  <property name="target.classes.java.dir"
      location="${target.classes.dir}/java"/>
  <property name="dist.dir" location="dist"/>
-->
  <!-- Required libraries -->
   <!-- xml       -->
      <property name="parser.jar" value="jars/common/parser.jar"/>
   <!-- struts     -->
      <property name="struts.jar" value="jars/common/struts.jar"/>
   <!-- J2EE -->
      <property name="j2ee.jar" value="jars/common/j2ee_1.3.1.jar"/>
   <!-- Cactus -->
      <property name="aspectjrt.jar" value="jars/cactus/aspectjrt-1.1.1.jar"/>
      <property name="junit.jar" value="${basedir}/jars/cactus/junit-3.8.1.jar"/>
      <property name="common.logging.jar" value="${basedir}/jars/common/commons-logging.jar"/>
      <property name="httpclient.jar" value="${basedir}/jars/cactus/commons-httpclient-2.0.jar"/>
      <property name="cactus.jar" value="jars/cactus/cactus-1.6.1.jar"/>
   <property name="cactus.ant.jar" value="jars/cactus/cactus-ant-1.6.1.jar"/>
      <property name="jstl.jar" location="jars/common/jstl.jar"/>
      <property name="standard.jar" location="${basedir}/jars/common/standard.jar"/>
   <property name="log4j.jar" location="jars/common/log4j-1.2.8.jar"/>
 <property name="itext.jar" location="jars/common/itext-1.01.jar"/>
 <property name="standard.jar" location="jars/cactus/standard-1.0.2.jar"/>
 <property name="nekohtml.jar" location="jars/cactus/nekohtml-0.7.4.jar"/>
  <path id="project.classpath">
    <pathelement location="${parser.jar}"/>
    <pathelement location="${struts.jar}"/>
    <pathelement location="${j2ee.jar}"/>
    <pathelement location="${common.logging.jar}"/>
    <pathelement location="${jstl.jar}"/>
    <pathelement location="${standard.jar}"/>
    <pathelement location="${dir.build}"/>
   <pathelement location="${log4j.jar}"/>
   <pathelement location="${itext.jar}"/>
  </path>

<!-- Initialize the build. Must be called by all targets -->
  <target name="init">
    <condition property="properties.ok">
      <and>
        <!-- <available file="${servlet.jar}"/> -->
        <available file="${struts.jar}"/>
        <available file="${j2ee.jar}"/>
        <available file="${common.logging.jar}"/>
        <available file="${jstl.jar}"/>
        <available file="${standard.jar}"/>
       <available file="${junit.jar}"/>
      </and>
    </condition>
    <fail unless="properties.ok">Missing property...</fail>
    <tstamp/>
  </target>
<!-- Compile the Java source -->
  <target name="compile.java" depends="init"
      description="Compile the application classes">
    <mkdir dir="${dir.build}"/>
    <javac destdir="${dir.build}">
      <src path="${src.java.dir}"/>
      <classpath refid="project.classpath"/>
    </javac>
  </target>
 <!-- Create the war file -->
  <target name="war" depends="compile"
      description="Generate the runtime war">
    <war warfile="${target.dir}/${project.name.file}.war"
        webxml="${src.webapp.dir}/WEB-INF/web.xml">
      <fileset dir="${src.webapp.dir}"/>
      <classes dir="${dir.build}"/>
      <lib file="${jstl.jar}"/>
      <lib file="${standard.jar}"/>
    </war>
  </target>
<target name="dist" depends="clean, war"
      description="Generate the distributable files">
    <copy file="${dir.build}/${project.name.file}.war"
        todir="${dist.dir}"/>
  </target>

  <target name="clean"
      description="Remove all generated files">
    <delete dir="${target.dir}"/>
    <delete dir="${dist.dir}"/>
  </target>
<!-- Libraries required for the Cactus tests -->
  <path id="cactus.classpath">
    <path refid="project.classpath"/>
    <pathelement location="${aspectjrt.jar}"/>
    <pathelement location="${cactus.jar}"/>
    <pathelement location="${cactus.ant.jar}"/>
    <pathelement location="${httpclient.jar}"/>
   <pathelement location="${standard.jar}"/>
   <pathelement location="${common.logging.jar}"/>
    <pathelement location="${nekohtml.jar}"/>
<pathelement location="${junit.jar}"/>
  </path>
  <taskdef resource="cactus.tasks"
       classpathref="cactus.classpath"/>
<!-- Compiles the Cactus test sources -->
  <target name="compile.test" depends="compile.java">
    <mkdir dir="${target.classes.cactus.dir}"/>
    <javac destdir="${target.classes.cactus.dir}"
        debug="${debug}" optimize="${optimize}"
        deprecation="${deprecation}">
      <src path="${src.cactus.dir}"/>
      <classpath>
        <path refid="cactus.classpath"/>
        <pathelement location="${httpunit.jar}"/>
        <pathelement location="${nekohtml.jar}"/>
        <pathelement location="${dir.build}"/>
      </classpath>
    </javac>
  </target>

  <target name="compile" depends="compile.java, compile.test">
  </target>
<target name="test.prepare" depends="war, compile.test">

  <!-- Cactify the web-app archive -->
  <cactifywar srcfile="${target.dir}/${project.name.file}.war"
      destfile="${target.dir}/test.war">
    <classes dir="${target.classes.cactus.dir}"/>
    <lib file="${httpunit.jar}"/>
  </cactifywar>

</target>
<target name="test" depends="test.prepare"
    description="Run the tests on the defined containers">

  <!-- Run the tests -->
  <cactus warfile="${target.dir}/test.war" fork="yes"
      failureproperty="tests.failed">
    <classpath>
      <path refid="project.classpath"/>
      <pathelement location="${httpunit.jar}"/>
      <pathelement location="${nekohtml.jar}"/>
      <pathelement location="${target.classes.java.dir}"/>
      <pathelement location="${target.classes.cactus.dir}"/>
    </classpath>
    <formatter type="brief" usefile="false"/>
    <formatter type="xml"/>
    <batchtest>
      <fileset dir="${src.cactus.dir}">
        <include name="**/Test*.java"/>
        <exclude name="**/Test*All.java"/>
      </fileset>
    </batchtest>
  </cactus>
</target>
 <!-- ======================================================================= -->
 <!-- ======================================================================= -->
 <!-- =========================== DEV WAR TARGET =========================== -->
 <!-- ======================================================================= -->
 <!-- ======================================================================= -->
 <target name="dev" depends="init, display-dev-msg">
          <property name="target_type" value="dev"/>
  <echo>******** JUNIT: ${junit.jar}</echo>
          <antcall target="clean"/>
          <antcall target="compile.java"/>
          <antcall target="assemble_war_dir"/>
          <antcall target="create_war"/>
    <antcall target="test"/>
 </target>
 <!-- ======================================================================= -->
 <!-- ======================================================================= -->
 <!-- =========================== PROD WAR TARGET =========================== -->
 <!-- ======================================================================= -->
 <!-- ======================================================================= -->
 <target name="prod" depends="display-prod-msg">
          <property name="target_type" value="prod"/>
          <property name="make_jsp" value="true"/>
          <antcall target="clean"/>
          <antcall target="build"/>
          <antcall target="assemble_war_dir"/>
          <antcall target="create_war"/>
 </target>
 <!-- ======================================================================= -->
 <!-- ======================================================================= -->
 <!-- =========================== QA WAR TARGET =========================== -->
 <!-- ======================================================================= -->
 <!-- ======================================================================= -->
 <target name="qa" depends="display-qa-msg">
          <property name="target_type" value="qa"/>
          <property name="make_jsp" value="true"/>
          <antcall target="clean"/>
          <antcall target="compile.java"/>
          <antcall target="assemble_war_dir"/>
          <antcall target="create_war"/>
 </target>
        <!-- =================================================================== -->
        <!--          assemble files for the war task                            -->
 <!-- =================================================================== -->

        <target name="assemble_war_dir">
           <copy tofile="assemble_war/public_html/header.jsp">
   <fileset file="public_html/regreporting/header_${target_type}.jsp"/>
  </copy>
  <copy todir="assemble_war/WEB-INF">
   <fileset dir="sites/regreporting/nrtweb1/${target_type}/web/WEB-INF"/>
  </copy>
  <copy todir="assemble_war/WEB-INF/classes">
   <fileset dir="classes"/>
  </copy>
                <antcall target="copy_common_files"/>
        </target>
<target name="create_war">
  <war destfile="war/regreporting/${target_type}/regreporting.war" basedir="assemble_war"
webxml="assemble_war/WEB-INF/web.xml"/>
</target>
<target name="copy_common_files">
 <copy todir="assemble_war/WEB-INF/lib">
  <fileset file="${tomcat.home}/server/lib/commons-beanutils.jar"/>
                <fileset file="${tomcat.home}/server/lib/commons-digester.jar"/>
  <fileset file="${tomcat.home}/server/lib/commons-logging.jar"/>
  <fileset file="${tomcat.home}/common/lib/commons-pool.jar"/>
  <fileset file="${tomcat.home}/common/lib/commons-dbcp.jar"/>
 </copy>
 <copy todir="assemble_war/WEB-INF/lib">
  <fileset dir="jars/common" excludes="**/*j2ee*.jar, **/SAP/*, **/cactus*, **/common*"/>
 </copy>
</target>
<target name="clean_assemble_war">
 <delete dir="assemble_war"/>
 <mkdir dir="assemble_war/WEB-INF"/>
 <mkdir dir="assemble_war/WEB-INF/classes"/>
 <mkdir dir="assemble_war/WEB-INF/lib"/>
</target>
 <target name="display-prod-msg" description=" ">
  <echo message=" "/>
  <echo message=" "/>
  <echo message="*************************************"/>
  <echo message=" ! ! ! Building PROD war file ! ! !  "/>
  <echo message="*************************************"/>
  <echo message=" "/>
 </target>
 <target name="display-dev-msg" description=" ">
  <echo message=" "/>
  <echo message=" "/>
  <echo message="*************************************"/>
  <echo message=" ! ! ! Building DEV war file ! ! !  "/>
  <echo message="*************************************"/>
  <echo message=" "/>
 </target>
 <target name="display-qa-msg" description=" ">
  <echo message=" "/>
  <echo message=" "/>
  <echo message="*************************************"/>
  <echo message=" ! ! ! Building QA war file ! ! !  "/>
  <echo message="*************************************"/>
  <echo message=" "/>
 </target>
        <!-- if the make_jsp EXISITS this target will be run -->
        <target name="jspc" if="make_jsp">
        <taskdef classname="org.apache.jasper.JspC" name="jasper2">
   <classpath id="jspc.classpath">
    <pathelement location="${java.home}/lib/tools.jar"/>
    <fileset dir="${tomcat.home}/server/lib">
     <include name="*.jar"/>
    </fileset>
    <fileset dir="${tomcat.home}/common/lib">
     <include name="*.jar"/>
    </fileset>
   </classpath>
  </taskdef>
  <jasper2 validateXml="false" uriroot="${webapp.path}" webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml"
outputDir="${webapp.path}/WEB-INF/src"/>
 </target>
        <!-- if the make_jsp EXISITS this target will be run -->
 <target name="jsp_compile" if="make_jsp">
  <javac destdir="${webapp.path}/WEB-INF/classes" optimize="off" debug="on" failonerror="false"
srcdir="${webapp.path}/WEB-INF/src" excludes="**/*.smap">
   <classpath>
    <pathelement location="${webapp.path}/WEB-INF/classes"/>
    <fileset dir="${webapp.path}/WEB-INF/lib">
     <include name="*.jar"/>
    </fileset>
    <pathelement location="${tomcat.home}/common/classes"/>
    <fileset dir="${tomcat.home}/common/lib">
     <include name="*.jar"/>
    </fileset>
    <pathelement location="${tomcat.home}/shared/classes"/>
    <fileset dir="${tomcat.home}/shared/lib">
     <include name="*.jar"/>
    </fileset>
   </classpath>
   <include name="**"/>
   <exclude name="tags/**"/>
  </javac>
 </target>
 <target name="jsp_clean" description="Remove the generate files." depends="jspc,jsp_compile">
  <delete dir="${webapp.path}/WEB-INF/src"/>
 </target>
 <!-- This task will copy the generated web.xml file after the filter token line set
       in the web.xml.app -->
 <target name="addwebxml" description="Add the Pre-Compiled JSP info to the web.xml">
  <copy file="${webapp.path}/WEB-INF/web.xml" overwrite="true" tofile="${webapp.path}/WEB-INF/web.xml.app"/>
  <loadfile property="compiled.web.xml" srcFile="${webapp.path}/WEB-INF/generated_web.xml"/>
  <copy file="${webapp.path}/WEB-INF/web.xml.app" overwrite="true" filtering="true" tofile="${webapp.path}/WEB-INF/web.xml">
   <filterset begintoken="&lt;" endtoken="&gt;">
    <filter token="!-- Generated JSP Servlets go here --" value="${compiled.web.xml}"/>
   </filterset>
  </copy>
 </target>

</project>

 

------------------------ ERROR ------------------------ 
 
Z:\STM_EQ_PT\Server\StrutsApps\source\java>ant -debug dev
Apache Ant version 1.6.2 compiled on July 16 2004
Buildfile: build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.4 in: C:\j2sdk1.4.2_04\jre
Detected OS: Windows XP
Adding reference: ant.ComponentHelper
Setting ro project property: ant.version -> Apache Ant version 1.6.2 compiled on July 16
2004
Setting ro project property: ant.file -> Z:\STM_EQ_PT\Server\StrutsApps\source\java\build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile Z:\STM_EQ_PT\Server\StrutsApps\source\java\build.xml with URI =  <file:///Z:/STM_EQ_PT/Server/StrutsApps/source/java/build.xml>
file:///Z:/STM_EQ_PT/Server/StrutsApps/source/java/build.xml
Setting ro project property: ant.project.name -> Cactus Servlet Sample
Adding reference: Cactus Servlet Sample
Setting ro project property: ant.file.Cactus Servlet Sample -> Z:\STM_EQ_PT\Server\StrutsApps\source\java\build.xml
Project base dir set to: Z:\STM_EQ_PT\Server\StrutsApps
 +Target:
Adding reference: project.classpath
 +Target: init
 +Target: compile.java
 +Target: war
 +Target: dist
 +Target: clean
Adding reference: cactus.classpath
 +Target: compile.test
 +Target: compile
 +Target: test.prepare
 +Target: test
 +Target: dev
 +Target: prod
 +Target: qa
 +Target: assemble_war_dir
 +Target: create_war
 +Target: copy_common_files
 +Target: clean_assemble_war
 +Target: display-prod-msg
 +Target: display-dev-msg
 +Target: display-qa-msg
 +Target: jspc
Adding reference: jspc.classpath
 +Target: jsp_compile
 +Target: jsp_clean
 +Target: addwebxml
Setting project property: build.cactus.taskscompiler -> classic
Setting project property: jar.compiler -> javac
Setting project property: build.compiler.warnings -> false
Setting project property: project.name.file -> regreporting
Setting project property: target.dir -> assemble_war
Setting project property: src.dir -> Z:\STM_EQ_PT\Server\StrutsApps/source
Setting project property: src.java.dir -> Z:\STM_EQ_PT\Server\StrutsApps\source\java
Setting project property: src.test.dir -> Z:\STM_EQ_PT\Server\StrutsApps/source/test
Setting project property: src.cactus.dir -> Z:\STM_EQ_PT\Server\StrutsApps/source/test-cactus
Setting project property: dir.build -> Z:\STM_EQ_PT\Server\StrutsApps/classes
Setting project property: dir.jar -> Z:\STM_EQ_PT\Server\StrutsApps/jars
Setting project property: dir.jar.app -> Z:\STM_EQ_PT\Server\StrutsApps/jars/regreporting
Setting project property: dir.unittest.source -> Z:\STM_EQ_PT\Server\StrutsApps/test
Setting project property: dir.javadoc -> Z:\STM_EQ_PT\Server\StrutsApps/javadoc/regreporting
Setting project property: file.jar.libRegReportingBusiness -> libRegReportingBusiness.jar
Setting project property: file.jar.libRegReportingPresentation -> libRegReportingPresentation.jar
Setting project property: file.manifest -> Z:\STM_EQ_PT\Server\StrutsApps/classes/manifest.mf
Setting project property: file.dist -> Z:\STM_EQ_PT\Server\StrutsApps/distRegReporting.zip
 [property] Loading Environment env.
Setting project property: env._TYPE -> Workstation
Setting project property: env.TERMCAP -> C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\etc\termcap
Setting project property: env.VS71COMNTOOLS -> C:\Program Files\Microsoft Visual Studio
.NET 2003\Common7\Tools\
Setting project property: env.TEMP -> C:\DOCUME~1\cotterjo\LOCALS~1\Temp
Setting project property: env.HOME -> P:\
Setting project property: env.JAVA_HOME -> C:\j2sdk1.4.2_04
Setting project property: env.CLASSPATH -> C:\TIBCO\TIBRV\LIB\tibrvj.jar;C:\PROGRA~1\Borland\VBroker\lib\vbcpp.jar
Setting project property: env.VSCOMNTOOLS -> "C:\Program Files\Microsoft Visual Studio
.NET\Common7\Tools\"
Setting project property: env.ROOTDIR -> C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT
Setting project property: env._MACH -> WSTM0114851
Setting project property: env.ProgramFiles -> C:\Program Files
Setting project property: env.Path -> C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PROGRA~1\RATIONAL\R
ATION~1\NUTCROOT\mksnt;C:\Program Files\WRQ\Reflection;C:\Progra~1\Oracle\Oracle9i\901\bin;C:\Progra~1\Oracle\Oracle9i\901\jre\1.1.8\bin;C:\WINDOWS\sy
stem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Profile Maker;C:\Program Files\Real\Realplayer;C:\Program
Files\Business Objects\Server\Sy
stem 2.5\bin;C:\Program Files\WRQ\Reflection\;C:\Program Files\Active Perl\Perl\Bin;c:\Program
Files\Rational\ClearCase\bin;c:\Program Files\Sybase125
\OCS-12_5\dll;C:\Program Files\Sybase125\OCS-12_5\bin;C:\Program Files\Sybase125\OLEDB;C:\Program
Files\Rational\common;C:\Program Files\Rational\Clea
rQuest;C:\Program Files\Rational\Rose\TopLink\;C:\Program Files\Rational\Rational Test;C:\progra~1\JBuilder7\bin;C:\TIBCO\TIBRV\BIN;C:\D6\Bin;C:\D6\Pr
ojects\Bpl;C:\tools\maven-1.0\bin;C:\tools\apache-ant-1.6.2\bin
Setting project property: env.SESSIONNAME -> Console
Setting project property: env.SystemRoot -> C:\WINDOWS
Setting project property: env.COMMONHOME -> C:\Program Files\Rational\common
Setting project property: env.USERNAME -> cotterjo
Setting project property: env._JAVACMD -> C:\j2sdk1.4.2_04\bin\java.exe
Setting project property: env.PROCESSOR_LEVEL -> 15
Setting project property: env.WISYS -> C:\Program Files\Business Objects\Server\System
2.5\bin
Setting project property: env.LIB -> C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;C:\Program
Files\Microsoft Visual Studio .NET\Fr
ameworkSDK\Lib\
Setting project property: env.USERPROFILE -> C:\Documents and Settings\cotterjo
Setting project property: env.PROCESSOR_REVISION -> 0209
Setting project property: env.CommonProgramFiles -> C:\Program Files\Common Files
Setting project property: env.INCLUDE -> C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\include\;C:\Program Files\Microsoft Visual Studio
 .NET\FrameworkSDK\include\
Setting project property: env.ANT_CMD_LINE_ARGS -> -debug dev
Setting project property: env.HOMEPATH -> \
Setting project property: env.TERM -> nutc
Setting project property: env.SYBASE -> C:\Program Files\Sybase125
Setting project property: env.PROCESSOR_ARCHITECTURE -> x86
Setting project property: env.NUT_SUFFIXED_SEARCHING -> 1
Setting project property: env.JETTY_HOME -> C:\tools\jetty-4.2.22
Setting project property: env.OS -> Windows_NT
Setting project property: env._APPLOGS -> C:\WINDOWS\DEBUG\APPS
Setting project property: env.ComSpec -> C:\WINDOWS\system32\cmd.exe
Setting project property: env.PATHEXT -> .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
Setting project property: env.PROMPT -> $P$G
Setting project property: env.ALLUSERSPROFILE -> C:\Documents and Settings\All Users
Setting project property: env.SMS_LOCAL_DIR -> C:\WINDOWS
Setting project property: env.RQAHOME -> C:\Program Files\Rational\Rational Test\QualityArchitect
Setting project property: env.HOMEDRIVE -> P:
Setting project property: env.HOMESHARE ->  <file://\\DSTMC003PN1\_cotterjo$> \\DSTMC003PN1\_cotterjo$
Setting project property: env.PROCESSOR_IDENTIFIER -> x86 Family 15 Model 2 Stepping 9,
GenuineIntel
Setting project property: env.APPDATA -> C:\Documents and Settings\cotterjo\Application
Data
Setting project property: env.RATL_RTHOME -> C:\Program Files\Rational\Rational Test
Setting project property: env.USERDNSDOMAIN -> UBSW.NET
Setting project property: env.NUMBER_OF_PROCESSORS -> 2
Setting project property: env.TOMCAT_HOME -> C:\servers\jakarta-tomcat-4.1.27
Setting project property: env.NUTSUFFIX -> 1
Setting project property: env.ANT_HOME -> C:\tools\apache-ant-1.6.2
Setting project property: env.NUTCROOT -> C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT
Setting project property: env.TMPDIR -> C:\DOCUME~1\cotterjo\LOCALS~1\Temp
Setting project property: env.SYBASE_JRE -> C:\Program Files\Sybase125\shared-1_0\jre1.2.2
Setting project property: env.TERMINFO -> C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\usr\lib\terminfo
Setting project property: env.CLEARCASE_PRIMARY_GROUP -> CC_UBS_DEV
Setting project property: env.WGNINSTALLDIR -> C:\Program Files\Orchestria\Active Policy
Management\
Setting project property: env.MAVEN_HOME -> C:\tools\maven-1.0
Setting project property: env.DISPLAY -> :0.0
Setting project property: env.SystemDrive -> C:
Setting project property: env.SHELL -> C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.exe
Setting project property: env.TMP -> C:\DOCUME~1\cotterjo\LOCALS~1\Temp
Setting project property: env.USERDOMAIN -> UBSW
Setting project property: env.SYBASE_OCS -> OCS-12_5
Setting project property: env.windir -> C:\WINDOWS
Setting project property: env.COMPUTERNAME -> WSTM0114851
Setting project property: env.LOGONSERVER ->  <file://\\NSTM0114PAU> \\NSTM0114PAU
Setting project property: tomcat.home -> C:\servers\jakarta-tomcat-4.1.27
Setting project property: webapp.path -> Z:\STM_EQ_PT\Server\StrutsApps/assemble_war
Setting project property: src.webapp.dir -> Z:\STM_EQ_PT\Server\StrutsApps\assemble_war
Setting project property: parser.jar -> jars/common/parser.jar
Setting project property: struts.jar -> jars/common/struts.jar
Setting project property: j2ee.jar -> jars/common/j2ee_1.3.1.jar
Setting project property: aspectjrt.jar -> jars/cactus/aspectjrt-1.1.1.jar
Setting project property: junit.jar -> Z:\STM_EQ_PT\Server\StrutsApps/jars/cactus/junit-3.8.1.jar
Setting project property: common.logging.jar -> Z:\STM_EQ_PT\Server\StrutsApps/jars/common/commons-logging.jar
Setting project property: httpclient.jar -> Z:\STM_EQ_PT\Server\StrutsApps/jars/cactus/commons-httpclient-2.0.jar
Setting project property: cactus.jar -> jars/cactus/cactus-1.6.1.jar
Setting project property: cactus.ant.jar -> jars/cactus/cactus-ant-1.6.1.jar
Setting project property: jstl.jar -> Z:\STM_EQ_PT\Server\StrutsApps\jars\common\jstl.jar
Setting project property: standard.jar -> Z:\STM_EQ_PT\Server\StrutsApps\jars\common\standard.jar
Setting project property: log4j.jar -> Z:\STM_EQ_PT\Server\StrutsApps\jars\common\log4j-1.2.8.jar
Setting project property: itext.jar -> Z:\STM_EQ_PT\Server\StrutsApps\jars\common\itext-1.01.jar
Override ignored for property standard.jar
Setting project property: nekohtml.jar -> Z:\STM_EQ_PT\Server\StrutsApps\jars\cactus\nekohtml-0.7.4.jar
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Adding reference: project.classpath
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Adding reference: cactus.classpath
Finding class org.apache.cactus.integration.ant.CactifyWarTask
Loaded from Z:\STM_EQ_PT\Server\StrutsApps\jars\cactus\cactus-ant-1.6.1.jar org/apache/cactus/integration/ant/CactifyWarTask.class
Class org.apache.tools.ant.taskdefs.War loaded from parent loader (parentFirst)
Class org.apache.cactus.integration.ant.CactifyWarTask loaded from ant loader (parentFirst)
Class java.lang.Object loaded from parent loader (parentFirst)
Class java.lang.Throwable loaded from parent loader (parentFirst)
Class javax.xml.parsers.ParserConfigurationException loaded from parent loader (parentFirst)
Class java.io.IOException loaded from parent loader (parentFirst)
Class org.xml.sax.SAXException loaded from parent loader (parentFirst)
Finding class org.apache.cactus.integration.ant.deployment.WarArchive
Loaded from Z:\STM_EQ_PT\Server\StrutsApps\jars\cactus\cactus-ant-1.6.1.jar org/apache/cactus/integration/ant/deployment/WarArchive.class
Finding class org.apache.cactus.integration.ant.deployment.JarArchive
Loaded from Z:\STM_EQ_PT\Server\StrutsApps\jars\cactus\cactus-ant-1.6.1.jar org/apache/cactus/integration/ant/deployment/JarArchive.class
Class org.apache.cactus.integration.ant.deployment.JarArchive loaded from ant loader (parentFirst)
Class org.apache.cactus.integration.ant.deployment.WarArchive loaded from ant loader (parentFirst)
Class org.apache.tools.ant.BuildException loaded from parent loader (parentFirst)
Class org.xml.sax.EntityResolver loaded from parent loader (parentFirst)
Class org.apache.tools.ant.Task loaded from parent loader (parentFirst)
Finding class org.apache.commons.logging.Log
Loaded from Z:\STM_EQ_PT\Server\StrutsApps\jars\common\commons-logging.jar org/apache/commons/logging/Log.class
Class org.apache.commons.logging.Log loaded from ant loader (parentFirst)
Class org.apache.tools.ant.types.ZipFileSet loaded from parent loader (parentFirst)
Finding class org.apache.cactus.integration.ant.deployment.WebXmlVersion
Loaded from Z:\STM_EQ_PT\Server\StrutsApps\jars\cactus\cactus-ant-1.6.1.jar org/apache/cactus/integration/ant/deployment/WebXmlVersion.class
Class java.lang.Comparable loaded from parent loader (parentFirst)
Class org.apache.cactus.integration.ant.deployment.WebXmlVersion loaded from ant loader (parentFirst)
Class java.util.List loaded from parent loader (parentFirst)
 +Datatype cactifywar org.apache.cactus.integration.ant.CactifyWarTask
Finding class org.apache.cactus.integration.ant.RunServerTestsTask
Loaded from Z:\STM_EQ_PT\Server\StrutsApps\jars\cactus\cactus-ant-1.6.1.jar org/apache/cactus/integration/ant/RunServerTestsTask.class
Class org.apache.cactus.integration.ant.RunServerTestsTask loaded from ant loader (parentFirst)
Finding class org.apache.cactus.integration.ant.container.Container
Loaded from Z:\STM_EQ_PT\Server\StrutsApps\jars\cactus\cactus-ant-1.6.1.jar org/apache/cactus/integration/ant/container/Container.class
Class org.apache.cactus.integration.ant.container.Container loaded from ant loader (parentFirst)
Finding class org.apache.cactus.integration.ant.util.AntTaskFactory
Loaded from Z:\STM_EQ_PT\Server\StrutsApps\jars\cactus\cactus-ant-1.6.1.jar org/apache/cactus/integration/ant/util/AntTaskFactory.class
Class org.apache.cactus.integration.ant.util.AntTaskFactory loaded from ant loader (parentFirst)
 +Datatype runservertests org.apache.cactus.integration.ant.RunServerTestsTask
Finding class org.apache.cactus.integration.ant.WebXmlMergeTask
Loaded from Z:\STM_EQ_PT\Server\StrutsApps\jars\cactus\cactus-ant-1.6.1.jar org/apache/cactus/integration/ant/WebXmlMergeTask.class
Class org.apache.cactus.integration.ant.WebXmlMergeTask loaded from ant loader (parentFirst)
 +Datatype webxmlmerge org.apache.cactus.integration.ant.WebXmlMergeTask
Finding class org.apache.cactus.integration.ant.CactusTask
Loaded from Z:\STM_EQ_PT\Server\StrutsApps\jars\cactus\cactus-ant-1.6.1.jar org/apache/cactus/integration/ant/CactusTask.class
Class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask loaded from parent loader (parentFirst)
Class org.apache.cactus.integration.ant.CactusTask loaded from ant loader (parentFirst)
 
BUILD FAILED
Z:\STM_EQ_PT\Server\StrutsApps\source\java\build.xml:129: taskdef A class needed by class
org.apache.cactus.integration.ant.CactusTask cannot be found
: junit/framework/Test
        at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:487)
        at org.apache.tools.ant.taskdefs.Definer.loadProperties(Definer.java:304)
        at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:223)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:133)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
        at org.apache.tools.ant.Main.runBuild(Main.java:658)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.lang.NoClassDefFoundError: junit/framework/Test
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:457)
        ... 11 more
--- Nested Exception ---
java.lang.NoClassDefFoundError: junit/framework/Test
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:457)
        at org.apache.tools.ant.taskdefs.Definer.loadProperties(Definer.java:304)
        at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:223)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:133)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
        at org.apache.tools.ant.Main.runBuild(Main.java:658)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
 
Total time: 2 seconds
Z:\STM_EQ_PT\Server\StrutsApps\source\java>


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

Mime
View raw message