[
https://jira.jboss.org/jira/browse/JBSEAM-2051?page=com.atlassian.jira.pl...
]
Dan Allen commented on JBSEAM-2051:
-----------------------------------
I should mention that moving WEB-INF under view will help with the IntelliJ project setup.
IntelliJ assumes that views are located one directory above WEB-INF. Thus, with the
current setup, IntelliJ is not able to locate the views.
please put WEB-INF under view instead of resources (seam-gen)
-------------------------------------------------------------
Key: JBSEAM-2051
URL:
https://jira.jboss.org/jira/browse/JBSEAM-2051
Project: Seam
Issue Type: Feature Request
Components: Tools
Affects Versions: 2.0.0.CR1
Reporter: Dan Allen
Original Estimate: 1 day
Remaining Estimate: 1 day
I am aware that there is no hotter issue than this one. But PAUSE before rejecting it and
hear me out.
The current seam-gen project structure is
src
action
model
resources
WEB-INF
META-INF
view
IDEs choke on this structure, but it really comes down to just one folder. The src/ and
resources/ directory really aren't a problem. The real problem is that WEB-INF/ just
needs to be under view/. Seriously, if that can happen, the IDEs really will be happier.
People are not arguing for the sake of arguing. This convention is the way that Sun laid
out more than a decade ago and vendors have catered to it ever since (even JBoss).
It's not like we woke up one day and said, gee, let's put WEB-INF/ in the folder
with web artifacts. Rather than try to change the whole world, can we just move this one
folder? I promise I am not arguing to read my own writing.
Proposed structure
src
action
model
resources
META-INF
view
WEB-INF
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira