please help me with xwiki source build

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

please help me with xwiki source build

Shaikh Quader-2

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 [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: please help me with xwiki source build

Ludovic Dubost

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 [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?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 [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: please help me with xwiki source build

Shaikh Quader-2

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/[hidden email]/msg05632.html

Thanks to them as well.

Regards,
Shaikh





Ludovic Dubost <[hidden email]>

05/29/2006 05:55 PM

Please respond to
[hidden email]

To
[hidden email]
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 [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?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 [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws