The main reason behind the different build experiences seems to be that the navigation content in FacesScaffoldTest is not generated consistently across systems:
- the test expects:
[code]
<ul>
<li>
<h:link outcome="/scaffold/customer/search" value="Customer"/>
</li>
<li>
<h:link outcome="/scaffold/employer/search" value="Employer"/>
</li>
[/code]
- on failure, the scaffold generates:
[code]
<ul>
<li>
<h:link outcome="/scaffold/employer/search" value="Employer"/>
</li>
<li>
<h:link outcome="/scaffold/customer/search" value="Customer"/>
</li>
[/code]
For some reason, the links are not generated always in the same order, but I am not sure what part in the scaffold or metawidget is responsible for that.
Looks like I'm getting the same errors that Marius was. I nuked my Maven repository, ran a 'mvn clean install', and the following tests failed:
testGenerateManyToOneEntity(org.jboss.forge.scaffold.faces.FacesScaffoldTest)
testGenerateOneToManyEntity(org.jboss.forge.scaffold.faces.FacesScaffoldTest)
I've put the stack trace in a Pastebin: http://pastebin.com/qXafYDg4.
Cheers,
Ryan
P.S. I am running 64-bit Fedora 15 on my machine.
On 02/13/2012 11:18 AM, Koen Aers wrote:Yes it does here…I only tried on OSX though.
Cheers,Koen
Op 13-feb.-2012, om 17:06 heeft Lincoln Baxter, III het volgende geschreven:
So the build is working for folks? I nuked my repo and build succeeded :)
~Lincoln
On Mon, Feb 13, 2012 at 3:19 AM, Koen Aers <koen.aers@gmail.com> wrote:
Nuking the Maven repo also did the trick on my machine.
Thanks Marius!
Cheers,Koen
Op 13-feb.-2012, om 02:08 heeft Marius Bogoevici het volgende geschreven:
My build failed consistently in FacesScaffoldTest.testGenerateOneToManyEntity() and FacesScaffoldTest.testGenerateOneToManyEntity until I nuked my local Maven repo. Then it didn't._______________________________________________
On 12-02-10 3:24 PM, Lincoln Baxter, III wrote:Just a sanity check. Thanks!
https://github.com/forge/core
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
_______________________________________________ forge-dev mailing list forge-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/forge-dev
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev
_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev
_______________________________________________ forge-dev mailing list forge-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/forge-dev
_______________________________________________ forge-dev mailing list forge-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/forge-dev