<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Incremental publish of Dynamic Web Project problem
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/rob.stryker">Rob Stryker</a> in <i>JBoss Tools</i> - <a href="https://community.jboss.org/message/741664#741664">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p style="color: #000000; font-family: arial; font-size: small;">&gt; Project_1 (in the deployment assembly tab it has dependencies jar1.jar and jar2.jar)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The language here is unclear. It sounds like you're saying if you right-click Project1, and go to project1's deployment assembly tab, you are putting the dependency to jar1 and jar2 there. If that's the case, then you are "doing it wrong" (heh).&#160; By going to project1's deployment assembly tab and making sure jar1 and jar2 are listed, this is telling the tools to make sure jar1 and jar2 live INSIDE project1.jar.&#160; </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The structure I just tried is as follows:</p><p>1) create 6 java projects (lib1-lib6)</p><p>2) Create 2 utility projects (project1, project2)</p><p>3) Create 1 web project (DynWeb)</p><p>4) right click project1, go to deployment assembly, add lib1 and lib2 projects</p><p>5) right click project2, go to deployment assembly, add lib3 and lib4 projects</p><p>6) right click DynWeb, go to deployment assembly, add lib5 and lib6 projects, then add project1 and project2 projects</p><p>7) Deploy to deploy-only server (or jboss-as server, same result)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>In the end, this structure ends up with a layout like this:</p><p>Dynweb.war</p><p>Dynweb.war/WEB-INF/lib</p><p>Dynweb.war/WEB-INF/lib/lib5.jar</p><p>Dynweb.war/WEB-INF/lib/lib6.jar</p><p>Dynweb.war/WEB-INF/lib/project1.jar</p><p>Dynweb.war/WEB-INF/lib/project2.jar</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>If you then unzip project1.jar and project2.jar, you will find hte missing lib1-lib4 jars.&#160; They live inside project1 and project2 jars. This seems to be working as intended. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>It'd be great if you could send over a zip with some very simple mostly-empty example projects (just throw one class in each I guess...) so that I can fully understand the structure. Then we can discover pretty quickly if this is a user error or a bug in the toolset. <span> :) </span> </p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/741664#741664">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>