[
https://issues.jboss.org/browse/JBIDE-7470?page=com.atlassian.jira.plugin...
]
Snjezana Peco commented on JBIDE-7470:
--------------------------------------
>2. Photoalbum uses resource filtering in the components.properties
and components.xml files. That feature doesn't work in m2eclipse.
>The solution - removing resource filtering.
Is this a bug with m2eclipse, or something with RF/Seam? Can you
share some more info?
That is a m2eclipse problem. m2eclipse doesn't handle resource filtering correctly.
Also the issue linked above [ JBIDE-5646 ], Iirc the main issue there
was the naming of pom artifacts. I'm just confused how upgrading the versions
of RF & Seam will help?
Upgrading the versions of RF & Seam won't help. Removing resource filtering and
using a fixed project name will help.
Max had mentioned there are two photoalbum examples in tools. One is
more-or-less straight from RichFaces project, and the other is modified by
tools to be a pure eclipse project. I just need some clarification on the difference, and
what we can do to make this acceptable.
There are two photoalbum examples. Both of them are Eclipse projects. One of them is a
Maven project(photoalbum-mavenized).
We couldn't use a pure Maven project until JBIDE-6214 was fixed.
You can take a look at
http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/photoalbum-3.3.x/ that uses
Richfaces 3.3.4-SNAPSHOT and fixes all those issues. The application can be used in the
following way:
- install JBT 3.2.0, m2eclipse-core 0.12, m2eclipse-wtp 0.11
- checkout the application using
svn co
http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/photoalbum-3.3.x/
- import the photoalbum projects using Import>Maven>Existing Maven Projects
EAR produced by command line is different from that produced by
Tools
---------------------------------------------------------------------
Key: JBIDE-7470
URL:
https://issues.jboss.org/browse/JBIDE-7470
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven
Environment: Win7 Java 1.6 32-bit
JBDS 4 Beta 1
AS6 M5
Reporter: Burr Sutter
Assignee: Snjezana Peco
Fix For: 3.2.0.CR1
The .ear produced by using Maven at the command line is slightly different than the one
produced by the Tools. The one produced by the Tools will deploy but fails to run. It
produces are very odd browser-based error message.
Firefox:
"Firefox has detected that the server is redirecting the request for this address in
a way that will never complete."
Chrome:
"The webpage at
http://localhost:8080/photoalbum/error.seam?cid=4 has resulted in
too many redirects. Clearing your cookies for this site or allowing third-party cookies
may fix the problem. If not, it is possibly a server configuration issue and not a problem
with your computer."
It is a Maven-based project, imported into JBDS 4 Beta 1, when deployed (Add-Remove
dialog) as an exploded or compressed .ear, it produces the error above when hitting
http://localhost:8080/photoalbum
Command line created EAR:
http://dl.dropbox.com/u/8625587/photoalbum-ear-3.3.3.Final.ear
JBoss tools created EAR:
http://dl.dropbox.com/u/8625587/photoalbum-ear.ear
The project source - used by both the Tools and command-line:
http://dl.dropbox.com/u/8625587/photoalbum_source.zip
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira