The Ant deploy task under Windows seems to have a bug.  In the Ant
deploy scenario below, though the manager deploy task reports "OK" and
the manager successfully deploys the WAR file, the Ant build fails and
returns a MalformedURLException.  Any comments before I post a bug
report to Apache Bugzilla?
 
Ant output:
---
U:\Derek\Project\BondTrader\BondOrderManager>ant deploy
Buildfile: build.xml
prepare:
compile:
deploy:
[deploy] FAIL - Encountered exception java.net.MalformedURLException:
unknown
protocol: c
[deploy] OK - Deployed application at context path /bond
 
BUILD FAILED
file:U:/Derek/Project/BondTrader/BondOrderManager/build.xml:380
<file:///U:/Derek/Project/BondTrader/BondOrderManager/build.xml:380> :
FAIL - Encountered exception java.net.MalformedURLException: unknown
protocol: c
Total time: 1 second
 
 
Software configuration:
Microsoft Windows XP [Version 5.1.2600]
Java 2 SDK 1.4.2
Apache Ant version 1.5.2 compiled on May 30 2003
Tomcat 5.0.6 Alpha
 
<!-- build.xml -->
<taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask"/>
<deploy url="${manager.url}"
username="${manager.username}"
password="${manager.password}"
path="${app.path}"
war="file:/C:/bond.war"/>
 
The WAR file bond.war is in C:\bond.war.
 
Derek
 
--------------------------------------------------------
Derek Mahar
Software Developer
Penson Financial Services
360, St-Jacques St West, 12th Floor
Montreal QC  H2Y 1P5
514.841.9665 x212 Phone
514.841.9700 Fax
--------------------------------------------------------
 

Reply via email to