ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Stör <mar...@frightanic.com>
Subject Have junitreport load styles from JAR
Date Sat, 19 Apr 2014 21:47:48 GMT
Looking at the source of 
org.apache.tools.ant.taskdefs.optional.junit.AggregateTransformer#getStylesheet 
I see no way I could pack my style sheets into a JAR file and reference 
them in the junitreport.report.styledir parameter.

Is that assumption correct?

I'd need something like this:
<junitreport todir="...">
   <report styledir="jar://c:/my.jar/foo" format="noframes" todir="..."/>
   <fileset dir="....">
     <include name="**/*.xml" />
   </fileset>
</junitreport>

Context: I use the junitreport task in a Maven build (similar to 
http://stackoverflow.com/a/2847475/131929).

-- 
Marcel Stör, http://frightanic.com
Couchsurfing: http://www.couchsurfing.com/people/marcelstoer
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message