Hi,

I revisited this again, put some system.out's in the org.apache.maven.it.Verifier source and skimmed thru SVN logs.

After the last commit to "org.apache.maven.it.Verifier", the resolveCommandLineArg( String key ) call from executeHook(String filename) method blows up with a StringIndexOutOfBoundsException while attempting regexp replace (stack below). Commenting out that call (basically reverting to the last SVN revision) gets a successful build (not sure if its right, though)!

Attached is a quick test to simulate the issue. I have tried swapping the JDKs 1.5.0 and 1.6.0 - same result. I made some minor changes to the code while testing this out so the stacktrace below might not reflect actual line numbers, but you'll get the idea :-)

Cheers,
Rahul

Error Stacktrace:
org.apache.maven.it.VerificationException: java.lang.StringIndexOutOfBoundsException: String index out of range: 1
       at org.apache.maven.it.Verifier.executeHook(Verifier.java:367)
       at org.apache.maven.it.Verifier.main(Verifier.java:863)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 1
       at java.lang.String.charAt(String.java:566)
       at java.util.regex.Matcher.appendReplacement(Matcher.java:696)
       at java.util.regex.Matcher.replaceAll(Matcher.java:806)
       at java.lang.String.replaceAll(String.java:2028)
at org.apache.maven.it.Verifier.resolveCommandLineArg(Verifier.java:699)
       at org.apache.maven.it.Verifier.executeHook(Verifier.java:356)
       ... 1 more
<<<<<< Error Stacktrace




----- Original Message ----- From: "Jason van Zyl" <[EMAIL PROTECTED]>
To: "Maven Developers List" <dev@maven.apache.org>
Sent: Saturday, April 01, 2006 2:09 PM
Subject: Re: [m2 trunk] build test failures


Rahul Thakur wrote:
Hey everyone,

I am noticing quite a few IT test failures on the latest SVN snapshot from trunk, wondering if there are any refactorings/major changes taking place??

Here's the bunch that failed:

69/100 passed
Failed tests: [it0099, it0092, it0089, it0088, it0087, it0086, it0077, it0073, it0071, it0068, it0067, it0064, it0062, it0051, it0049, it0041, it0035, it0034, it0030, it0029, it0021, it0020, it0018, it0013, it0009, it0008, it0007, it0005, it0004, it0003, it0002]

I am on WinXP, JDK build 1.6.0-beta2-b76 and of course latest Maven 2.1-SNAPSHOT.

Is that Mustang you're using? If so have you tried a JVM used by most mortals? :-)

Any one else noticing?

Cheers,
Rahul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

People develop abstractions by generalizing from concrete examples.
Every attempt to determine the correct abstraction on paper without
actually developing a running system is doomed to failure. No one
is that smart. A framework is a resuable design, so you develop it by
looking at the things it is supposed to be a design of. The more examples
you look at, the more general your framework will be.

  -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to