[Fix] Seam keeps redeploying

On December 28, 2011, in Eclipse, JBoss AS 5, JBoss Tools, Seam, Seam 2, by lucasterdev

Does your Seam 2 app undeploy-redeploy in an infinite loop? Congratulations! You have just come across one of the well-known-for-years-and-easy-to-fix-though-ignored bugs of JBoss AS 5!

.*dia files are generated by JBoss Tools when editing faces-config.xml and pages.xml with the visual editor. JBoss AS 5 screws up when he finds such files….

Those files are listed neither in Package Explorer, nor in Project Explorer; they are listed in the Navigator view though.

Here’s the fix: remove all *.jsfdia and *.spdia files from your project or from the exploded .war

 

I’ll just leave this here…

On December 16, 2011, in Grails, Grails 2.0.0, Play!, by lucasterdev
Grails 2.0.0 error view

The new Grails 2.0.0 error view

Play! 1.2.x error view

Play! 1.2.x error view

 

m2eclipse: here we o again…

On December 6, 2011, in Eclipse 3.7 (Indigo), m2eclipse, Maven, by lucasterdev
Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e connector for build-helper-maven-plugin     0.15.0.201109290002 (org.sonatype.m2e.buildhelper.feature.feature.group 0.15.0.201109290002)
  Missing requirement: m2e connector for build-helper-maven-plugin 0.15.0.201109290002 (org.sonatype.m2e.buildhelper 0.15.0.201109290002) requires 'bundle org.eclipse.m2e.jdt [1.1.0,1.2.0)' but it could not be found
  Cannot satisfy dependency:
    From: m2e connector for build-helper-maven-plugin 0.15.0.201109290002 (org.sonatype.m2e.buildhelper.feature.feature.group 0.15.0.201109290002)
    To: org.sonatype.m2e.buildhelper [0.15.0.201109290002]

Solution – add the following update site:

http://download.eclipse.org/technology/m2e/releases/1.1

Outcome:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Multiple problems occurred while downloading.
Unable to read repository at http://download.eclipse.org/technology/m2e/milestones/1.1/1.1.0.20111108-0328/plugins/org.eclipse.m2e.refactoring_1.1.0.20111108-0328.jar.pack.gz.
Read timed out
Unable to read repository at http://download.eclipse.org/technology/m2e/milestones/1.1/1.1.0.20111108-0328/plugins/org.eclipse.m2e.refactoring_1.1.0.20111108-0328.jar.
Read timed out
Cannot complete the install because of a conflicting dependency.
  Software being installed: m2e connector for build-helper-maven-plugin 0.15.0.201109290002 (org.sonatype.m2e.buildhelper.feature.feature.group 0.15.0.201109290002)
  Software currently installed: m2e - Maven Integration for Eclipse 1.0.100.20110804-1717 (org.eclipse.m2e.feature.feature.group 1.0.100.20110804-1717)
  Only one of the following can be installed at once:
    Maven Integration for Eclipse 1.0.0.20110607-2117 (org.eclipse.m2e.core 1.0.0.20110607-2117)
    Maven Integration for Eclipse 1.1.0.20111108-0328 (org.eclipse.m2e.core 1.1.0.20111108-0328)
    Maven Integration for Eclipse 1.0.100.20110804-1717 (org.eclipse.m2e.core 1.0.100.20110804-1717)
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse 1.0.100.20110804-1717 (org.eclipse.m2e.feature.feature.group 1.0.100.20110804-1717)
    To: org.eclipse.m2e.core [1.0.100.20110804-1717]
  Cannot satisfy dependency:
    From: m2e connector for build-helper-maven-plugin 0.15.0.201109290002 (org.sonatype.m2e.buildhelper 0.15.0.201109290002)
    To: bundle org.eclipse.m2e.core [1.1.0,1.2.0)
  Cannot satisfy dependency:
    From: m2e connector for build-helper-maven-plugin 0.15.0.201109290002 (org.sonatype.m2e.buildhelper.feature.feature.group 0.15.0.201109290002)
    To: org.sonatype.m2e.buildhelper [0.15.0.201109290002]