tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Mahar" <D.Ma...@penson.ca>
Subject Ant deploy task bug
Date Wed, 06 Aug 2003 16:22:07 GMT
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
--------------------------------------------------------
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message