<!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="http://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;">
    Portlet Development is Effectively Unusable in JBoss Tools
</h3>
<span style="margin-bottom: 10px;">
    reply from <a href="http://community.jboss.org/people/factor3">Robert Brown III</a> in <i>JBoss Tools Development</i> - <a href="http://community.jboss.org/message/554904#554904">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p><span style="font-size: 12pt;">Greetings, all:</span></p><p><span style="font-size: 12pt;"><br/></span></p><p><span style="font-size: 12pt;">1. Yes, as it turns out, the Gatein Portlet Container V3 with JBoss 5.1 is exactly what I have been using.</span></p><p><span style="font-size: 12pt;"><br/></span></p><p><span style="font-size: 12pt;">&#160;&#160; It figures! Of all the configurations available I would end up choosing the one configuration that JBoss Tools would not recognize.&#160; I sure would make a great test engineer... <span> :D </span></span></p><p><span style="font-size: 12pt;"><br/></span></p><p><span style="font-size: 12pt;">2.&#160; As for the user libraries: OK, perhaps the word "force" was a little too strong. How does "make life difficult if you don't" sound?</span></p><p><span style="font-size: 12pt;"><br/></span></p><p><span style="font-size: 12pt;">3. I do see your point, if the tools cannot detect the container then how will it be able to "find" the appropriate Jars? The problem with this is: why should the facet be "finding" anything?</span></p><p><span style="font-size: 12pt;"><br/></span></p><p><span style="font-size: 12pt;">&#160;&#160; You make some good points about not wanting to "shove" a&#160; particular JBoss portlet version down people's throats. But consider&#160; what "user jars"you are having people select in an environment that the Tools detects: 1. the basic JSR-286 Portlet Jar, 2. JBoss Seam&#160; Jars, and 3. JSF Jars. I submit that you are already locking people in, because the only environments that you detect are JBoss environments. </span></p><p><span style="font-size: 12pt;"><br/></span></p><p><span style="font-size: 12pt;">&#160;&#160; Furthermore, the jars offered are (with the exception of Seam and Seam- specific JSF tags) pretty standard for all portlets. Providing the basic portlet-api jar with the facet wouldn't be locking anybody into anything, and the Seam jars are for JBoss environments and won't change regardless of the JBoss bundle used. So again: why should the facet be "finding" anything?</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"><span style="font-size: 12pt;"> </span>&#160;</p><p><span style="font-size: 12pt;">&#160;&#160; The necessary jars can easily be included (within the development environment) as part of the plugin. When the facet is chosen, the jars could then be added to the classpath. You can even include different versions of some standard jars (for example: a Portlet 1 API jar in case people want to make JSR-168 portlets). That is how the Eclopse Portal Tools plugin does its thing. It uses its own copies of the jars so that the code can compile without problems. When running the test portlet container it deploys the WAR without the Jars (which shouldn't be needed at runtime because the container should already load them). That way, I don't necessarily have to depend on the facet to "find" anything. If the necessary Jar(s) are not in the container's library, then I have no business using the container in the first place.<br/></span></p><p><span style="font-size: 12pt;"><br/></span></p><p><span style="font-size: 12pt;">&#160;&#160; My only question here is: why don't you folks do something similar? It is ridiculous to have a facet which you can turn on and off, then have that facet depend on what amounts to external jars that are always going to be the same anyway. Either set the classpath automatically within the facet (if you absolutely <em>must</em> have the portal environment detection) or include the jars with the plugin and set a "development classpath" to those jars. Either way you can eliminate the need for a "user library" selection which, in the end, is clumsy from a UI standpoint and redundant in a complete and properly implemented facet.</span></p><p><span style="font-size: 12pt;"><br/></span></p><p><span style="font-size: 12pt;">&#160; This is, of course,&#160; just a suggestion, guys...</span></p><p><span style="font-size: 12pt;"><br/></span></p></div>

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


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

</div>

</body>
</html>