Hello Marcel, you are unfortunately right, there is no way you can use directly stylesheets from a jar file.
What you can do is have ant extract the stylesheets from the jar file for you and use them afterwards. Not particularly elegant but will work. Regards, Antoine On Apr 19, 2014, at 5:47 PM, Marcel Stör <mar...@frightanic.com> wrote: > 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-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org