You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Derek Mahar <D....@penson.ca> on 2003/08/06 18:22:07 UTC

Ant deploy task bug

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
--------------------------------------------------------
 

Re: Ant deploy task bug

Posted by Remy Maucherat <re...@apache.org>.
Derek Mahar wrote:
> 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?

There were a few small fixes needed in the non-HTML manager. I didn't 
test it, and as a result it didn't recieve all the needed updates, 
sorry. Use the HTML manager with Tomcat 5.0.6.

Remy



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Ant deploy task bug

Posted by Remy Maucherat <re...@apache.org>.
Derek Mahar wrote:
> 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?

There were a few small fixes needed in the non-HTML manager. I didn't 
test it, and as a result it didn't recieve all the needed updates, 
sorry. Use the HTML manager with Tomcat 5.0.6.

Remy