On Mon, Jan 5, 2009 at 2:52 PM, smithmarkl <[email protected]> wrote:
> > > Pascal Voitot wrote: > > > > In fact, the error is on the ValidXML test... > > I've just reproduced the error while compiling under Windows XP... > > Apparently the split function function doesn't like the sourceDir > > String archivedFilePath = > > currentFile.getAbsolutePath().split(sourceDir.getAbsolutePath() + File.* > > separator*)[1];[info] > > > > Hi Pascal, > > That's correct. > > Digging into the surefire-reports directory, what I'm seeing is: > <failure message="The execution failed with the following error : Error > while creating XAR file" > > type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: > The execution failed with the following error : Error while creating XAR > file > at junit.framework.Assert.fail(Assert.java:47) > at > com.xpn.xwiki.tool.xar.XarMojoTest.testValidXml(XarMojoTest.java:138) > </failure> > > > <system-err>java.util.regex.PatternSyntaxException: Illegal hexadecimal > escape sequence near index 9 > > C:\temp\xwiki\tools\xwiki-xar-plugin\target\test-classes\validXml\target\classes\ > > "index 9" would mean it's upset about "\x". It almost feels like it's > unhappy about the backslashes (because they aren't escaped). > hmmmmmmmmmmmmm windows is our friend, isnt it ? :) Will try to find a way around this tomorrow as I would like to compile everything cleanly on windows also even if I usually work on Linux... > > > -- > View this message in context: > http://n2.nabble.com/Build-error-of-fresh-checkout-on-Windows-Vista-tp2111707p2112950.html > Sent from the XWiki- Dev mailing list archive at Nabble.com. > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

