[JBoss JIRA] (FORGE-657) Missing mime-mapping in web.xml
by George Gastaldi (JIRA)
George Gastaldi created FORGE-657:
-------------------------------------
Summary: Missing mime-mapping in web.xml
Key: FORGE-657
URL: https://issues.jboss.org/browse/FORGE-657
Project: Forge
Issue Type: Bug
Components: Java EE APIs
Reporter: George Gastaldi
To eliminate the annoying log jboss server log:
{code}
23:59:54,914 AVVERTENZA [javax.enterprise.resource.webcontainer.jsf.context] (http--127.0.0.1-8080-1) JSF1091: No mime type could be found for file favicon.ico. To resolve this, add a mime-type mapping to the applications web.xml
{code}
you should add on web.xml:
{code:xml}
<mime-mapping>
<extension>ico</extension>
<mime-type>image/x-icon</mime-type>
</mime-mapping>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] (FORGE-528) quickstart example "forge-from-scratch" does not work
by Gernot P (JIRA)
Gernot P created FORGE-528:
------------------------------
Summary: quickstart example "forge-from-scratch" does not work
Key: FORGE-528
URL: https://issues.jboss.org/browse/FORGE-528
Project: Forge
Issue Type: Bug
Affects Versions: 1.0.2.Final
Reporter: Gernot P
running quickstart example "forge-from-scratch" (https://github.com/jbossas/quickstart/tree/master/forge-from-scratch) I get an error
"***ERROR*** [run] String index out of range: -1"
Here's the console output (I'm using Forge1.0.2Final):
? [named=The name of the new project (of type java.lang.String)]: forge5
? [topLevelPackage=The top-level java package for the project [e.g: "com.example.project"] (of type java.lang.String)]: test
***SUCCESS*** Created project [forge5] in new working directory [D:\/workspace/jsf-jboss/forge5]
Wrote D:\/workspace/jsf-jboss/forge5
Wrote D:\/workspace/jsf-jboss/forge5/pom.xml
Wrote D:\/workspace/jsf-jboss/forge5/src/main/java
Wrote D:\/workspace/jsf-jboss/forge5/src/test/java
Wrote D:\/workspace/jsf-jboss/forge5/src/main/resources
Wrote D:\/workspace/jsf-jboss/forge5/src/test/resources
Wrote D:\/workspace/jsf-jboss/forge5/src/main/java/test
Wrote D:\/workspace/jsf-jboss/forge5/src/main/resources/META-INF/forge.xml
***SUCCESS*** Installed [forge.maven.WebResourceFacet] successfully.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Wrote D:\/workspace/jsf-jboss/forge5/src/main/webapp
Wrote D:\/workspace/jsf-jboss/forge5/pom.xml
Wrote D:\/workspace/jsf-jboss/forge5/src/main/resources/META-INF/persistence.xml
***ERROR*** [run] String index out of range: -1
[forge5] forge5 $
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] (FORGE-526) Classifiers not considered correctly in dependency resolution
by Sandro Sonntag (JIRA)
Sandro Sonntag created FORGE-526:
------------------------------------
Summary: Classifiers not considered correctly in dependency resolution
Key: FORGE-526
URL: https://issues.jboss.org/browse/FORGE-526
Project: Forge
Issue Type: Bug
Affects Versions: 1.0.2.Final
Reporter: Sandro Sonntag
Added consideration of classifiers. With this change its possible add the same artifact with different classifiers. This is very important for GWT appliactions because they need a class and a source jar to compile. With out that the dependency is always overridden and the classifier is ignored.
This codesample does not work:
Dependency hibernateValidatorSources = DependencyBuilder
.create("org.hibernate:hibernate-validator:4.2.0.Final:compile:jar").setClassifier("sources");
Dependency hibernateValidator = DependencyBuilder
.create("org.hibernate:hibernate-validator:4.2.0.Final:compile:jar");
installer.install(project, hibernateValidatorSources, hibernateValidatorSources.getScopeTypeEnum());
installer.install(project, hibernateValidatorSources, hibernateValidatorSources.getScopeTypeEnum());
best regards
Sandro
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months