Thanks Vincent for your prompt reply. That really helped. I have one more question. I want to debug the code so that I understand the flow and can modify it.

How do I proceed?

 

Thanks again.

Gyanesh

 

 


From: Vincent Massol [mailto:vincent@massol.net]
Sent: Monday, November 06, 2006 12:34 PM
To: xwiki-dev@objectweb.org
Subject: RE: [xwiki-dev] help needed in building xwiki source

 

Hi Gyanesh,

 

It’s probably a problem with the tests. If you simply want to create the xwiki jar and wars, simply run “ant”.  I’m not here too so I don’t know how to fix the test issue you have…. In any case the tests require some environmental setup before they work AFAIK/

 

Thanks

-Vincent

 

From: gchoudha [mailto:gchoudha@csnet.cs.odu.edu]
Sent: lundi 6 novembre 2006 18:28
To: xwiki-dev@objectweb.org
Subject: [xwiki-dev] help needed in building xwiki source

 

Hi Everyone,

 

I am new to this group and was trying to build the source.

When I try to build all, I run into trouble.   It says: out of heap space.

To resolve this, I increased the memory allocation. My build continued for

more than half an hour and was not over. I suspect its entering into an infinite loop.

I had to terminate it at the end.  Can any one guide me to build and deploy it successfully?

Is there any document that describes the steps?  Thanks in advance

 

Regards,

Gyanesh

 

 

Output:

 

C:\xwiki>ant all

Buildfile: build.xml

 

prepare:

[propertyfile] Updating property file: C:\xwiki\src\main\web\WEB-INF\version.pro

perties

 

clover-yes:

 

clover-no:

 

xwiki.nonjava:

     [copy] Copying 1 file to C:\xwiki\build\web

 

xwiki:

 

release:

      [war] Building war: C:\xwiki\release\xwiki-0.9.875.war

     [copy] Copying 1 file to C:\xwiki\build\web\WEB-INF

     [copy] Copying 1 file to C:\xwiki\build\web\WEB-INF

      [war] Building war: C:\xwiki\release\xwiki-exo-0.9.875.war

     [copy] Copying 1 file to C:\xwiki\build\web\WEB-INF

 

junit-check:

 

tests:

     [copy] Copying 1 file to C:\xwiki\build\test

 

test.client:

    [junit] Running com.xpn.xwiki.atom.WSSEHeaderTest

    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.344 sec

    [junit] Running com.xpn.xwiki.atom.XWikiHelperTest

    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.078 sec

    [junit] Running com.xpn.xwiki.test.ClassesTest

    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.61 sec

    [junit] Running com.xpn.xwiki.test.DocumentInfoTest

    [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 155.848 sec

    [junit] Test com.xpn.xwiki.test.DocumentInfoTest FAILED

    [junit] Running com.xpn.xwiki.test.GroovyRenderTest

    [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 206.662 sec

    [junit] Test com.xpn.xwiki.test.GroovyRenderTest FAILED

    [junit] Running com.xpn.xwiki.test.HibernateClassesTest

    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 53.314 sec

    [junit] Test com.xpn.xwiki.test.HibernateClassesTest FAILED

    [junit] Running com.xpn.xwiki.test.LDAPTest

    [junit] Tests run: 9, Failures: 0, Errors: 9, Time elapsed: 462.012 sec

    [junit] Test com.xpn.xwiki.test.LDAPTest FAILED

    [junit] Running com.xpn.xwiki.test.MonitorTest

    [junit] Tests run: 7, Failures: 0, Errors: 7, Time elapsed: 360.056 sec

    [junit] Test com.xpn.xwiki.test.MonitorTest FAILED

    [junit] Running com.xpn.xwiki.test.ObjectTest

    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.563 sec

    [junit] Running com.xpn.xwiki.test.PDFExportTest

    [junit] Tests run: 6, Failures: 0, Errors: 6, Time elapsed: 308.789 sec

    [junit] Test com.xpn.xwiki.test.PDFExportTest FAILED

    [junit] Running com.xpn.xwiki.test.PackageTest

    [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 155.223 sec

    [junit] Test com.xpn.xwiki.test.PackageTest FAILED

    [junit] Running com.xpn.xwiki.test.PluginTest

    [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 206.771 sec

    [junit] Test com.xpn.xwiki.test.PluginTest FAILED

    [junit] Running com.xpn.xwiki.test.RadeoxRenderTest

    [junit] Tests run: 10, Failures: 0, Errors: 10, Time elapsed: 513.138 sec

    [junit] Test com.xpn.xwiki.test.RadeoxRenderTest FAILED

    [junit] Running com.xpn.xwiki.test.SearchTest

    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 104.628 sec

    [junit] Test com.xpn.xwiki.test.SearchTest FAILED

    [junit] Running com.xpn.xwiki.test.StatsTest

    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 104.721 sec

    [junit] Test com.xpn.xwiki.test.StatsTest FAILED

    [junit] Running com.xpn.xwiki.test.StoreHibernateCacheTest

    [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 155.535 sec

    [junit] Test com.xpn.xwiki.test.StoreHibernateCacheTest FAILED

    [junit] Running com.xpn.xwiki.test.StoreHibernateTest

    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 53.845 sec

    [junit] Test com.xpn.xwiki.test.StoreHibernateTest FAILED

    [junit] Running com.xpn.xwiki.test.StoreObjectHibernateTest

Terminate batch job (Y/N)? y