[
https://issues.jboss.org/browse/JBIDE-18547?page=com.atlassian.jira.plugi...
]
Alexey Kazakov edited comment on JBIDE-18547 at 10/8/14 7:25 PM:
-----------------------------------------------------------------
We could register a facet listener for the Web facet and generate an index.html file when
the project is being created. But I'm not sure that's a good solution to generate
index.html silently. It's would be better if the web facet page of the wizard contains
a checkbox which will tell the facet to generate this index.html file. We can't add
such a page into Web facet page but we can create a patch for Eclipse Web Tools if we want
to have it fixed in the foreseeable future ;)
But it also will affect our own wizards (New CDI, JSF, Seam projects) which extend the
Dynamic Web Project wizard because they generate index.html too.
was (Author: akazakov):
We could register a facet listener for the Web facet and generate an index.html file when
the project is being created. But I'm not sure that's a good solution to generate
index.html silently. It's would be better if the web facet page of the wizard should
contain a checkbox which will tell the facet to generate this index.html file. We
can't add such a page into Web facet page but we can create a patch for Eclipse Web
Tools if we want to have it fixed in the foreseeable future ;)
But it also will affect our own Wizards (New CDI, JSF, Seam projects) which extends the
Dynamic Web Project wizard because they generate index.html.
Generate index.html in default Dynamic Web Project
--------------------------------------------------
Key: JBIDE-18547
URL:
https://issues.jboss.org/browse/JBIDE-18547
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: upstream
Reporter: Arun Gupta
Fix For: 4.3.x
Attachments: screenshot-1.png
Default Dynamic Web Project does not contain index.html and so running it on a server
always require to generate this file first. That's a very typical scenario and should
be fixed for a more seamless experience.
Accessing the application at
http://localhost:8080/helloworld/ shows
"Forbidden" as shown in the attachment.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)