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
Hi,
I have a few questions:
1/ I made a mistake of posting as XWikiguest and I'd like to modify a blog
post author. How can I do that?
2/ I'd like to change the date of a blog post. How can I do that?
3/ I've entered a blog post title of "Maven Dashboard plugin v1.8 released"
and it got put in the following topic:
http://mavenbook.xwiki.com/xwiki/bin/view/Main.DashboardPluginV1/8Released
Is that normal? (notice the slash in V1/8). Thus the page name is
8Released...
Thanks
-Vincent
Hi - I managed to get HTMLArea setup on my Xwiki. However, when I attempt to add to modify a link
while editing in WYSIWYG, neither button - OK or Cancel - works. Nothing happens when I press on
either. Any ideas why this might be happening? Thanks...
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
The code freeze is *really* over. I've released XWiki 0.9.793.
It's available on xwiki.org and objectweb:
http://www.xwiki.org/xwiki/bin/view/Main/XWikiDownload
This version fixes an issue with non ASCII characters in wiki names in
Internet Explorer that we didn't catch while testing since we all use
Mozilla Firefox :)
It also fixes the long standing bug of the edit help toolbar not showing
with Internet Explorer.
We also have a JIRA installation for XWiki, for which Atlassian has
granted us kindly an open-source licence, although we are creating a Wiki !
It's (or should soon if the DNS is up) up at http://jira.xwiki.org. We
are still working out the configuration and plan to move the bugzilla
tasks to it and start using it very seriously.
To finish, I can't resist sending out a screenshot of the new graphviz
integration (for which Atlassian showed us the way:
http://tinyurl.com/ay25m), especially since it is usefull as it shows
some stuff about the XWiki Architecture:
http://www.xwiki.org/xwiki/bin/view/Dev/Architecture
Ludovic
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Hi everyone,
I've started working on a Maven2 build for XWiki.
I have some questions/remarks about some files stored in SVN:
1/ trunk/changelog.xml
Shouldn't this file be removed? What is it used for?
2/ trunk/build.properties
I think this file shouldn't be checked in because it's valid for a user to
define a build.properties file in the project's root. If he does this now,
this file will be marked as modified. It needs to be added to SVN ignore
list. The solution is to rename this file in build.properties.sample
3/ trunk/test and source and test directories in general
What's the difference with src/test or src/test-cactus? It seems test/ holds
test resource files. As a first step, I'm proposing to move the directories
as follows:
src/main
|_ java
|_ resources
|_ perl
|_ web
src/test
|_ java
|_ cactus
|_ resources (this would be the current top level test/ dir)
This is required to be able to write a proper Maven/Maven2 build.
4/ What are src/web.xml and src/web-exo.xml. Why are they not under
src/web/WEB-INF?
That's enough for a first pass. The most important thing is point 3 above.
Let me know what you think and what you're ok for me to do.
Thanks
-Vincent
Hi all,
I just downloaded last version from objectweb, and when I tried to
deploy xwiki as an exo portlet I found there is an error when parsing
web-exo.xml.
To fix it, I've just located all <filter-mapping> elements after all
<filter> elements.
Danielo