ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mick.Knut...@wellsfargo.com
Subject Help with classpath issues in my ant script.
Date Wed, 23 Jun 2004 16:21:18 GMT
I have been looking through the archives all week, and still can't figure
this one out.
I have added the commons logging into my build LIB directory and referenced
it, and I also added it to my ant_home/lib directory.

As per the directions on the Cactus website:
http://jakarta.apache.org/cactus/integration/ant/index.html I have added the
following to my existing ant script:
============================================================================
======

    <path id="default.classpath">
        <pathelement path="${buildlib.dir}" />
        <pathelement path="${deploylib.dir}" />
        <pathelement path="${testlib.dir}" />

        <fileset dir="${ant.home}/lib" >
            <include name="*.jar" />
        </fileset>

        <!-- BuildLib's ===================================================
-->
        <pathelement location="${ant.jar}" />
        <pathelement location="${ant-optional.jar}" />
        <pathelement location="${jdepend.jar}" />
        <pathelement location="${junit.jar}" />

        <pathelement location="${ejb-2.0.jar}" />
        <pathelement location="${jdbc2_0-stdext.jar}" />
        <pathelement location="${nounitutil.jar}" />
        <pathelement location="${servlet-2.3.jar}" />

        <pathelement location="${saxpath-1.0-fcs.jar}" />
        <!--<pathelement location="${antlr.jar}" />
        <pathelement location="${bcel-5.1.jar}" />
        <pathelement location="${bsf-2.3.0.jar}" />-->

        <!-- DeployLib's ==================================================
-->


        <!-- TestLib's ==================================================
-->
        <pathelement location="${commons-logging.jar}" />
        <pathelement location="${cactus.jar}" />
        <pathelement location="${cactus-ant.jar}" />
        <pathelement location="${commons-httpclient.jar}" />
        <pathelement location="${httpunit.jar}" />
        <pathelement location="${nekohtml.jar}" />
        <pathelement location="${servletapi.jar}" />
        <pathelement location="${aspectjrt.jar}" />


        <fileset dir="${buildlib.dir}" includes="**/*.jar" />
        <fileset dir="${deploylib.dir}" includes="**/*.jar" />
        <fileset dir="${testlib.dir}" includes="**/*.jar" />
    </path>

    <taskdef resource="cactus.tasks" classpathref="default.classpath"/>


and I get the following error that I can't seem to fix!:
======================================
C:\opt\ice>ant -v
Apache Ant version 1.5.4 compiled on August 12 2003
Buildfile: build.xml
Detected Java version: 1.4 in: c:\j2sdk1.4.2_04\jre
Detected OS: Windows 2000
parsing buildfile build.xml with URI = file:C:/opt/ice/build.xml
Project base dir set to: C:\opt\ice
 [property] Loading C:\opt\ice\local.properties
Override ignored for property ant.home
 [property] Loading C:\opt\ice\build\build.properties
Override ignored for property project.version
Override ignored for property debug
Override ignored for property optimize
Override ignored for property deprecation
Override ignored for property cactus.port
Override ignored for property aspectjrt.jar
Override ignored for property cactus.jar
Override ignored for property httpunit.jar
Override ignored for property junit.jar
resolving systemId: file:C:/opt/ice/./build/build-generate.xml
resolving systemId: file:C:/opt/ice/./build/build-compile.xml
resolving systemId: file:C:/opt/ice/./build/build-unittests.xml
Override ignored for property gen_src.docs.dir
resolving systemId: file:C:/opt/ice/./build/build-functionaltests.xml
resolving systemId: file:C:/opt/ice/./build/build-deploy.xml
resolving systemId: file:C:/opt/ice/./build/build-qa.xml
Override ignored for property gen_src.docs.dir
  [taskdef] Loading definitions from resource cactus.tasks

BUILD FAILED
file:C:/opt/ice/build.xml:154: taskdef class
org.apache.cactus.integration.ant.CactifyWarTask cannot be found
        at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)
        at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
        at
org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.finished(ProjectHe
lperImpl.java:821)
        at
org.apache.tools.ant.helper.ProjectHelperImpl$AbstractHandler.endElement(Pro
jectHelperImpl.java:300)
        at
org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java:353)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1720)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
        at
org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl.java:1
55)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117)
        at org.apache.tools.ant.Main.runBuild(Main.java:596)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/Log
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
        at java.lang.Class.getDeclaredConstructors(Class.java:1169)
        at
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.java:479)
        at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
        ... 16 more
--- Nested Exception ---
java.lang.NoClassDefFoundError: org/apache/commons/logging/Log
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
        at java.lang.Class.getDeclaredConstructors(Class.java:1169)
        at
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.java:479)
        at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
        at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
        at
org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.finished(ProjectHe
lperImpl.java:821)
        at
org.apache.tools.ant.helper.ProjectHelperImpl$AbstractHandler.endElement(Pro
jectHelperImpl.java:300)
        at
org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java:353)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1720)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
        at
org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl.java:1
55)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117)
        at org.apache.tools.ant.Main.runBuild(Main.java:596)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 1 second
C:\opt\ice>






---
> Thanks...
> Mick Knutson
> 
> 525 Market Street, SF, CA  94103
> (415) 222-1020
> Mick.Knutson@WellsFargo.com
> MAC A0103-223
---


WITH DEBUG FLAG:
========================================================

C:\opt\ice>ant -debug
Apache Ant version 1.5.4 compiled on August 12 2003
Buildfile: build.xml
Detected Java version: 1.4 in: c:\j2sdk1.4.2_04\jre
Detected OS: Windows 2000
 +User task: propertyfile
org.apache.tools.ant.taskdefs.optional.PropertyFile
 +User task: vsscheckin
org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
 +User task: sql     org.apache.tools.ant.taskdefs.SQLExec
 +User task: cvspass     org.apache.tools.ant.taskdefs.CVSPass
 +User task: p4reopen
org.apache.tools.ant.taskdefs.optional.perforce.P4Reopen
 +User task: csc     org.apache.tools.ant.taskdefs.optional.dotnet.CSharp
 +User task: dirname     org.apache.tools.ant.taskdefs.Dirname
 +User task: wlrun     org.apache.tools.ant.taskdefs.optional.ejb.WLRun
 +User task: p4label
org.apache.tools.ant.taskdefs.optional.perforce.P4Label
 +User task: p4revert
org.apache.tools.ant.taskdefs.optional.perforce.P4Revert
 +User task: replaceregexp
org.apache.tools.ant.taskdefs.optional.ReplaceRegExp
 +User task: get     org.apache.tools.ant.taskdefs.Get
 +User task: jjtree     org.apache.tools.ant.taskdefs.optional.javacc.JJTree
 +User task: sleep     org.apache.tools.ant.taskdefs.Sleep
 +User task: jarlib-display
org.apache.tools.ant.taskdefs.optional.extension.JarLibDisplayTask
 +User task: dependset     org.apache.tools.ant.taskdefs.DependSet
 +User task: zip     org.apache.tools.ant.taskdefs.Zip
 +User task: patch     org.apache.tools.ant.taskdefs.Patch
 +User task: jspc     org.apache.tools.ant.taskdefs.optional.jsp.JspC
 +User task: style     org.apache.tools.ant.taskdefs.XSLTProcess
 +User task: test     org.apache.tools.ant.taskdefs.optional.Test
 +User task: tstamp     org.apache.tools.ant.taskdefs.Tstamp
 +User task: unwar     org.apache.tools.ant.taskdefs.Expand
 +User task: vsshistory
org.apache.tools.ant.taskdefs.optional.vss.MSVSSHISTORY
 +User task: icontract     org.apache.tools.ant.taskdefs.optional.IContract
 +User task: cvschangelog
org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask
 +User task: p4submit
org.apache.tools.ant.taskdefs.optional.perforce.P4Submit
 +User task: ccmcheckin
org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckin
 +User task: p4change
org.apache.tools.ant.taskdefs.optional.perforce.P4Change
 +User task: bzip2     org.apache.tools.ant.taskdefs.BZip2
 +User task: p4delete
org.apache.tools.ant.taskdefs.optional.perforce.P4Delete
 +User task: vssadd     org.apache.tools.ant.taskdefs.optional.vss.MSVSSADD
 +User task: javadoc     org.apache.tools.ant.taskdefs.Javadoc
 +User task: translate
org.apache.tools.ant.taskdefs.optional.i18n.Translate
 +User task: signjar     org.apache.tools.ant.taskdefs.SignJar
 +User task: vajload
org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects
 +User task: jarlib-available
org.apache.tools.ant.taskdefs.optional.extension.JarLibAvailableTask
 +User task: WsdlToDotnet
org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
 +User task: buildnumber     org.apache.tools.ant.taskdefs.BuildNumber
 +User task: jpcovmerge
org.apache.tools.ant.taskdefs.optional.sitraka.CovMerge
 +User task: ejbjar     org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
 +User task: war     org.apache.tools.ant.taskdefs.War
Could not load a dependent class (com/starbase/starteam/Item) for task
stlist
 +User task: rename     org.apache.tools.ant.taskdefs.Rename
 +User task: sequential     org.apache.tools.ant.taskdefs.Sequential
 +User task: serverdeploy
org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy
 +User task: property     org.apache.tools.ant.taskdefs.Property
 +User task: move     org.apache.tools.ant.taskdefs.Move
 +User task: copydir     org.apache.tools.ant.taskdefs.Copydir
 +User task: cccheckin
org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin
 +User task: wljspc     org.apache.tools.ant.taskdefs.optional.jsp.WLJspc
 +User task: fixcrlf     org.apache.tools.ant.taskdefs.FixCRLF
Could not load a dependent class (com/oroinc/net/SocketClient) for task
telnet
 +User task: sosget     org.apache.tools.ant.taskdefs.optional.sos.SOSGet
 +User task: pathconvert     org.apache.tools.ant.taskdefs.PathConvert
 +User task: record     org.apache.tools.ant.taskdefs.Recorder
 +User task: p4sync
org.apache.tools.ant.taskdefs.optional.perforce.P4Sync
 +User task: exec     org.apache.tools.ant.taskdefs.ExecTask
 +User task: p4edit
org.apache.tools.ant.taskdefs.optional.perforce.P4Edit
 +User task: manifest     org.apache.tools.ant.taskdefs.ManifestTask
 +User task: maudit
org.apache.tools.ant.taskdefs.optional.metamata.MAudit
 +User task: antlr     org.apache.tools.ant.taskdefs.optional.ANTLR
 +User task: netrexxc     org.apache.tools.ant.taskdefs.optional.NetRexxC
Could not load a dependent class (com/oroinc/net/ftp/FTP) for task ftp
 +User task: jpcovreport
org.apache.tools.ant.taskdefs.optional.sitraka.CovReport
 +User task: execon     org.apache.tools.ant.taskdefs.ExecuteOn
 +User task: ccmcheckout
org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckout
 +User task: ant     org.apache.tools.ant.taskdefs.Ant
 +User task: xmlvalidate
org.apache.tools.ant.taskdefs.optional.XMLValidateTask
 +User task: xslt     org.apache.tools.ant.taskdefs.XSLTProcess
 +User task: iplanet-ejbc
org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbcTask
 +User task: ccmcheckintask
org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckinDefault
 +User task: gzip     org.apache.tools.ant.taskdefs.GZip
 +User task: native2ascii
org.apache.tools.ant.taskdefs.optional.Native2Ascii
 +User task: starteam
org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut
 +User task: ear     org.apache.tools.ant.taskdefs.Ear
 +User task: input     org.apache.tools.ant.taskdefs.Input
 +User task: rmic     org.apache.tools.ant.taskdefs.Rmic
 +User task: checksum     org.apache.tools.ant.taskdefs.Checksum
 +User task: mail     org.apache.tools.ant.taskdefs.email.EmailTask
 +User task: loadfile     org.apache.tools.ant.taskdefs.LoadFile
 +User task: vsscheckout
org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKOUT
 +User task: stylebook     org.apache.tools.ant.taskdefs.optional.StyleBook
 +User task: soscheckin
org.apache.tools.ant.taskdefs.optional.sos.SOSCheckin
 +User task: mimemail
org.apache.tools.ant.taskdefs.optional.net.MimeMail
 +User task: stlabel
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel
 +User task: gunzip     org.apache.tools.ant.taskdefs.GUnzip
 +User task: concat     org.apache.tools.ant.taskdefs.Concat
 +User task: cab     org.apache.tools.ant.taskdefs.optional.Cab
 +User task: touch     org.apache.tools.ant.taskdefs.Touch
 +User task: parallel     org.apache.tools.ant.taskdefs.Parallel
 +User task: splash
org.apache.tools.ant.taskdefs.optional.splash.SplashTask
 +User task: antcall     org.apache.tools.ant.taskdefs.CallTarget
 +User task: cccheckout
org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout
 +User task: typedef     org.apache.tools.ant.taskdefs.Typedef
 +User task: p4have
org.apache.tools.ant.taskdefs.optional.perforce.P4Have
 +User task: filter     org.apache.tools.ant.taskdefs.Filter
 +User task: xmlproperty     org.apache.tools.ant.taskdefs.XmlProperty
Could not load a dependent class (jdepend/xmlui/JDepend) for task jdepend
 +User task: copy     org.apache.tools.ant.taskdefs.Copy
 +User task: antstructure     org.apache.tools.ant.taskdefs.AntStructure
Could not load a dependent class (com/ibm/bsf/BSFException) for task script
 +User task: ccmcreatetask
org.apache.tools.ant.taskdefs.optional.ccm.CCMCreateTask
 +User task: rpm     org.apache.tools.ant.taskdefs.optional.Rpm
 +User task: delete     org.apache.tools.ant.taskdefs.Delete
 +User task: replace     org.apache.tools.ant.taskdefs.Replace
 +User task: mmetrics
org.apache.tools.ant.taskdefs.optional.metamata.MMetrics
 +User task: waitfor     org.apache.tools.ant.taskdefs.WaitFor
 +User task: untar     org.apache.tools.ant.taskdefs.Untar
 +User task: loadproperties     org.apache.tools.ant.taskdefs.LoadProperties
 +User task: available     org.apache.tools.ant.taskdefs.Available
 +User task: echoproperties
org.apache.tools.ant.taskdefs.optional.EchoProperties
Could not load a dependent class (junit/framework/TestListener) for task
junit
Could not load a dependent class (com/starbase/starteam/Item) for task
stcheckin
 +User task: vajexport
org.apache.tools.ant.taskdefs.optional.ide.VAJExport
Could not load a dependent class (com/starbase/starteam/Item) for task
stcheckout
 +User task: bunzip2     org.apache.tools.ant.taskdefs.BUnzip2
 +User task: copyfile     org.apache.tools.ant.taskdefs.Copyfile
 +User task: vsscreate
org.apache.tools.ant.taskdefs.optional.vss.MSVSSCREATE
 +User task: ejbc     org.apache.tools.ant.taskdefs.optional.ejb.Ejbc
 +User task: unjar     org.apache.tools.ant.taskdefs.Expand
 +User task: wsdltodotnet
org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
 +User task: mkdir     org.apache.tools.ant.taskdefs.Mkdir
 +User task: condition     org.apache.tools.ant.taskdefs.ConditionTask
 +User task: cvs     org.apache.tools.ant.taskdefs.Cvs
 +User task: tempfile     org.apache.tools.ant.taskdefs.TempFile
 +User task: junitreport
org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator
 +User task: taskdef     org.apache.tools.ant.taskdefs.Taskdef
 +User task: echo     org.apache.tools.ant.taskdefs.Echo
 +User task: ccupdate
org.apache.tools.ant.taskdefs.optional.clearcase.CCUpdate
 +User task: java     org.apache.tools.ant.taskdefs.Java
 +User task: renameext
org.apache.tools.ant.taskdefs.optional.RenameExtensions
 +User task: vsslabel
org.apache.tools.ant.taskdefs.optional.vss.MSVSSLABEL
 +User task: basename     org.apache.tools.ant.taskdefs.Basename
 +User task: javadoc2     org.apache.tools.ant.taskdefs.Javadoc
 +User task: vsscp     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCP
 +User task: tar     org.apache.tools.ant.taskdefs.Tar
 +User task: vajimport
org.apache.tools.ant.taskdefs.optional.ide.VAJImport
 +User task: setproxy
org.apache.tools.ant.taskdefs.optional.net.SetProxy
 +User task: wlstop     org.apache.tools.ant.taskdefs.optional.ejb.WLStop
 +User task: p4counter
org.apache.tools.ant.taskdefs.optional.perforce.P4Counter
 +User task: ilasm     org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm
 +User task: soscheckout
org.apache.tools.ant.taskdefs.optional.sos.SOSCheckout
 +User task: apply     org.apache.tools.ant.taskdefs.Transform
 +User task: ccuncheckout
org.apache.tools.ant.taskdefs.optional.clearcase.CCUnCheckout
 +User task: jarlib-resolve
org.apache.tools.ant.taskdefs.optional.extension.JarLibResolveTask
 +User task: jlink
org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask
 +User task: cvstagdiff     org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff
 +User task: javacc     org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
 +User task: chmod     org.apache.tools.ant.taskdefs.Chmod
 +User task: pvcs     org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs
 +User task: jarlib-manifest
org.apache.tools.ant.taskdefs.optional.extension.JarLibManifestTask
 +User task: jar     org.apache.tools.ant.taskdefs.Jar
 +User task: sound
org.apache.tools.ant.taskdefs.optional.sound.SoundTask
 +User task: mparse
org.apache.tools.ant.taskdefs.optional.metamata.MParse
 +User task: blgenclient
org.apache.tools.ant.taskdefs.optional.ejb.BorlandGenerateClient
 +User task: uptodate     org.apache.tools.ant.taskdefs.UpToDate
 +User task: genkey     org.apache.tools.ant.taskdefs.GenerateKey
 +User task: javah     org.apache.tools.ant.taskdefs.optional.Javah
 +User task: ccmreconfigure
org.apache.tools.ant.taskdefs.optional.ccm.CCMReconfigure
 +User task: fail     org.apache.tools.ant.taskdefs.Exit
 +User task: unzip     org.apache.tools.ant.taskdefs.Expand
 +User task: javac     org.apache.tools.ant.taskdefs.Javac
 +User task: p4add     org.apache.tools.ant.taskdefs.optional.perforce.P4Add
 +User task: jpcoverage
org.apache.tools.ant.taskdefs.optional.sitraka.Coverage
 +User task: soslabel
org.apache.tools.ant.taskdefs.optional.sos.SOSLabel
 +User task: depend     org.apache.tools.ant.taskdefs.optional.depend.Depend
 +User task: vssget     org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET
 +User task: deltree     org.apache.tools.ant.taskdefs.Deltree
 +User task: ddcreator
org.apache.tools.ant.taskdefs.optional.ejb.DDCreator
 +User datatype: patternset     org.apache.tools.ant.types.PatternSet
 +User datatype: filterset     org.apache.tools.ant.types.FilterSet
 +User datatype: libfileset
org.apache.tools.ant.taskdefs.optional.extension.LibFileSet
 +User datatype: filterreader     org.apache.tools.ant.types.AntFilterReader
 +User datatype: extension
org.apache.tools.ant.taskdefs.optional.extension.ExtensionAdapter
 +User datatype: fileset     org.apache.tools.ant.types.FileSet
 +User datatype: dirset     org.apache.tools.ant.types.DirSet
 +User datatype: filelist     org.apache.tools.ant.types.FileList
 +User datatype: filterchain     org.apache.tools.ant.types.FilterChain
 +User datatype: path     org.apache.tools.ant.types.Path
 +User datatype: classfileset
org.apache.tools.ant.types.optional.depend.ClassfileSet
 +User datatype: description     org.apache.tools.ant.types.Description
 +User datatype: xmlcatalog     org.apache.tools.ant.types.XMLCatalog
 +User datatype: selector
org.apache.tools.ant.types.selectors.SelectSelector
 +User datatype: mapper     org.apache.tools.ant.types.Mapper
 +User datatype: substitution     org.apache.tools.ant.types.Substitution
 +User datatype: extensionSet
org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet
 +User datatype: regexp     org.apache.tools.ant.types.RegularExpression
Setting ro project property: ant.version -> Apache Ant version 1.5.4
compiled on August 12 2003
Setting ro project property: ant.file -> C:\opt\ice\build.xml
parsing buildfile build.xml with URI = file:C:/opt/ice/build.xml
Setting ro project property: ant.project.name -> WellsFargo Bank, Business
Direct - Internet Credit Exchange (ICE)
Adding reference: WellsFargo Bank, Business Direct - Internet Credit
Exchange (ICE) -> org.apache.tools.ant.Project@861f24
Project base dir set to: C:\opt\ice
   +Task: property
 [property] Loading C:\opt\ice\local.properties
Setting project property: deploy.password -> wellsfargo
Setting project property: opt.path -> C:/opt
Override ignored for property ant.home
Setting project property: usr.path -> C:/usr
Setting project property: path.home -> C:/
Setting project property: ice.home -> C:/opt/ice
Setting project property: weblogic.home.81 -> C:/opt/local/weblogic81
Setting project property: tomcat.home.33 -> C:/usr/tomcat33
Setting project property: weblogic.datasource -> ICE_DATA_SOURCE
Setting project property: deploy.adminurl -> http://10.34.30.216:6091
Setting project property: serverip -> 10.34.30.216
Setting project property: deploy.user -> system
   +Task: property
 [property] Loading C:\opt\ice\build\build.properties
Setting project property: src.test.dir -> C:/opt/ice/source/tests
Setting project property: temp.flat.war.lib.dir ->
C:/opt/ice/gen/temp/flat/war/WEB-INF/lib
Setting project property: deploy.source ->
C:/opt/ice/deploy/ICE-I2S-Application.ear
Setting project property: lib.dir -> lib
Setting project property: commons-logging.jar ->
C:/opt/ice/lib/testlib/jakarta-cactus-13-1.6.1/commons-logging-1.0.3.jar
Setting project property: temp.flat.dir -> C:/opt/ice/gen/temp/flat
Setting project property: src.ejb.dir -> C:/opt/ice/source/ejb-jar
Setting project property: src.conf.ejb.dir -> C:/opt/ice/source/conf/ejb-jar
Setting project property: project.name.short -> I.C.E.
Setting project property: jar.weblogic -> weblogic.jar
Setting project property: src.web.dir -> C:/opt/ice/source/web
Setting project property: temp.flat.common.dir ->
C:/opt/ice/gen/temp/flat/common-jar
Setting project property: weblogic.version -> 7.0
Setting project property: jdepend.jar ->
c:\usr\local\lib\apache-ant-1.5.4/lib/jdepend.jar
Setting project property: nounitutil.jar ->
C:/opt/ice/lib/buildlib/nounitutil.jar
Setting project property: src.servlets.svp.dir ->
C:/opt/ice/source/servlets/svp
Setting project property: temp.flat.ear.dir -> C:/opt/ice/gen/temp/flat/ear
Setting project property: src.conf.dir -> C:/opt/ice/source/conf
Setting project property: cactus.home.weblogic81 -> C:/opt/local/weblogic81
Setting project property: debug -> true
Setting project property: xdoclet.verbose -> true
Setting project property: app -> ice
Setting project property: jar.common.name -> iceCommon.jar
Setting project property: testlib.dir -> C:/opt/ice/lib/testlib
Setting project property: cactus.dir ->
C:/opt/ice/lib/testlib/jakarta-cactus-13-1.6.1
Setting project property: src.test.unit.common.dir ->
C:/opt/ice/source/tests/unit/common
Setting project property: out.test.svp.dir -> C:/opt/ice/deploy/test/svp
Setting project property: jar.ejb.manifest ->
C:/opt/ice/source/conf/ejb-jar/MANIFEST.MF
Setting project property: project.name.text -> Internet Credit Exchange
Setting project property: out.war.svp.dir -> C:/opt/ice/deploy/war/svp
Setting project property: src.servlets.common.dir ->
C:/opt/ice/source/servlets/common
Setting project property: out.conf.dir -> C:/opt/ice/deploy/conf
Setting project property: classes.dir -> classes
Setting project property: src.conf.web.svp.dir ->
C:/opt/ice/source/conf/web/svp
Setting project property: aspectjrt.jar ->
C:/opt/ice/lib/testlib/jakarta-cactus-13-1.6.1/aspectjrt-1.1.1.jar
Setting project property: gen_src.docs.jdepend.dir ->
C:/opt/ice/gen/docs/jdepend
Setting project property: cactus.jar ->
C:/opt/ice/lib/testlib/jakarta-cactus-13-1.6.1/cactus-1.6.1.jar
Setting project property: ice.ear ->
C:/opt/ice/deploy/ICE-I2S-Application.ear
Setting project property: optimize -> false
Setting project property: gen_src.conf.dir -> C:/opt/ice/gen/conf
Setting project property: src.conf.common.dir ->
C:/opt/ice/source/conf/common-jar
Setting project property: cactus-ant.jar ->
C:/opt/ice/lib/testlib/jakarta-cactus-13-1.6.1/cactus-ant-1.6.1.jar
Setting project property: src.common.dir -> C:/opt/ice/source/common-jar
Setting project property: temp.dir -> C:/opt/ice/gen/temp
Setting project property: deploylib.dir -> C:/opt/ice/lib/deploylib
Setting project property: weblogic.database.type -> ORACLE
Setting project property: src.web.svp.dir -> C:/opt/ice/source/web/svp
Setting project property: temp.flat.war.class.dir ->
C:/opt/ice/gen/temp/flat/war/WEB-INF/classes
Setting project property: httpunit.jar ->
C:/opt/ice/lib/testlib/jakarta-cactus-13-1.6.1/httpunit-1.5.4.jar
Setting project property: out.common.dir -> C:/opt/ice/deploy/common-jar
Setting project property: ant.jar ->
c:\usr\local\lib\apache-ant-1.5.4/lib/ant.jar
Setting project property: buildlib.dir -> C:/opt/ice/lib/buildlib
Setting project property: bsf-2.3.0.jar ->
C:/opt/ice/lib/buildlib/bsf-2.3.0/lib/bsf.jar
Setting project property: iceweb.dir -> iceWEB
Setting project property: weblogic.createtables -> False
Setting project property: src.test.func.dir ->
C:/opt/ice/source/tests/functional
Setting project property: ear.name -> ICE-I2S-Application.ear
Setting project property: cactus.port -> 8081
Setting project property: temp.flat.ejb.dir -> C:/opt/ice/gen/temp/flat/ejb
Setting project property: ejb-2.0.jar -> C:/opt/ice/lib/buildlib/ejb-2.0.jar
Setting project property: lib.war.common.dir ->
C:/opt/ice/lib/deploylib/war/common
Setting project property: weblogic.validateDbSchemaWith -> TableQuery
Setting project property: gen_src.docs.pmd.dir -> C:/opt/ice/gen/docs/pmd
Setting project property: src.merge.dir -> C:/opt/ice/source/merge
Setting project property: src.conf.ear.inter.dir ->
C:/opt/ice/source/conf/ear/internet
Setting project property: war.svp.name -> svpWeb.war
Setting project property: gen_src.common.dir -> C:/opt/ice/gen/common-jar
Setting project property: year -> 2004
Setting project property: gen_src.servlets.dir -> C:/opt/ice/gen/servlets
Setting project property: bcel-5.1.jar ->
C:/opt/ice/lib/buildlib/bcel-5.1/bcel-5.1.jar
Setting project property: project.version -> 0.1.1
Setting project property: lib.ear.dir -> C:/opt/ice/lib/deploylib/ear
Setting project property: lib.common.dir ->
C:/opt/ice/lib/deploylib/common-jar
Setting project property: commons-httpclient.jar ->
C:/opt/ice/lib/testlib/jakarta-cactus-13-1.6.1/commons-httpclient-2.0.jar
Setting project property: war.svp.manifest ->
C:/opt/ice/source/conf/web/svp/META-INF/MANIFEST.MF
Setting project property: webxml.name -> web.xml
Setting project property: webxml.dir -> WEB-INF
Setting project property: manifest.name -> MANIFEST.MF
Setting project property: ejb.version -> 2.0
Setting project property: src.test.func.svp.dir ->
C:/opt/ice/source/tests/functional/svp
Setting project property: servletapi.jar ->
C:/opt/ice/lib/testlib/jakarta-cactus-13-1.6.1/servletapi-2.3.jar
Setting project property: junit.jar ->
C:/opt/ice/lib/testlib/junit3.8.1/junit.jar
Setting project property: src.web.svp.layouts.dir ->
C:/opt/ice/source/web/svp/layouts
Setting project property: out.docs.dir -> C:/opt/ice/deploy/docs
Setting project property: src.web.svp.resources.dir ->
C:/opt/ice/source/web/svp/resources
Setting project property: war.svp.webxml ->
C:/opt/ice/source/conf/web/svp/WEB-INF/web.xml
Setting project property: jar.common.manifest ->
C:/opt/ice/source/conf/common-jar/MANIFEST.MF
Setting project property: manifest.dir -> META-INF
Setting project property: gen_src.docs.dir -> C:/opt/ice/gen/docs
Setting project property: saxpath-1.0-fcs.jar ->
C:/opt/ice/lib/buildlib/pmd-1.3/lib/saxpath-1.0-fcs.jar
Setting project property: jdbc2_0-stdext.jar ->
C:/opt/ice/lib/buildlib/jdbc2_0-stdext.jar
Setting project property: gen_src.docs.junit.dir ->
C:/opt/ice/gen/docs/junit
Setting project property: dir.weblogic -> C:/opt/local/weblogic81/server/lib
Setting project property: servlet-2.3.jar ->
C:/opt/ice/lib/buildlib/servlet-2.3.jar
Setting project property: src.servlets.dir -> C:/opt/ice/source/servlets
Setting project property: nekohtml.jar ->
C:/opt/ice/lib/testlib/jakarta-cactus-13-1.6.1/nekohtml-0.7.4.jar
Setting project property: src.test.unit.svp.dir ->
C:/opt/ice/source/tests/unit/svp
Setting project property: src.test.unit.dir -> C:/opt/ice/source/tests/unit
Setting project property: gen_src.servlets.svp.dir ->
C:/opt/ice/gen/servlets/svp
Setting project property: src.conf.ear.intra.dir ->
C:/opt/ice/source/conf/ear/intranet
Setting project property: deprecation -> false
Setting project property: gen_src.conf.ejb.dir ->
C:/opt/ice/gen/conf/ejb-jar
Setting project property: temp.flat.war.dir -> C:/opt/ice/gen/temp/flat/war
Setting project property: i2s.internet.dir -> C:/opt/ice/i2sEAR/internet
Setting project property: web-inf.dir -> WEB-INF
Setting project property: jar.ejb.name -> iceEJB.jar
Setting project property: gen_src.servlets.common.dir ->
C:/opt/ice/gen/servlets/common
Setting project property: saxpath.jar ->
C:/opt/ice/lib/buildlib/pmd-1.3/lib/saxpath.jar
Setting project property: temp.flat.war.webinf.dir ->
C:/opt/ice/gen/temp/flat/war/WEB-INF
Setting project property: antlr.jar ->
C:/opt/ice/lib/buildlib/antlr-2.7.3/antlr.jar
Setting project property: ant-optional.jar ->
c:\usr\local\lib\apache-ant-1.5.4/lib/optional.jar
Setting project property: gen_src.dir -> C:/opt/ice/gen
Setting project property: i2s.intranet.dir -> C:/opt/ice/i2sEAR/intranet
Setting project property: gen_src.docs.nounit.dir ->
C:/opt/ice/gen/docs/nounit
Setting project property: src.dir -> C:/opt/ice/source
Setting project property: out.ejb.dir -> C:/opt/ice/deploy/ejb
Setting project property: gen_src.docs.checkstyle.dir ->
C:/opt/ice/gen/docs/checkstyle
Setting project property: lib.ejb.dir -> C:/opt/ice/lib/deploylib/ejb-jar
Setting project property: out.dir -> C:/opt/ice/deploy
Setting project property: ear.dir -> C:/opt/ice/deploy
Setting project property: gen_src.ejb.dir -> C:/opt/ice/gen/ejb-jar
Setting project property: weblogic.validateXml -> True
   +Task: property
Setting project property: project.name.file -> ice
   +Task: property
Override ignored for property project.version
   +Task: property
Setting project property: project.prefix -> ice-
   +Task: property
Override ignored for property debug
   +Task: property
Override ignored for property optimize
   +Task: property
Override ignored for property deprecation
   +Task: property
Override ignored for property cactus.port
   +Task: property
Setting project property: cactus.weblogic.startUpWait -> 2000
   +Task: property
Override ignored for property aspectjrt.jar
   +Task: property
Override ignored for property cactus.jar
   +Task: property
Setting project property: cactus.ant.jar ->
C:\opt\ice\lib\testlib\jakarta-cactus-13-1.6.1\cactus-ant-1.6.1.jar
   +Task: property
Setting project property: commons.httpclient.jar ->
C:\opt\ice\lib\testlib\jakarta-cactus-13-1.6.1\commons-httpclient-2.0.jar
   +Task: property
Setting project property: commons.logging.jar ->
C:\opt\ice\lib\testlib\jakarta-cactus-13-1.6.1\commons-logging-1.0.3.jar
   +Task: property
Override ignored for property httpunit.jar
   +Task: property
Override ignored for property junit.jar
   +Task: property
Setting project property: cactus.properties.path ->
C:\opt\ice\source\conf\web\svp\WEB-INF\cactus.properties
   +DataType: path
Adding reference: default.classpath ->
   +DataType: path
Adding reference: weblogic.classpath ->
   +DataType: path
Adding reference: compile.war.classpath ->
resolving systemId: file:C:/opt/ice/./build/build-generate.xml
 +Target: generate-all
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: antcall
   +Task: ant
 +Target: generate-ejbdoclet
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
resolving systemId: file:C:/opt/ice/./build/build-compile.xml
 +Target: compile-all
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: antcall
   +Task: ant
   +Task: antcall
   +Task: ant
   +Task: antcall
   +Task: ant
   +Task: antcall
   +Task: ant
 +Target: compile-common
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: javac
 +Target: jar-common
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: copy
   +Task: jar
 +Target: compile-ejb
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: javac
 +Target: jar-ejb
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: copy
   +Task: jar
 +Target: compile-funtional-test-svp
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: javac
 +Target: compile-war-svp
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: javac
 +Target: war-svp
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: copy
   +Task: copy
   +Task: copy
   +Task: copy
   +Task: copy
   +Task: copy
   +Task: copy
   +Task: war
   +Task: antcall
   +Task: ant
 +Target: ear-intranet
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: copy
   +Task: ear
resolving systemId: file:C:/opt/ice/./build/build-unittests.xml
   +Task: property
Override ignored for property gen_src.docs.dir
 +Target: unittest-all
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: antcall
   +Task: ant
   +Task: antcall
   +Task: ant
 +Target: build-unittests
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: javac
 +Target: run-unittest
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
resolving systemId: file:C:/opt/ice/./build/build-functionaltests.xml
 +Target: functionaltest-all
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
resolving systemId: file:C:/opt/ice/./build/build-deploy.xml
 +Target: deploy-all
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: antcall
   +Task: ant
   +Task: antcall
   +Task: ant
 +Target: deploy-to-i2s
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: copy
   +Task: copy
   +Task: copy
 +Target: start-wls
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
 +Target: deploy-to-wls
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: java
resolving systemId: file:C:/opt/ice/./build/build-qa.xml
   +Task: property
Override ignored for property gen_src.docs.dir
 +Target: qa-all
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: antcall
   +Task: ant
   +Task: antcall
   +Task: ant
   +Task: antcall
   +Task: ant
 +Target: jdepend
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: style
 +Target: pmd
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
 +Target: clover
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
 +Target: noUnitCheck
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: copy
 +Target: cleanimports
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
 +Target: jalopy
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
 +Target: checkstyle
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: echo
   +Task: style
   +Task: taskdef
fileset: Setup scanner in dir C:\usr\local\lib\apache-ant-1.5.4\lib with
patternSet{ includes: [*.jar] excludes: [] }
fileset: Setup scanner in dir C:\opt\ice\lib\buildlib with patternSet{
includes: [**/*.jar] excludes: [] }
fileset: Setup scanner in dir C:\opt\ice\lib\deploylib with patternSet{
includes: [**/*.jar] excludes: [] }
fileset: Setup scanner in dir C:\opt\ice\lib\testlib with patternSet{
includes: [**/*.jar] excludes: [] }
  [taskdef] Loading definitions from resource cactus.tasks
ResourceStream for cactus.tasks loaded from parent loader
Class org.apache.cactus.integration.ant.CactifyWarTask loaded from parent
loader

BUILD FAILED
file:C:/opt/ice/build.xml:154: taskdef class
org.apache.cactus.integration.ant.CactifyWarTask cannot be found
        at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)
        at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
        at
org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.finished(ProjectHe
lperImpl.java:821)
        at
org.apache.tools.ant.helper.ProjectHelperImpl$AbstractHandler.endElement(Pro
jectHelperImpl.java:300)
        at
org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java:353)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1720)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
        at
org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl.java:1
55)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117)
        at org.apache.tools.ant.Main.runBuild(Main.java:596)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/Log
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
        at java.lang.Class.getDeclaredConstructors(Class.java:1169)
        at
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.java:479)
        at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
        ... 16 more
--- Nested Exception ---
java.lang.NoClassDefFoundError: org/apache/commons/logging/Log
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
        at java.lang.Class.getDeclaredConstructors(Class.java:1169)
        at
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.java:479)
        at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
        at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
        at
org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.finished(ProjectHe
lperImpl.java:821)
        at
org.apache.tools.ant.helper.ProjectHelperImpl$AbstractHandler.endElement(Pro
jectHelperImpl.java:300)
        at
org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java:353)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1720)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
        at
org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl.java:1
55)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117)
        at org.apache.tools.ant.Main.runBuild(Main.java:596)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 4 seconds
C:\opt\ice>





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message