Hi,
I've just moved src/perl to src/main/perl and in doing so I've modified the
build.xml file. I've noticed that the part of the build using the perl
scripts is commented out.
Thus my question: Are the scripts in src/main/perl used? If not, can we
delete them? (it'll always be possible to resurrect them if we want to as
they're in the SCM).
Thanks
Vincent
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com
Hi,
Just wondering whether I have broken anything. When running "ant test", all
the unit tests fail for me.
[...]
test.client:
[mkdir] Created dir: C:\dev\xwiki\trunk\test\reports
[junit] Running com.xpn.xwiki.atom.WSSEHeaderTest
[junit] Tests run: 9, Failures: 0, Errors: 9, Time elapsed: 0,511 sec
[junit] Test com.xpn.xwiki.atom.WSSEHeaderTest FAILED
[junit] Running com.xpn.xwiki.atom.XWikiHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0,822 sec
[junit] Test com.xpn.xwiki.atom.XWikiHelperTest FAILED
[junit] Running com.xpn.xwiki.test.ClassesTest
[...]
Here's the report for WSSEHeaderTest:
<testcase classname="com.xpn.xwiki.atom.WSSEHeaderTest"
name="testParseUserName" time="0.04">
<error message="com/cortexeb/tools/clover/aq"
type="java.lang.NoClassDefFoundError">java.lang.NoClassDefFoundError:
com/cortexeb/tools/clover/aq
at
[...]
<testcase classname="com.xpn.xwiki.atom.WSSEHeaderTest"
name="testParsePasswordDigest" time="0.0">
<error
type="java.lang.NoClassDefFoundError">java.lang.NoClassDefFoundError
at
com.xpn.xwiki.atom.WSSEHeaderTest.testParsePasswordDigest(WSSEHeaderTest.jav
a:24)
[...]
Is this only happening to me?
Thanks
-Vincent
Hi,
I'd suggest to have a build property that specified which database to use
and to default it to Hypersonic SQL.
Hypersonic SQL is nice because:
1/ It's small: a single JAR
2/ It doesn't need to be started
3/ It's fast (in-memory mode)
So it's perfect for testing.
We still need the ability to switch to MySQL using a build property though
but at least anyone building the XWiki project will succeed...
WDYT?
-Vincent
Hi,
My build does not fail upon error:
C:\dev\xwiki\trunk>ant test
[...]
test.client:
[junit] Running com.xpn.xwiki.atom.WSSEHeaderTest
[junit] Tests run: 9, Failures: 0, Errors: 9, Time elapsed: 0,38 sec
[junit] Test com.xpn.xwiki.atom.WSSEHeaderTest FAILED
[junit] Running com.xpn.xwiki.atom.XWikiHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,072 sec
[junit] Test com.xpn.xwiki.atom.XWikiHelperTest FAILED
[junit] Running com.xpn.xwiki.test.ClassesTest
[...]
release:
[war] Building war: C:\dev\xwiki\trunk\release\xwiki-0.9.11.war
[copy] Copying 1 file to C:\dev\xwiki\trunk\build\web\WEB-INF
[copy] Copying 1 file to C:\dev\xwiki\trunk\build\web\WEB-INF
[war] Building war: C:\dev\xwiki\trunk\release\xwiki-exo-0.9.11.war
[copy] Copying 1 file to C:\dev\xwiki\trunk\build\web\WEB-INF
test.server.prepare:
[cactifywar] Analyzing war: C:\dev\xwiki\trunk\release\xwiki-0.9.11.war
[cactifywar] Building war: C:\dev\xwiki\trunk\release\xwiki.war
test.server:
[delete] Deleting: C:\dev\xwiki\trunk\release\xwiki.war
test:
BUILD SUCCESSFUL
Total time: 3 minutes 28 seconds
C:\dev\xwiki\trunk>
The build should definitely fail in case of test errors.
Thanks
-Vincent
_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com
Every time, I build the project, the generated WAR version is increased...
I'm now at xwiki-0.9.11.war!!
I think there's something wrong with the build.
I've also noticed something wrong which may be related: The build generates
a version.properties file in the src/ tree. This is wrong: all generated
files should go in target/ and not in the src tree. In addition this file is
no in the ignore file which means that someone may have added it to the SCM
and I may have committed changes to it in my directory refactorings.
Thanks
-Vincent