Problem in building latest source code

2007-09-20 Thread pppsunil

Hi,

I am trying to build latest Struts 2.0 source code on machine but i am
getting this exception.

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.265 sec
Running org.apache.struts2.views.jsp.SortIteratorTagTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.875 sec
Running org.apache.struts2.views.jsp.URLTagTest
Tests run: 44, Failures: 2, Errors: 0, Skipped: 28, Time elapsed: 56.125 sec
<<<
 FAILURE!
Running
org.apache.struts2.interceptor.validation.JSONValidationInterceptorTest
Tests run: 6, Failures: 1, Errors: 0, Skipped: 5, Time elapsed: 12.328 sec
<<< F
AILURE!
Running org.apache.struts2.views.jsp.ui.CheckboxTest
org.apache.maven.surefire.booter.SurefireExecutionException: Java heap
space; ne
sted exception is java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] There are test failures.
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 3 minutes 4 seconds
[INFO] Finished at: Thu Sep 20 14:04:32 GMT-08:00 2007
[INFO] Final Memory: 9M/35M
[INFO]


Do i have to make changes in pom.xml or set any environment variable. I will
also appericate if someone can send me some information on how to setup
development environment.

Thanks
Sunil
-- 
View this message in context: 
http://www.nabble.com/Problem-in-building-latest-source-code-tf4490212.html#a12806027
Sent from the Struts - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem in building latest source code

2007-09-20 Thread pppsunil

I am facing this problem in building trunk code. I used
http://svn.apache.org/repos/asf/struts/struts2/trunk this path for
downloading sourcecode from SVN.

What all data should i post on the forum to help with clean up.

Sunil

Don Brown-2 wrote:
> 
> Are you building the 2.0 branch or trunk?  If our tests are leaking
> memory, I'd like to get that cleaned up.
> 
> Don
> 
> On 9/21/07, pppsunil <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I am trying to build latest Struts 2.0 source code on machine but i am
>> getting this exception.
>>
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.265 sec
>> Running org.apache.struts2.views.jsp.SortIteratorTagTest
>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.875 sec
>> Running org.apache.struts2.views.jsp.URLTagTest
>> Tests run: 44, Failures: 2, Errors: 0, Skipped: 28, Time elapsed: 56.125
>> sec
>> <<<
>>  FAILURE!
>> Running
>> org.apache.struts2.interceptor.validation.JSONValidationInterceptorTest
>> Tests run: 6, Failures: 1, Errors: 0, Skipped: 5, Time elapsed: 12.328
>> sec
>> <<< F
>> AILURE!
>> Running org.apache.struts2.views.jsp.ui.CheckboxTest
>> org.apache.maven.surefire.booter.SurefireExecutionException: Java heap
>> space; ne
>> sted exception is java.lang.OutOfMemoryError: Java heap space
>> java.lang.OutOfMemoryError: Java heap space
>> [INFO]
>> 
>> [ERROR] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] There are test failures.
>> [INFO]
>> 
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> 
>> [INFO] Total time: 3 minutes 4 seconds
>> [INFO] Finished at: Thu Sep 20 14:04:32 GMT-08:00 2007
>> [INFO] Final Memory: 9M/35M
>> [INFO]
>> 
>>
>> Do i have to make changes in pom.xml or set any environment variable. I
>> will
>> also appericate if someone can send me some information on how to setup
>> development environment.
>>
>> Thanks
>> Sunil
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-in-building-latest-source-code-tf4490212.html#a12806027
>> Sent from the Struts - Dev mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-in-building-latest-source-code-tf4490212.html#a12810474
Sent from the Struts - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem in building latest source code

2007-09-20 Thread pppsunil

Setting heap size to 512 MB did not help either. So i took easy way of
skiping unit test cases and i am able to build code now.

Thank you for the help

Sunil

Ted Husted wrote:
> 
> You need to increase the heap space for Maven.
> 
> // Bash
> export MAVEN_OPTS=-Xmx512m
> 
> // Windows
> set MAVEN_OPTS=-Xmx512m
> 
> * http://struts.apache.org/2.x/docs/building-with-maven.html
> 
> -- HTH, Ted
> <http://www.husted.com/ted/blog/>
> 
> On 9/20/07, pppsunil <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I am trying to build latest Struts 2.0 source code on machine but i am
>> getting this exception.
>>
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.265 sec
>> Running org.apache.struts2.views.jsp.SortIteratorTagTest
>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.875 sec
>> Running org.apache.struts2.views.jsp.URLTagTest
>> Tests run: 44, Failures: 2, Errors: 0, Skipped: 28, Time elapsed: 56.125
>> sec
>> <<<
>>  FAILURE!
>> Running
>> org.apache.struts2.interceptor.validation.JSONValidationInterceptorTest
>> Tests run: 6, Failures: 1, Errors: 0, Skipped: 5, Time elapsed: 12.328
>> sec
>> <<< F
>> AILURE!
>> Running org.apache.struts2.views.jsp.ui.CheckboxTest
>> org.apache.maven.surefire.booter.SurefireExecutionException: Java heap
>> space; ne
>> sted exception is java.lang.OutOfMemoryError: Java heap space
>> java.lang.OutOfMemoryError: Java heap space
>> [INFO]
>> 
>> [ERROR] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] There are test failures.
>> [INFO]
>> 
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> 
>> [INFO] Total time: 3 minutes 4 seconds
>> [INFO] Finished at: Thu Sep 20 14:04:32 GMT-08:00 2007
>> [INFO] Final Memory: 9M/35M
>> [INFO]
>> 
>>
>> Do i have to make changes in pom.xml or set any environment variable. I
>> will
>> also appericate if someone can send me some information on how to setup
>> development environment.
>>
>> Thanks
>> Sunil
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-in-building-latest-source-code-tf4490212.html#a12810568
Sent from the Struts - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]