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  

Steve

If I use ant 1.6.5 then it works . I don't know why ? Will it be a bug
or something different has to be done.

srikrishna

-----Original Message-----
From: Srikrishna_Parthasarathy@(protected)
[mailto:Srikrishna_Parthasarathy@(protected)]
Sent: Thursday, August 09, 2007 12:49 PM
To: user@(protected)
Subject: RE: Problems with loading from ant.

Thanks for your response. Still it is not loading definitions..same
problem.I don't know.I don't get the I/o exception...as it had the bad
password.

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:
 [install] FAIL - Failed to deploy application at context path
/springapp

BUILD FAILED
C:\projects\springapp\build.xml:109: FAIL - Failed to deploy application
at cont
ext path /springapp
       at
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalina
Task.java:262)
       at
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalina
Task.java:146)
       at
org.apache.catalina.ant.InstallTask.execute(InstallTask.java:114)
       at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:105)
       at org.apache.tools.ant.Task.perform(Task.java:348)
       at org.apache.tools.ant.Target.execute(Target.java:357)
       at org.apache.tools.ant.Target.performTasks(Target.java:385)
       at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
       at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
       at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
       at
org.apache.tools.ant.Project.executeTargets(Project.java:1181)
       at org.apache.tools.ant.Main.runBuild(Main.java:698)
       at org.apache.tools.ant.Main.startAnt(Main.java:199)
       at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
       at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: FAIL - Failed to deploy application at context path
/springapp
       at
org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalina
Task.java:258)
       ... 19 more

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


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