[JBoss JIRA] (JBIDE-19121) web.xml shows dubious warning on missing welcome file matching Faces mapping
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19121?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich edited comment on JBIDE-19121 at 1/29/15 3:36 PM:
------------------------------------------------------------------------
Validation is correct if path starts with '/':
{code}
<welcome-file>/faces/index.xhtml</welcome-file>
{code}
Servlet mapping declares prefix /faces/*. [~fbricon], is it ok to refer to resources with 'faces/*' without leading '/'?
was (Author: scabanovich):
Validation is correct if path starts with '/':
{code}
<welcome-file>/faces/index.xhtml</welcome-file>
{code}
Servlet mapping declares prefix /faces/*. [~fbricon] is it ok to refer to resources with 'faces/*' without leading '/'?
> web.xml shows dubious warning on missing welcome file matching Faces mapping
> ----------------------------------------------------------------------------
>
> Key: JBIDE-19121
> URL: https://issues.jboss.org/browse/JBIDE-19121
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsf
> Affects Versions: 4.2.2.Final
> Reporter: Fred Bricon
> Assignee: Viacheslav Kabanovich
> Fix For: 4.2.3.Beta1, 4.3.0.Alpha1
>
>
> Given a web project containing index.xhtml at the root of the web folder, an web.xml file containing
> {noformat}
> <servlet>
> <servlet-name>Faces Servlet</servlet-name>
> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
> <load-on-startup>1</load-on-startup>
> </servlet>
> <servlet-mapping>
> <servlet-name>Faces Servlet</servlet-name>
> <url-pattern>*.jsf</url-pattern>
> </servlet-mapping>
> <servlet-mapping>
> <servlet-name>Faces Servlet</servlet-name>
> <url-pattern>/faces/*</url-pattern>
> </servlet-mapping>{noformat}
> and
> {noformat}
> <welcome-file-list>
> <welcome-file>faces/index.xhtml</welcome-file>
> </welcome-file-list>{noformat}
> shows an unexpected warning on <welcome-file>:
> {quote}file name references to "faces/index.xhtml" that does not exist in web content{quote}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (JBIDE-19121) web.xml shows dubious warning on missing welcome file matching Faces mapping
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19121?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich edited comment on JBIDE-19121 at 1/29/15 3:36 PM:
------------------------------------------------------------------------
Validation is correct if path starts with '/':
{code}
<welcome-file>/faces/index.xhtml</welcome-file>
{code}
Servlet mapping declares prefix /faces/\*. [~fbricon], is it ok to refer to resources with 'faces/*' without leading '/'?
was (Author: scabanovich):
Validation is correct if path starts with '/':
{code}
<welcome-file>/faces/index.xhtml</welcome-file>
{code}
Servlet mapping declares prefix /faces/*. [~fbricon], is it ok to refer to resources with 'faces/*' without leading '/'?
> web.xml shows dubious warning on missing welcome file matching Faces mapping
> ----------------------------------------------------------------------------
>
> Key: JBIDE-19121
> URL: https://issues.jboss.org/browse/JBIDE-19121
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsf
> Affects Versions: 4.2.2.Final
> Reporter: Fred Bricon
> Assignee: Viacheslav Kabanovich
> Fix For: 4.2.3.Beta1, 4.3.0.Alpha1
>
>
> Given a web project containing index.xhtml at the root of the web folder, an web.xml file containing
> {noformat}
> <servlet>
> <servlet-name>Faces Servlet</servlet-name>
> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
> <load-on-startup>1</load-on-startup>
> </servlet>
> <servlet-mapping>
> <servlet-name>Faces Servlet</servlet-name>
> <url-pattern>*.jsf</url-pattern>
> </servlet-mapping>
> <servlet-mapping>
> <servlet-name>Faces Servlet</servlet-name>
> <url-pattern>/faces/*</url-pattern>
> </servlet-mapping>{noformat}
> and
> {noformat}
> <welcome-file-list>
> <welcome-file>faces/index.xhtml</welcome-file>
> </welcome-file-list>{noformat}
> shows an unexpected warning on <welcome-file>:
> {quote}file name references to "faces/index.xhtml" that does not exist in web content{quote}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (JBIDE-19121) web.xml shows dubious warning on missing welcome file matching Faces mapping
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19121?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-19121:
-----------------------------------------------
Validation is correct if path starts with '/':
{code}
<welcome-file>/faces/index.xhtml</welcome-file>
{code}
Servlet mapping declares prefix /faces/*. [~fbricon] is it ok to refer to resources with 'faces/*' without leading '/'?
> web.xml shows dubious warning on missing welcome file matching Faces mapping
> ----------------------------------------------------------------------------
>
> Key: JBIDE-19121
> URL: https://issues.jboss.org/browse/JBIDE-19121
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsf
> Affects Versions: 4.2.2.Final
> Reporter: Fred Bricon
> Assignee: Viacheslav Kabanovich
> Fix For: 4.2.3.Beta1, 4.3.0.Alpha1
>
>
> Given a web project containing index.xhtml at the root of the web folder, an web.xml file containing
> {noformat}
> <servlet>
> <servlet-name>Faces Servlet</servlet-name>
> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
> <load-on-startup>1</load-on-startup>
> </servlet>
> <servlet-mapping>
> <servlet-name>Faces Servlet</servlet-name>
> <url-pattern>*.jsf</url-pattern>
> </servlet-mapping>
> <servlet-mapping>
> <servlet-name>Faces Servlet</servlet-name>
> <url-pattern>/faces/*</url-pattern>
> </servlet-mapping>{noformat}
> and
> {noformat}
> <welcome-file-list>
> <welcome-file>faces/index.xhtml</welcome-file>
> </welcome-file-list>{noformat}
> shows an unexpected warning on <welcome-file>:
> {quote}file name references to "faces/index.xhtml" that does not exist in web content{quote}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (JBIDE-19056) A Mojo to validate a version (compared to baseline)
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19056?page=com.atlassian.jira.plugi... ]
Rob Stryker commented on JBIDE-19056:
-------------------------------------
Please verify this bug in two steps:
1) Verify that the correct baseline is being compared against (ie, not ~/.m2 folder)
2) Please verify again that if two identical things are being compared, the error does not show.
I don't know how you currently check for identical units, but even assuming bug 1 shouldn't be there, the build is currently comparing an ~/.m2 cached unit with an IDENTICAL new build and showing an error. This leads me to believe the comparison is not accurate and there's a second bug there.
> A Mojo to validate a version (compared to baseline)
> ---------------------------------------------------
>
> Key: JBIDE-19056
> URL: https://issues.jboss.org/browse/JBIDE-19056
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: build
> Affects Versions: 4.2.2.Final
> Reporter: Mickael Istria
> Assignee: Mickael Istria
> Attachments: build.out
>
>
> We need a mojo that compares a newly-built artifact with other versions of this IU that we have already released.
> Such a mojo would fail is version isn't correct (lower than same one on that stream, equal to another one already released but with different content...)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (JBIDE-19056) A Mojo to validate a version (compared to baseline)
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19056?page=com.atlassian.jira.plugi... ]
Rob Stryker commented on JBIDE-19056:
-------------------------------------
To be clear, this is *very* troublesome to me. It means I cannot build 2x in a row. It means I need to clear my ~/m2 after every build. This is very annoying.
> A Mojo to validate a version (compared to baseline)
> ---------------------------------------------------
>
> Key: JBIDE-19056
> URL: https://issues.jboss.org/browse/JBIDE-19056
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: build
> Affects Versions: 4.2.2.Final
> Reporter: Mickael Istria
> Assignee: Mickael Istria
> Attachments: build.out
>
>
> We need a mojo that compares a newly-built artifact with other versions of this IU that we have already released.
> Such a mojo would fail is version isn't correct (lower than same one on that stream, equal to another one already released but with different content...)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (JBIDE-19056) A Mojo to validate a version (compared to baseline)
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19056?page=com.atlassian.jira.plugi... ]
Rob Stryker commented on JBIDE-19056:
-------------------------------------
Just replicated in master (ie not with the maintenance using master's parent pom) and it's telling me my master needs to be higher version than my master ;)
> A Mojo to validate a version (compared to baseline)
> ---------------------------------------------------
>
> Key: JBIDE-19056
> URL: https://issues.jboss.org/browse/JBIDE-19056
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: build
> Affects Versions: 4.2.2.Final
> Reporter: Mickael Istria
> Assignee: Mickael Istria
> Attachments: build.out
>
>
> We need a mojo that compares a newly-built artifact with other versions of this IU that we have already released.
> Such a mojo would fail is version isn't correct (lower than same one on that stream, equal to another one already released but with different content...)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months