Have junitreport load styles from JAR

2014-04-19 Thread Marcel Stör
this: 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.asciiri

RE: Load tokens from a file into list

2007-02-13 Thread Marcel Stör
[EMAIL PROTECTED] wrote: > Mmmh just a quick shot > > Have you tried a combination of copy, filterchain and linetokenizers? > Maybe you have luck there ... No, I haven't. Didn't even think of it. I have a feeling that this will be awefully complex...

Load tokens from a file into list

2007-02-13 Thread Marcel Stör
ties files Are there easier ways to achieve this? How would I parse my source file in the first place to obtain a list of all tokens (to feed to the foreach task)? -- Marcel Stör, http://www.frightanic.com Blog: http://frightanic.wordpress.com Sk

[JUnit] fork mode other than "yes" ignores classpath

2005-09-02 Thread Marcel Stör
Hi all, In my Ant script (see below) I define my own classpath via a element. Within the target I refer to it via . However, JUnit seems to ignore this classpath completely and uses ${java.class.path} only, unless I use http://www.frightanic.com

RE: [Junit] How to handle TestSuites correctly

2005-08-30 Thread Marcel Stör
Keith Hatton wrote: > forkmode="once" will take care of that if you are using Ant 1.6.2+. > Also, http://gsbase.sourceforge.net/ has a set of Junit extensions > such as an OrderedTestSuite that might help you. (Of course, the > purist approach says your unit tests should be independent of one > ano

Re: [Junit] How to handle TestSuites correctly

2005-08-30 Thread Marcel Stör
Joe Schmetzer wrote: > On Tue, 2005-08-30 at 13:40 +0200, Marcel Stör wrote: >> Hi all, >> >> We're having major difficulties using the junit/junitreport targets >> with JUnit TestSuites. >> >> Usually, the junit target produces an XML file for each tes

[Junit] How to handle TestSuites correctly

2005-08-30 Thread Marcel Stör
suite() { final TestSuite allTests = new TestSuite("All Tests"); allTests.addTestSuite(myFirstTest.class); allTests.addTestSuite(mySecondTest.class); ... return allTests; } -- Marcel Stör http://www

RE: "Return values" with Ant?

2004-10-28 Thread Marcel Stör
Kris Read wrote: > Use the tasks in the antcontrib project. They have an antcall task > that returns a property or set of properties. > > Another way is to structure your file with the 'depends' attribute. X > does not execute unless Y executed. Ok, fine. Let's assume

"Return values" with Ant?

2004-10-27 Thread Marcel Stör
Hi Scenario: Target X in file build.xml Target Y in file doit.xml In X Y is called through the subant task. How can I let X know about Y's results? Y executes - among other things - JUnit tests with: Unit tests failed I'd like to know in X that JUnit testing failed. How to achieve that? Re

Re: [Ant-Contrib]PropertyRegex task

2004-10-20 Thread Marcel Stör
[EMAIL PROTECTED] wrote: > not tried: I did. Works fine. Thanks a lot. > match: (.*)\.(.*)\.(.*)\.(.*) > select: \1 my > \2 property > \3 56238912 > \4 1285 > but without check for digits or length. Marcel - To unsubscribe, e-m

[Ant-Contrib]PropertyRegex task

2004-10-20 Thread Marcel Stör
Hi all, I'm struggleing with the PropertyRegex task... >From a property that looks like anyChar.anyChar.8figures.4figures such as my.property.56238912.1285 I'd like to extract the 8 figures. What would the regexp and select attributes be? Thanks for your help. Marcel ---