please help me with xwiki source build
I obtained the full xwiki source from svn repo: svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki/trunk and also, got ANT configured in my machine. while building the source with "ant release" command, I get the following error. Can someone please help me fixing that? ... thnx. xwiki: [javac] Compiling 422 source files to D:\wiki\xwiki\build\classes [javac] D:\wiki\xwiki\src\main\java\com\xpn\xwiki\XWiki.java:86: cannot access org.exoplatform.container.RootContainer [javac] bad class file: D:\wiki\xwiki\lib\exo-platform.container-2.0.jar(org/exoplatform/container/RootContainer.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import org.exoplatform.container.RootContainer; [javac] ^ [javac] 1 error BUILD FAILED D:\wiki\xwiki\build.xml:236: Compile failed; see the compiler error output for details. Thanks, SQ
Hi, The build requires Java 1.5, because of the eXoPlatform jars. We are aware of this dependency and will be looking at ways to reduce it Ludovic Shaikh Quader a écrit :
I obtained the full xwiki source from svn repo: svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki/trunk and also, got ANT configured in my machine.
while building the source with "ant release" command, I get the following error. Can someone please help me fixing that? ... thnx.
xwiki: [javac] Compiling 422 source files to D:\wiki\xwiki\build\classes [javac] D:\wiki\xwiki\src\main\java\com\xpn\xwiki\XWiki.java:86: cannot access org.exoplatform.container.RootContainer [javac] bad class file: D:\wiki\xwiki\lib\exo-platform.container-2.0.jar(org/exoplatform/container/RootContainer.class)
[javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import org.exoplatform.container.RootContainer; [javac] ^ [javac] 1 error
BUILD FAILED D:\wiki\xwiki\build.xml:236: Compile failed; see the compiler error output for details.
Thanks, SQ ------------------------------------------------------------------------
-- You receive this message as a subscriber of the xwiki-dev@objectweb.org mailing list. To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
Thanks Ludovic! Your tips did help to resolve that problem. Then, I faced the following warning for the Ant taskdef "cactus.tasks": "taskdef A class needed by class org.apache.cactus.integration.ant.CactusTask cannot be found junit.framework.TestListener" This warning was causing a build failure. This warning is still showing up ... but the following information by Chris Huisman and Vincent Massol helped me to find a workaround of it. http://www.mail-archive.com/cactus-user@jakarta.apache.org/msg05632.html Thanks to them as well. Regards, Shaikh Ludovic Dubost <ludovic@xwiki.com> 05/29/2006 05:55 PM Please respond to xwiki-dev@objectweb.org To xwiki-dev@objectweb.org cc Subject Re: [xwiki-dev] please help me with xwiki source build Hi, The build requires Java 1.5, because of the eXoPlatform jars. We are aware of this dependency and will be looking at ways to reduce it Ludovic Shaikh Quader a écrit :
I obtained the full xwiki source from svn repo: svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki/trunk and also, got ANT configured in my machine.
while building the source with "ant release" command, I get the following error. Can someone please help me fixing that? ... thnx.
xwiki: [javac] Compiling 422 source files to D:\wiki\xwiki\build\classes [javac] D:\wiki\xwiki\src\main\java\com\xpn\xwiki\XWiki.java:86: cannot access org.exoplatform.container.RootContainer [javac] bad class file:
D:\wiki\xwiki\lib\exo-platform.container-2.0.jar(org/exoplatform/container/RootContainer.class)
[javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import org.exoplatform.container.RootContainer; [javac] ^ [javac] 1 error
BUILD FAILED D:\wiki\xwiki\build.xml:236: Compile failed; see the compiler error output for details.
Thanks, SQ ------------------------------------------------------------------------
-- You receive this message as a subscriber of the xwiki-dev@objectweb.org
mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic -- You receive this message as a subscriber of the xwiki-dev@objectweb.org mailing list. To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
participants (2)
-
Ludovic Dubost -
Shaikh Quader