<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Building Spring 3</title>
	<atom:link href="http://blog.springsource.org/2009/03/03/building-spring-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.org/2009/03/03/building-spring-3/</link>
	<description>The voice of SpringSource</description>
	<lastBuildDate>Wed, 08 Feb 2012 17:31:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Chris Beams</title>
		<link>http://blog.springsource.org/2009/03/03/building-spring-3/comment-page-2/#comment-220588</link>
		<dc:creator>Chris Beams</dc:creator>
		<pubDate>Thu, 17 Nov 2011 18:57:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=1162#comment-220588</guid>
		<description>@John,

Heh - yes, I did.  Thanks :)</description>
		<content:encoded><![CDATA[<p>@John,</p>
<p>Heh &#8211; yes, I did.  Thanks <img src='http://blog.springsource.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John K</title>
		<link>http://blog.springsource.org/2009/03/03/building-spring-3/comment-page-2/#comment-220578</link>
		<dc:creator>John K</dc:creator>
		<pubDate>Thu, 17 Nov 2011 18:33:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=1162#comment-220578</guid>
		<description>@Chris,

Thanks for the quick response.

Did you mean &#039;ant install-maven-central&#039; (vs. mvn install-maven-central)?</description>
		<content:encoded><![CDATA[<p>@Chris,</p>
<p>Thanks for the quick response.</p>
<p>Did you mean &#039;ant install-maven-central&#039; (vs. mvn install-maven-central)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Beams</title>
		<link>http://blog.springsource.org/2009/03/03/building-spring-3/comment-page-2/#comment-220558</link>
		<dc:creator>Chris Beams</dc:creator>
		<pubDate>Thu, 17 Nov 2011 17:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=1162#comment-220558</guid>
		<description>@John,

Regarding &#039;publish-maven-local&#039;, thanks for pointing this out.  The name of that target changed some time ago.  I&#039;ve updated the post to reflect the new name &#039;install-maven-central&#039;.

Regarding artifact naming, org.springframework/spring-orm/3.1.0.RC1 is the GAV format used in Maven Central.  You&#039;ll find that&#039;s what gets installed to ~/.m2/repository when you successfully invoke `mvn install-maven-central` as above.</description>
		<content:encoded><![CDATA[<p>@John,</p>
<p>Regarding &#039;publish-maven-local&#039;, thanks for pointing this out.  The name of that target changed some time ago.  I&#039;ve updated the post to reflect the new name &#039;install-maven-central&#039;.</p>
<p>Regarding artifact naming, org.springframework/spring-orm/3.1.0.RC1 is the GAV format used in Maven Central.  You&#039;ll find that&#039;s what gets installed to ~/.m2/repository when you successfully invoke `mvn install-maven-central` as above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John K</title>
		<link>http://blog.springsource.org/2009/03/03/building-spring-3/comment-page-2/#comment-220512</link>
		<dc:creator>John K</dc:creator>
		<pubDate>Thu, 17 Nov 2011 15:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=1162#comment-220512</guid>
		<description>Great post Chris!  The instructions were thorough and provide ability to download and build the artifacts.

Couple points.
1) &quot;ant publish-maven-local&quot; does not appear to be a valid target:

BUILD FAILED
Target &quot;publish-maven-local&quot; does not exist in the project &quot;org.springframework.asm&quot;. 

2) In &#039;Step 2&#039; of the instructions you reference the new directory structure of the springframework modules.  Does this new structure reflect the desired maven artifact directories?  In the past, we have referred to spring related dependencies using a GAV=groupId/artifactId/version like &#039;org.springframework/spring-orm/3.1.0.RC1&#039;, so now are we encouraged to use &#039;org.springframework/org.springframework.orm/3.1.0.RC1&#039;?


java.lang.NoSuchMethodError: org.springframework.beans.BeanUtils.instantiateClass(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Object;
	at org.springframework.test.context.ContextLoaderUtils.resolveContextLoader(ContextLoaderUtils.java:87)
	at org.springframework.test.context.ContextLoaderUtils.buildMergedContextConfiguration(ContextLoaderUtils.java:298)
	at org.springframework.test.context.TestContext.(TestContext.java:100)
	at org.springframework.test.context.TestContextManager.(TestContextManager.java:117)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTestContextManager(SpringJUnit4ClassRunner.java:119)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.(SpringJUnit4ClassRunner.java:108)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)
	at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
	at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.(JUnit4TestReference.java:32)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.(JUnit4TestClassReference.java:25)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:41)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:31)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)</description>
		<content:encoded><![CDATA[<p>Great post Chris!  The instructions were thorough and provide ability to download and build the artifacts.</p>
<p>Couple points.<br />
1) &#034;ant publish-maven-local&#034; does not appear to be a valid target:</p>
<p>BUILD FAILED<br />
Target &#034;publish-maven-local&#034; does not exist in the project &#034;org.springframework.asm&#034;. </p>
<p>2) In &#039;Step 2&#039; of the instructions you reference the new directory structure of the springframework modules.  Does this new structure reflect the desired maven artifact directories?  In the past, we have referred to spring related dependencies using a GAV=groupId/artifactId/version like &#039;org.springframework/spring-orm/3.1.0.RC1&#039;, so now are we encouraged to use &#039;org.springframework/org.springframework.orm/3.1.0.RC1&#039;?</p>
<p>java.lang.NoSuchMethodError: org.springframework.beans.BeanUtils.instantiateClass(Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Object;<br />
	at org.springframework.test.context.ContextLoaderUtils.resolveContextLoader(ContextLoaderUtils.java:87)<br />
	at org.springframework.test.context.ContextLoaderUtils.buildMergedContextConfiguration(ContextLoaderUtils.java:298)<br />
	at org.springframework.test.context.TestContext.(TestContext.java:100)<br />
	at org.springframework.test.context.TestContextManager.(TestContextManager.java:117)<br />
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTestContextManager(SpringJUnit4ClassRunner.java:119)<br />
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.(SpringJUnit4ClassRunner.java:108)<br />
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)<br />
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)<br />
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)<br />
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)<br />
	at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)<br />
	at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)<br />
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)<br />
	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)<br />
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)<br />
	at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)<br />
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.(JUnit4TestReference.java:32)<br />
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.(JUnit4TestClassReference.java:25)<br />
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:41)<br />
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:31)<br />
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)<br />
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)<br />
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)<br />
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jbbarquero</title>
		<link>http://blog.springsource.org/2009/03/03/building-spring-3/comment-page-2/#comment-199299</link>
		<dc:creator>jbbarquero</dc:creator>
		<pubDate>Mon, 01 Aug 2011 14:40:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=1162#comment-199299</guid>
		<description>It also failed in UBUNTU (10.10 in Intel Core 2 Quad Q6600, 2.40GHz and 8GB RAM)

NOTE: at the end it succeed, but allow me to put the steps that I followed to achieve the build.

BESIDES: the import existing project didn&#039;t work. It seems STS 2.7.1 in UBUNTU can&#039;t read recursively from the root directory.

I imported manually one by one instead. It came out with these two errors:
- Build path is incomplete. Cannot find class file for org/springframework/core/enums/ShortCodedLabeledEnum (ImportXmlWithAopNamespace-context.xml)
/org.springframework.context/src/test/java/org/springframework/context/annotation/configuration	line 8	Spring AOP Problem
- Build path is incomplete. Cannot find class file for org/springframework/core/Ordered	(ImportXmlWithAopNamespace-context.xml)
/org.springframework.context/src/test/java/org/springframework/context/annotation/configuration	line 12	Spring AOP Problem

REGARDING the BUILDING, these were the steps that I followed: 

It seems there&#039;s something wrong with the images: obtained application/octet-stream instead of image/jpeg.

[junit] Testcase: writeMultipart(org.springframework.http.converter.FormHttpMessageConverterTests):	FAILED
[junit] expected: but was:
[junit] junit.framework.AssertionFailedError: expected: but was:
[junit] 	at org.springframework.http.converter.FormHttpMessageConverterTests.writeMultipart(FormHttpMessageConverterTests.java:154)

I could edit org.springframework.http.converter.FormHttpMessageConverterTests, changing the line 154: assertEquals(&quot;image/jpeg&quot;, item.getContentType()); but it&#039;s not very logical.

I&#039;d rather use the @org.junit.Ignore in the writeMultipart() method.

Then write() in org.springframework.http.converter.ResourceHttpMessageConverterTests failed as well:

[junit] Testcase: write(org.springframework.http.converter.ResourceHttpMessageConverterTests):	FAILED
[junit] Invalid content-type expected: but was:
[junit] junit.framework.AssertionFailedError: Invalid content-type expected: but was:
[junit] 	at org.springframework.http.converter.ResourceHttpMessageConverterTests.write(ResourceHttpMessageConverterTests.java:68)
[junit] 

Then, the same error at:

[junit] Tests run: 16, Failures: 0, Errors: 1, Time elapsed: 0.522 sec
[junit] 
[junit] ------------- Standard Error -----------------
[junit] 2011-08-01 13:17:02.799::INFO:  jetty-6.1.9
[junit] 2011-08-01 13:17:02.801::INFO:  Started SocketConnector@0.0.0.0:1142
[junit] 2011-08-01 13:17:02.946::WARN:  Error for /multipart
[junit] org.junit.ComparisonFailure: expected: but was:
...
[junit] ------------- ---------------- ---------------
[junit] Testcase: multipart(org.springframework.web.client.RestTemplateIntegrationTests):	Caused an ERROR
[junit] 500 expected: but was:
[junit] org.springframework.web.client.HttpServerErrorException: 500 expected: but was:
[junit] 	at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:77)
[junit] 	at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:486)
[junit] 	at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:443)
[junit] 	at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:401)
[junit] 	at org.springframework.web.client.RestTemplate.postForLocation(RestTemplate.java:257)
[junit] 	at org.springframework.web.client.RestTemplateIntegrationTests.multipart(RestTemplateIntegrationTests.java:235)
[junit] 


I added the @org.junit.Ignore annotation to the multipart() in org.springframework.web.client.RestTemplateIntegrationTests

All the previous classes belong to the org.springframework.web project.

The org.springframework.web project.servlet has the same problem:


[junit] Testsuite: org.springframework.web.servlet.resource.ResourceHttpRequestHandlerTests
[junit] Tests run: 12, Failures: 1, Errors: 0, Time elapsed: 0.016 sec
[junit] 
[junit] Testcase: getResourceWithHtmlMediaType(org.springframework.web.servlet.resource.ResourceHttpRequestHandlerTests):	FAILED
[junit] expected: but was:
[junit] junit.framework.AssertionFailedError: expected: but was:
[junit] 	at org.springframework.web.servlet.resource.ResourceHttpRequestHandlerTests.getResourceWithHtmlMediaType(ResourceHttpRequestHandlerTests.java:78)

I applied the 	@org.junit.Ignore annotation to getResourceWithHtmlMediaType() in org.springframework.web.servlet.resource.ResourceHttpRequestHandlerTests

At the end:
BUILD SUCCESSFUL
Total time: 12 minutes 13 seconds

ACTUALLY: 2 hours and 12 minutes and...</description>
		<content:encoded><![CDATA[<p>It also failed in UBUNTU (10.10 in Intel Core 2 Quad Q6600, 2.40GHz and 8GB RAM)</p>
<p>NOTE: at the end it succeed, but allow me to put the steps that I followed to achieve the build.</p>
<p>BESIDES: the import existing project didn&#039;t work. It seems STS 2.7.1 in UBUNTU can&#039;t read recursively from the root directory.</p>
<p>I imported manually one by one instead. It came out with these two errors:<br />
- Build path is incomplete. Cannot find class file for org/springframework/core/enums/ShortCodedLabeledEnum (ImportXmlWithAopNamespace-context.xml)<br />
/org.springframework.context/src/test/java/org/springframework/context/annotation/configuration	line 8	Spring AOP Problem<br />
- Build path is incomplete. Cannot find class file for org/springframework/core/Ordered	(ImportXmlWithAopNamespace-context.xml)<br />
/org.springframework.context/src/test/java/org/springframework/context/annotation/configuration	line 12	Spring AOP Problem</p>
<p>REGARDING the BUILDING, these were the steps that I followed: </p>
<p>It seems there&#039;s something wrong with the images: obtained application/octet-stream instead of image/jpeg.</p>
<p>[junit] Testcase: writeMultipart(org.springframework.http.converter.FormHttpMessageConverterTests):	FAILED<br />
[junit] expected: but was:<br />
[junit] junit.framework.AssertionFailedError: expected: but was:<br />
[junit] 	at org.springframework.http.converter.FormHttpMessageConverterTests.writeMultipart(FormHttpMessageConverterTests.java:154)</p>
<p>I could edit org.springframework.http.converter.FormHttpMessageConverterTests, changing the line 154: assertEquals(&#034;image/jpeg&#034;, item.getContentType()); but it&#039;s not very logical.</p>
<p>I&#039;d rather use the @org.junit.Ignore in the writeMultipart() method.</p>
<p>Then write() in org.springframework.http.converter.ResourceHttpMessageConverterTests failed as well:</p>
<p>[junit] Testcase: write(org.springframework.http.converter.ResourceHttpMessageConverterTests):	FAILED<br />
[junit] Invalid content-type expected: but was:<br />
[junit] junit.framework.AssertionFailedError: Invalid content-type expected: but was:<br />
[junit] 	at org.springframework.http.converter.ResourceHttpMessageConverterTests.write(ResourceHttpMessageConverterTests.java:68)<br />
[junit] </p>
<p>Then, the same error at:</p>
<p>[junit] Tests run: 16, Failures: 0, Errors: 1, Time elapsed: 0.522 sec<br />
[junit]<br />
[junit] &#8212;&#8212;&#8212;&#8212;- Standard Error &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
[junit] 2011-08-01 13:17:02.799::INFO:  jetty-6.1.9<br />
[junit] 2011-08-01 13:17:02.801::INFO:  Started SocketConnector@0.0.0.0:1142<br />
[junit] 2011-08-01 13:17:02.946::WARN:  Error for /multipart<br />
[junit] org.junit.ComparisonFailure: expected: but was:<br />
&#8230;<br />
[junit] &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;<br />
[junit] Testcase: multipart(org.springframework.web.client.RestTemplateIntegrationTests):	Caused an ERROR<br />
[junit] 500 expected: but was:<br />
[junit] org.springframework.web.client.HttpServerErrorException: 500 expected: but was:<br />
[junit] 	at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:77)<br />
[junit] 	at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:486)<br />
[junit] 	at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:443)<br />
[junit] 	at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:401)<br />
[junit] 	at org.springframework.web.client.RestTemplate.postForLocation(RestTemplate.java:257)<br />
[junit] 	at org.springframework.web.client.RestTemplateIntegrationTests.multipart(RestTemplateIntegrationTests.java:235)<br />
[junit] </p>
<p>I added the @org.junit.Ignore annotation to the multipart() in org.springframework.web.client.RestTemplateIntegrationTests</p>
<p>All the previous classes belong to the org.springframework.web project.</p>
<p>The org.springframework.web project.servlet has the same problem:</p>
<p>[junit] Testsuite: org.springframework.web.servlet.resource.ResourceHttpRequestHandlerTests<br />
[junit] Tests run: 12, Failures: 1, Errors: 0, Time elapsed: 0.016 sec<br />
[junit]<br />
[junit] Testcase: getResourceWithHtmlMediaType(org.springframework.web.servlet.resource.ResourceHttpRequestHandlerTests):	FAILED<br />
[junit] expected: but was:<br />
[junit] junit.framework.AssertionFailedError: expected: but was:<br />
[junit] 	at org.springframework.web.servlet.resource.ResourceHttpRequestHandlerTests.getResourceWithHtmlMediaType(ResourceHttpRequestHandlerTests.java:78)</p>
<p>I applied the 	@org.junit.Ignore annotation to getResourceWithHtmlMediaType() in org.springframework.web.servlet.resource.ResourceHttpRequestHandlerTests</p>
<p>At the end:<br />
BUILD SUCCESSFUL<br />
Total time: 12 minutes 13 seconds</p>
<p>ACTUALLY: 2 hours and 12 minutes and&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jbbarquero</title>
		<link>http://blog.springsource.org/2009/03/03/building-spring-3/comment-page-2/#comment-199247</link>
		<dc:creator>jbbarquero</dc:creator>
		<pubDate>Thu, 28 Jul 2011 19:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=1162#comment-199247</guid>
		<description>Hello:

It worked in my MAC (Snow Leopard, i5 and 4GB) but it didn&#039;t in a DELL with windows Vista in Core2Duo with 3 GB (less than 2GB available)

I tried with several values for %ANT_OPTS%, test.vm.args and javadoc.max.memory.

The best attempt was with:

javadoc.max.memory=512M
test.vm.args=-Xmx1024M -XX:MaxPermSize=512M -XX: HeapDumpOnOutOfMemoryError

C:\&gt;echo %ANT_OPTS%
-XX:MaxPermSize=512m -Xmx768m

But the BUILD FAILED twice:

1) The first due to:
    [junit] junit.framework.AssertionFailedError: Prototype creation took too long: 4024 at org.springframework.context.annotation.AnnotationProcessorPer
formanceTests.testPrototypeCreationWithOverriddenAutowiredPropertiesIsFastEnough (AnnotationProcessorPerformanceTests.java:148)

I just edited this test and I change the assertTrue value from 4000 to 8000

2) I can&#039;t solve the second:

    [junit] Testcase: marshalJaxp14StaxResultEventWriter(org.springframework.oxm.jibx.JibxMarshallerTests):     Caused an ERROR
    [junit] Unable to access binding &#039;binding&#039;
    [junit] Make sure classes generated by the binding compiler are available at  runtime
    [junit] java.lang.ClassNotFoundException: org.springframework.oxm.jibx.JiBX_bindingFactory
    [junit]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at ava.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [junit]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    [junit]     at org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:237)
    [junit]     at org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:292)
    [junit]     at org.springframework.oxm.jibx.JibxMarshaller.afterPropertiesSet(JibxMarshaller.java:224)
    [junit]     at org.springframework.oxm.jibx.JibxMarshallerTests.createMarshaller(JibxMarshallerTests.java:38)
    [junit]     at org.springframework.oxm.AbstractMarshallerTests.setUp(AbstractMarshallerTests.java:58)

Any help with this issue?</description>
		<content:encoded><![CDATA[<p>Hello:</p>
<p>It worked in my MAC (Snow Leopard, i5 and 4GB) but it didn&#039;t in a DELL with windows Vista in Core2Duo with 3 GB (less than 2GB available)</p>
<p>I tried with several values for %ANT_OPTS%, test.vm.args and javadoc.max.memory.</p>
<p>The best attempt was with:</p>
<p>javadoc.max.memory=512M<br />
test.vm.args=-Xmx1024M -XX:MaxPermSize=512M -XX: HeapDumpOnOutOfMemoryError</p>
<p>C:\&gt;echo %ANT_OPTS%<br />
-XX:MaxPermSize=512m -Xmx768m</p>
<p>But the BUILD FAILED twice:</p>
<p>1) The first due to:<br />
    [junit] junit.framework.AssertionFailedError: Prototype creation took too long: 4024 at org.springframework.context.annotation.AnnotationProcessorPer<br />
formanceTests.testPrototypeCreationWithOverriddenAutowiredPropertiesIsFastEnough (AnnotationProcessorPerformanceTests.java:148)</p>
<p>I just edited this test and I change the assertTrue value from 4000 to 8000</p>
<p>2) I can&#039;t solve the second:</p>
<p>    [junit] Testcase: marshalJaxp14StaxResultEventWriter(org.springframework.oxm.jibx.JibxMarshallerTests):     Caused an ERROR<br />
    [junit] Unable to access binding &#039;binding&#039;<br />
    [junit] Make sure classes generated by the binding compiler are available at  runtime<br />
    [junit] java.lang.ClassNotFoundException: org.springframework.oxm.jibx.JiBX_bindingFactory<br />
    [junit]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br />
    [junit]     at java.security.AccessController.doPrivileged(Native Method)<br />
    [junit]     at ava.net.URLClassLoader.findClass(URLClassLoader.java:188)<br />
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)<br />
    [junit]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)<br />
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)<br />
    [junit]     at org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:237)<br />
    [junit]     at org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:292)<br />
    [junit]     at org.springframework.oxm.jibx.JibxMarshaller.afterPropertiesSet(JibxMarshaller.java:224)<br />
    [junit]     at org.springframework.oxm.jibx.JibxMarshallerTests.createMarshaller(JibxMarshallerTests.java:38)<br />
    [junit]     at org.springframework.oxm.AbstractMarshallerTests.setUp(AbstractMarshallerTests.java:58)</p>
<p>Any help with this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jbbarquero</title>
		<link>http://blog.springsource.org/2009/03/03/building-spring-3/comment-page-2/#comment-199246</link>
		<dc:creator>jbbarquero</dc:creator>
		<pubDate>Thu, 28 Jul 2011 18:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=1162#comment-199246</guid>
		<description>Hello:

At last the BUILD worked in my MacBookPro (i5 with 4GB in Mac OS X Snow Leopard 10.6.8 with Java 1.6.0_26, Ant 1.8.2 and STS 2.7.1)

I had to declare the environment variable ANT_OPTS with the value &#039;-XX:MaxPermSize=1024m -Xmx1024m&#039;.

The build failed using the ant within the STS, but it succeed from the command line.</description>
		<content:encoded><![CDATA[<p>Hello:</p>
<p>At last the BUILD worked in my MacBookPro (i5 with 4GB in Mac OS X Snow Leopard 10.6.8 with Java 1.6.0_26, Ant 1.8.2 and STS 2.7.1)</p>
<p>I had to declare the environment variable ANT_OPTS with the value &#039;-XX:MaxPermSize=1024m -Xmx1024m&#039;.</p>
<p>The build failed using the ant within the STS, but it succeed from the command line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Frederick</title>
		<link>http://blog.springsource.org/2009/03/03/building-spring-3/comment-page-2/#comment-197150</link>
		<dc:creator>Scott Frederick</dc:creator>
		<pubDate>Sat, 02 Jul 2011 01:47:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=1162#comment-197150</guid>
		<description>I was getting the &quot;Unsupported protocol: jmxmp&quot; error too, looks like this is the work-around: https://jira.springsource.org/browse/SPR-8093</description>
		<content:encoded><![CDATA[<p>I was getting the &#034;Unsupported protocol: jmxmp&#034; error too, looks like this is the work-around: <a href="https://jira.springsource.org/browse/SPR-8093" rel="nofollow">https://jira.springsource.org/browse/SPR-8093</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muky</title>
		<link>http://blog.springsource.org/2009/03/03/building-spring-3/comment-page-2/#comment-194740</link>
		<dc:creator>Muky</dc:creator>
		<pubDate>Tue, 31 May 2011 15:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=1162#comment-194740</guid>
		<description>I am confuse, all the spring framework tutorials (http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html#step1.1 for example) require jars from the lib folder, but any framework that I&#039;m downloading from spring source (http://www.springsource.org/download) is missing the lib folder. What am I missing?</description>
		<content:encoded><![CDATA[<p>I am confuse, all the spring framework tutorials (<a href="http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html#step1.1" rel="nofollow">http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html#step1.1</a> for example) require jars from the lib folder, but any framework that I&#039;m downloading from spring source (<a href="http://www.springsource.org/download" rel="nofollow">http://www.springsource.org/download</a>) is missing the lib folder. What am I missing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Beams</title>
		<link>http://blog.springsource.org/2009/03/03/building-spring-3/comment-page-2/#comment-192177</link>
		<dc:creator>Chris Beams</dc:creator>
		<pubDate>Wed, 13 Apr 2011 03:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.springsource.com/?p=1162#comment-192177</guid>
		<description>@reddog: if you wish to run all the tests, but simply ignore this one, add JUnit&#039;s @Ignore annotation to the test method that&#039;s failing.  If you simply wish to build the Spring JARs locally and skip running all tests, simply run `ant jar`.  It will compile and package the jars, but will not run any tests.  Keep in mind that if you&#039;re trying to populate a local Maven repository, you can run `ant install-maven`.  This will compile the code, package the JARs and copy them into the correct locations within your local ~/.m2/repository cache.</description>
		<content:encoded><![CDATA[<p>@reddog: if you wish to run all the tests, but simply ignore this one, add JUnit&#039;s @Ignore annotation to the test method that&#039;s failing.  If you simply wish to build the Spring JARs locally and skip running all tests, simply run `ant jar`.  It will compile and package the jars, but will not run any tests.  Keep in mind that if you&#039;re trying to populate a local Maven repository, you can run `ant install-maven`.  This will compile the code, package the JARs and copy them into the correct locations within your local ~/.m2/repository cache.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

