[jbosstools-issues] [JBoss JIRA] (JBIDE-20071) Allow deploying exploded jars to war/WEB-INF/lib

Giovanni Tomasicchio (JIRA) issues at jboss.org
Thu Oct 15 10:45:02 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118729#comment-13118729 ] 

Giovanni Tomasicchio commented on JBIDE-20071:
----------------------------------------------

Sorry, my fault.

Trying to reproduce the issue in a simple web project I found that the "file not found" exception occurs for a template.tag file placed in META-INF\tags of an exploded JAR in WEB-INF\lib of a WAR.
The template.tag file is declared in a META-INF\template.tld that contains the following lines:

<tag-file>
    <name>template</name>
    <path>/META-INF/tags/template.tag</path>
</tag-file>

So JBoss is not able to access the path /META-INF/tags/template.tag if the JAR is exploded.

I verified this issue simply by exploding the JAR that contains the .tag file.

Sorry again for the wrong reporting.

> Allow deploying exploded jars to war/WEB-INF/lib
> ------------------------------------------------
>
>                 Key: JBIDE-20071
>                 URL: https://issues.jboss.org/browse/JBIDE-20071
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: server
>    Affects Versions: 4.2.3.Final
>         Environment: JBoss Developer Studio 8.1.0.GA
>            Reporter: Vsevolod Golovanov
>            Assignee: Rob Stryker
>              Labels: new_and_noteworthy
>             Fix For: 4.3.0.Beta2
>
>
> There were JBIDE-10318, JBIDE-9836 before. They were pretty strict in that deploying expoded JARs in WAR/WEB-INF/lib is not allowed for some reason. The only actual reason seemed to be that the server at the time refused to deploy such structure. Maybe the server was in the wrong? This was fixed in AS7-4704.
> Now with Wildfly 8.2.0.Final exploded JARs in WAR/WEB-INF/lib deploy correctly, at least Weld, EJB, JSF seem to work fine.
> The main use case for this is creating a modular web application, with different parts implemented in separate projects. Hot deploying of resources, such as Facelets' XHTMLs, is crucial for development. So the JARs need to be exploded.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list