ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Problems with loading from ant.
Date Fri, 10 Aug 2007 10:05:43 GMT
Srikrishna_Parthasarathy@timeinc.com wrote:
> 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.

the catalina tasks come from the tomcat team. Have you tried on the 
tomcat mailing list?

The way I deploy stuff to a running app server is to use <copy>. All 
main servers support deploy-by-copy; just <copy> the war into the right 
directory. works every time.
> 
> srikrishna
> 
> -----Original Message-----
> From: Srikrishna_Parthasarathy@timeinc.com
> [mailto:Srikrishna_Parthasarathy@timeinc.com] 
> Sent: Thursday, August 09, 2007 12:49 PM
> To: user@ant.apache.org
> 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@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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


Mime
View raw message