ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Wagner" <fwag...@ilog.fr>
Subject [PATCH] <junitreport> using XSLT with <xsl:import>
Date Tue, 29 Oct 2002 14:16:49 GMT
With version 1.5.1 the junitreport task does not find imported XSLT scripts.
I am on a Windows XP box.

The reason seems to be the way AggregateTranformer.getStylesheetSystemId()
calulates the system id.
After replacing
 url = new URL("file", "", file.getAbsolutePath());
by
 url = new URL("file", "/", file.getAbsolutePath());
it works (in my environment).

The patch for
src/main/org/apache/tools/ant/taskdefs/optional/junit/AggregateTransformer.j
ava is attached.

Tschau,
Frank Wagner

---
ILOG R&D JConfigurator
mailto:fwagner@ilog.fr

Mime
View raw message