<!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;">
    Re: My issues (or missunderstandings) with Jboss Tools
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/Kragoth">Tim Evers</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/message/594010#594010">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi Max and Alexey,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks for your replies. I'm sorry I went on a bit of a rant...I was getting really frustrated. <span> X-( </span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>We just deployed our system live this past week hence my delay in responding.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>So, I'll try address the issues 1 at a time and see if we can make progress.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>My goal here is to get to the point where I can use the find usages feature on a method in a Seam bean and have my xhtml EL expressions appear in the list of results. This is the most important feature for me to get working at the moment.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>First. <strong>Add Seam Support</strong></p><p>&#160;&#160;&#160;&#160; I am doing this by right-clicking my project -&gt; configure -&gt; Add Seam Support</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160; Example 1:</p><p>&#160;&#160;&#160;&#160; Checkbox checked. Click Apply. (So far I have not filled in a Seam runtime, just checked the box and clicked apply)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160; Expected outcome: Seam Builder added to my .project</p><p>&#160;&#160;&#160;&#160; Actual outcome: .project is unmodified and the Seam builder does not run (I'll add example later for what happens when I add a Seam Runtime)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160; Example 2:</p><p>&#160;&#160;&#160;&#160; Checkbox - checked</p><p>&#160;&#160;&#160;&#160; Add new Seam Runtime (See my details below about my issue with that)</p><p>&#160;&#160;&#160;&#160; Main Seam Project - gekko (my project name)</p><p>&#160;&#160;&#160;&#160; Deploy type - WAR</p><p>&#160;&#160;&#160;&#160; View Folder - /gekko/gekko-web/prod-src/web</p><p>&#160;&#160;&#160;&#160; Model-&gt;Source Folder - BLANK</p><p>&#160;&#160;&#160;&#160; Action/Form/Conversation-&gt;Source Folder - /gekko/gekko-web/prod-src/java</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -&gt;Package - gekko</p><p>&#160;&#160;&#160;&#160; Create Test - NOT checked</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160; Expected outcome: Seam builder added to .project</p><p>&#160;&#160;&#160;&#160; Actual outcome: Seam builder added to .project - SUCCESS (although I'm unsure about whether it will work on other machines yet).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Second: <strong>New Seam Runtime</strong></p><p>&#160;&#160;&#160;&#160; The project is worked on by multiple people so, if I add a Seam runtime I want the settings to work on everyone's machine. </p><p>&#160;&#160;&#160;&#160; The Home Folder location is a hardcoded directory. If a directory relative to the project could be used then the settings become more sharable.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Third: <strong>Add JSF Capabilities</strong></p><p><strong>&#160;&#160;&#160;&#160; Project Location Window<br/></strong></p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; web.xml Location is a hardcoded location. This should be a project relative directory.</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value - X:/afolder/path/gekko/gekko-web/config/web/WEB-INF/web.xml</p><p>&#160;&#160;&#160;&#160; <strong>Project Folders</strong></p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Once again all non relative paths.</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Web Root - X:/afolder/path/gekko/gekko-web</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Source Folder - X:/afolder/path/gekko/gekko-web/prod-src/java</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Classes Folder - X:/afolder/path/gekko-build/gekko-web/classes/prod</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Lib Folder - BLANK (really not sure what I'm supposed to put here)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Add Libraries - NOT checked</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Servlet Version - 2.5</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Runtime - Apache Tomcat v6.0 (created runtime)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Now after doing all this the builders and natures in my .project file now look like this. (Ignore my external builder that just copies some config files for me).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive_text_macro jive_macro_quote"><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;buildCommand&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;name&gt;org.eclipse.wst.common.project.facet.core.builder&lt;/name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;arguments&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/arguments&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/buildCommand&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;buildCommand&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;name&gt;org.eclipse.wst.validation.validationbuilder&lt;/name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;arguments&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/arguments&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/buildCommand&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;buildCommand&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;name&gt;org.eclipse.jdt.core.javabuilder&lt;/name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;arguments&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/arguments&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/buildCommand&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;buildCommand&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;name&gt;org.eclipse.ui.externaltools.ExternalToolBuilder&lt;/name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;triggers&gt;auto,full,incremental,&lt;/triggers&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;arguments&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;dictionary&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;key&gt;LaunchConfigHandle&lt;/key&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;value&gt;&amp;lt;project&amp;gt;/.externalToolBuilders/CopyConfig.launch&lt;/value&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/dictionary&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/arguments&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/buildCommand&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;buildCommand&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;name&gt;org.jboss.tools.seam.core.seambuilder&lt;/name&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;arguments&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/arguments&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/buildCommand&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;natures&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;nature&gt;org.eclipse.jem.workbench.JavaEMFNature&lt;/nature&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;nature&gt;org.jboss.ide.eclipse.archives.core.archivesNature&lt;/nature&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;nature&gt;org.eclipse.jdt.core.javanature&lt;/nature&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;nature&gt;com.atlassw.tools.eclipse.checkstyle.CheckstyleNature&lt;/nature&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;nature&gt;org.jboss.tools.jst.web.kb.kbnature&lt;/nature&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;nature&gt;org.jboss.tools.seam.core.seamnature&lt;/nature&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;nature&gt;org.eclipse.wst.common.modulecore.ModuleCoreNature&lt;/nature&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;nature&gt;org.jboss.tools.jsf.jsfnature&lt;/nature&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;nature&gt;org.eclipse.wst.common.project.facet.core.nature&lt;/nature&gt;</p><p>&#160;&#160;&#160; &lt;/natures&gt;</p></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>So after doing all this I expect to be able to go to any of my Seam beans and do a find usages on a method and see all the times a method has been called in my xhtml pages via EL expressions.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>So, I select a seam bean method and press Ctrl+Shift+G and no results. *sigh*</p><p>Go to the Search menu and press Seam References and BOOM got a result! WTH?</p><p>Do a refactor and it changes my .xhtml WOOHOO!! I'm getting excited.</p><p>Do another refactor to change it back to the old value and it only refactors 1 of the 2 locations....not so good now.</p><p>Manually go fix up these two spots and do a search for references again and now I get nothing.</p><p>I force a rebuild of my project and now the search is working again. Not sure what the go is there but...hey. it's working now!</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>So it appears in my efforts to explain my problem that it has started working for me. And although I complained about all the paths being non relative I can't find anywhere in my settings where the hardcoded values have been used. So, maybe its not an issue. The setup of all this did create a brand new WEB-INF directory in the root of my gekko-web directory but deleting it appears to solve the problem.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I'm a tad confused now but, it'll do. <span> :) </span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks guys.</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/594010#594010">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="http://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>