Hi Ludovic,
Sorry about going ahead with refactoring instead of test cases but i thought
it would be easier to write tests once the code is refactored. I've
completed most of the refactoring but it will take about 2 more days to
finish it off.
Please have a look at the new code base if you have a time [ i know you are
busy :) ] and let me know what you think.
I hope following deadlines (swapped refactoring and test case writing) are
ok with you,
21st - Finish Refactoring
28th - Finish Test Case Writing
... Rest is same
Thanks a lot.
- Asiri
Hi devs,
Above jar file automatically downloaded from maven seems to be corrupt,
<dump>
[INFO] snapshot com.xpn.xwiki.platform:xwiki-core:1.5-SNAPSHOT: checking for
updates from xwiki-externals
[INFO] snapshot com.xpn.xwiki.platform:xwiki-core:1.5-SNAPSHOT: checking for
updates from xwiki-snapshots
Downloading:
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core/1.5-SNAP…
24K downloaded
Downloading:
http://maven.xwiki.org/externals/groovy/groovy-all-1.0-jsr/06/groovy-all-1.…
Downloading:
http://maven.xwiki.org/releases/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0…
Downloading:
http://repo1.maven.org/maven2/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0-j…
Downloading:
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core/1.5-SNAP…
1716K downloaded
[INFO] [compiler:compile]
[INFO] Compiling 21 source files to
/home/asiri/projects/xwiki-dev/sandbox/xwiki-webdav/target/classes
[ERROR]
Mojo:
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
FAILED for project:
xwiki-extensions:xwiki-webdav:war:0.0.1-SNAPSHOT
Reason:
Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_11). Please file a bug at
the Java Developer Connection (http://java.sun.com/webapps/bugreport) after
checking the Bug Parade for duplicates. Include your program and the
following diagnostic in your report. Thank you.
java.lang.InternalError: jzentry == 0,
jzfile = -1331434808,
total = 822,
name =
/home/asiri/.m2/repository/com/xpn/xwiki/platform/xwiki-core/1.5-SNAPSHOT/xwiki-core-1.5-SNAPSHOT.jar,
i = 349,
message = invalid LOC header (bad signature)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:429)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:415)
at
com.sun.tools.javac.jvm.ClassReader.openArchive(ClassReader.java:1447)
at com.sun.tools.javac.jvm.ClassReader.list(ClassReader.java:1742)
at
com.sun.tools.javac.jvm.ClassReader.listAll(ClassReader.java:1882)
at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1903)
at
com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1538)
at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:256)
at com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:382)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:221)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:235)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:448)
at com.sun.tools.javac.comp.Enter.main(Enter.java:433)
at
com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:404)
at com.sun.tools.javac.main.Main.compile(Main.java:592)
at com.sun.tools.javac.main.Main.compile(Main.java:544)
at com.sun.tools.javac.Main.compile(Main.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:420)
at
org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:141)
at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:493)
at
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:573)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:501)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentsForProject(DefaultLifecycleExecutor.java:265)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
at
org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
at
org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:895)
at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
at
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 47 seconds
[INFO] Finished at: Fri Jul 18 05:48:27 LKT 2008
[INFO] Final Memory: 3M/26M
[INFO]
------------------------------------------------------------------------
</dump>
I tried to update to 1.6-SNAPSHOT but got a different error. I kind of want
to stick with the 1.5 core for the moment, can someone fix this soon ?
Thanks.
- Asiri
Hello XWiki developers,
does anyone have some hacks to get a slightly similar results as
XEclipse into IntelliJ.
One particular aspect I'd wish is a simple upload (e.g. over ant).
paul
Hi ,
I am new to xwiki so i installed the Standalone installation to learn more
on xwiki, but when i follow the instructions give for standalone
installation and enter the URL
"http://localhost:8080/xwiki/bin/view/Main/WebHome" in my browser to open
the xwiki page, it says the page cannot be displayed. I have run the
start_xwiki.bat file to start the xwiki. But i am getting few warnings and
exception and i think that may be the reason.
Warning: Schema Validation may not be supported
Exception : InvocationTargetException
Can anyone please help out here.
--
View this message in context: http://n2.nabble.com/Standalone-installation-tp529605p529605.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
I am a newbie to XWiki. I am trying to integrate XWiki with a our own
Security database over JAAS. The goal is to manage the workspaces based on
the credentials and groups that exist in our security store. I see XWiki
supports LDAP but no mention of JAAS. Can you point me to where in the
source code I should make the modifications to make it use my security
provider? Any examples would greatly help.
Thanks in advance.
NS