Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Problems with loading from ant.

Problems with loading from ant.

2007-08-09       - By Srikrishna_Parthasarathy@(protected)
Reply:     1     2     3     4     5  

We are using Ant 1.7 and BEA's jdk version . I am getting the following
when I run a particular target . Any pointers  on why this is happening
...or any quick workaround ?



Eagerly looking  forward for responses.



C:\projects\springapp>ant -verbose install

Apache Ant version 1.7.0 compiled on December 13 2006

Buildfile: build.xml

Detected Java version: 1.5 in: C:\bea92\jdk150_10\jre

Detected OS: Windows XP

parsing buildfile C:\projects\springapp\build.xml with URI =
file:/C:/projects/s

pringapp/build.xml

Project base dir set to: C:\projects\springapp

[antlib:org.apache.tools.ant] Could not load definitions from resource
org/apach

e/tools/ant/antlib.xml. It could not be found.

[property] Loading C:\projects\springapp\build.properties

Build sequence for target(s) `install' is [install]

Complete build sequence is [install, reload, start, build, deploy, list,
usage,

stop, deploywar, ]



install:



BUILD FAILED

C:\projects\springapp\build.xml:109: java.io.IOException: Server
returned HTTP r

esponse code: 401 for URL:
http://it-parthass-820:8001/manager/install?path=%2Fs

pringapp&war=springapp

       at
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalina


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.