ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: [POLL] JUnit Users
Date Thu, 12 Jul 2001 09:29:29 GMT
mm...I don't know where this one is coming from, I know 2 problems:

- if you use xalan 1.2.2, you must type your param as:
expression="'${basedir}/reports/html'" and you need bsf.jar in your
classpath.

- if you use xalan 2.x (via trax) you must type your param as:
expression="${basedir}/reports/html" and you don't need bsf.jar, ie:

<style processor="trax" in="./reports/xml/TESTS-TestSuites.xml"
 out="./reports/html/dummy.file" style="./junit-frames.xsl">
   <param name="output.dir" expression="${basedir}/reports/html"/>
</style>

-- 
 St├ęphane Bailliez 
 Software Engineer, Paris - France 
 iMediation - http://www.imediation.com 
 Disclaimer: All the opinions expressed above are mine and not those from my
company. 



> -----Original Message-----
> From: Ingmar Stein [mailto:stein@xtramind.com]
> Sent: Thursday, July 12, 2001 10:30 AM
> To: ant-user@jakarta.apache.org
> Subject: Re: [POLL] JUnit Users
> 
> 
> > OK, if you want to use style task it is something like:
> 
> > <style processor="xalan" in="./reports/xml/TESTS-TestSuites.xml"
> > out="./reports/html/dummy.file" style="./junit-frames.xsl">
> >   <param name="output.dir" expression="'${basedir}/reports/html'"/>
> > </style>
> 
> Yeah, this is what I tried, too. But this gives me a lot of 
> warning like the
> following:
> 
> Call to extension function failed: method call/new failed:
> java.lang.reflect.Invoc
> ationTargetException target exception: java.io.FileNotFoundException:
> /index.html
> (Permission denied)
> 
> Ingmar
> 

Mime
View raw message