<!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;">
    Project Examples Sites
</h3>
<span style="margin-bottom: 10px;">
    modified by <a href="http://community.jboss.org/people/fbricon">Fred Bricon</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/docs/DOC-14955">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Project Examples is a JBoss Tools feature that provides creating and importing different Eclipse and Maven projects.</p><p>A project example contains one or more Eclipse/Maven projects archived in zip format.</p><p>Project examples of the type "mavenArchetype" and "mavenGit" don't require a zip file.&#160; It is enough to declare them in the project examples xml file. </p><h4>Project Examples Sites</h4><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>Project examples are organized in sites. A site is a local or remote xml file that describes one or more project examples. </span><br/><span> </span><br/><span> The sites can be defined in three ways: </span><br/><span> </span></p><ul><li>using an extension point Below, it is shown an example of an extension point for defining the "JBoss Tools Community Examples" site:&#160;&#160;&#160;&#160;&#160; </li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre><br/></pre><p>&#160;&#160; &lt;extension</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; point="org.jboss.tools.project.examples.projectExamplesXml"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; name="JBoss Tools 32 Community_Examples"&gt;</p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;url&gt;</span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-3.2.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-3.2.xml</a><span>&lt;/url&gt;</span></p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;experimental&gt;false&lt;/experimental&gt;</p><p>&#160;&#160; &lt;/extension&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre><br/></pre><p>The extension point contains the name of the site, the URL on which the xml file is placed and a flag that indicates whether the file is experimental. Experimental sites aren't shown by default. <br/> The user imports project examples using the <strong>Help&gt;Project Examples</strong> menu, as shown in the following figure: </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-14955-11-2268/projectExamples1.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-14955-11-2268/450-596/projectExamples1.png </span></a></p><ul><br/> <br/><li>adding a user site within the Project Examples Dialog The user can add his own site using the Project Example Dialog as shown in the following figure: </li></ul><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-14955-11-2269/projectExamples2.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-14955-11-2269/450-461/projectExamples2.png </span></a></p><ul><li></li><li>by adding the "org.jboss.tools.project.examples.xml" system property when starting Eclipse For example: <br/> -Dorg.jboss.tools.project.examples.xml=file:///E:/temp/MyProjects.xml </li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>User sites and a site added using the system property are always experimental.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>The Project Examples Engine uses ECF to download zip archives which means that the sites (xml files) and project examples (zip archives) can be password protected.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The following site is defined in the org.jboss.tools.project.examples plugin</p><ul><li>Shared Examples - <a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-3.0.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-shared-3.3.xml</a></li></ul><p>The 5 project examples defined in this site are shown both in JBDS and JBoss Tools</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The following sites are defined in the com.jboss.jbds.project.examples plugin:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li><span>JBoss Developer Studio Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-3.0.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-3.0.xml</a></li><li><span>JBoss Developer Studio 3.0 Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-jbds30.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-jbds30.xml</a></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>Project examples defined in these sites are shown only in JBDS.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The org.jboss.tools.community.project.examples plugin defines the following sites:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li><span>JBoss Tools 3.1 Community Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml</a></li><li><span>JBoss Tools Community BPEL Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-bpel-3.1.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-bpel-3.1.xml</a></li><li><span>JBoss Tools 3.2 Community Maven Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-maven-3.2.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-maven-3.2.xml</a></li><li><span>JBoss Tools 3.3 Community Maven Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-maven-3.3.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-maven-3.3.xml</a></li></ul><p>The org.jboss.tools.project.examples plugin defines the following sites:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li><span>JBoss Tools 3.2 Community Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-3.2.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-3.2.xml</a></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Project examples defined in these sites are shown in both JBoss Tools and JBDS.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h4>Changes in JBDS 4.0.1/JBoss Tools 3.2.1</h4><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h5>JBDS 4.0.1</h5><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li><span>JBoss Developer Studio 4.0 Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-jbds40.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-jbds40.xml</a></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>All the examples from JBDS 4.0.0 including the Teiid examples have been moved to the above site.</p><p>The site is defined in the com.jboss.jbds.project.examples plugin</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h5>JBoss Tools 3.2.1</h5><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li><span> JBoss Tools 3.1 Community Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-community-3.1.xml</a></li><li><span> JBoss Tools Community BPEL Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-bpel-3.1.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-bpel-3.1.xml</a></li><li><span> JBoss Tools 3.2 Community Maven Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-maven-3.2.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-maven-3.2.xml</a></li><li><span> JBoss Tools 3.3 Community Maven Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-maven-3.3.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-maven-3.3.xml</a></li><li><span> JBoss Tools 3.2 Community Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-3.2.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-3.2.xml</a><span> (the Teiid examples)</span></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p> These sites are defined in the org.jboss.tools.community.project.examples plugin.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p> There isn't any site defined in the org.jboss.tools.project.examples plugin.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>If an example needs to be in both, JBDS 4.0.1 and JBoss Tools 3.2.1, it should be added to :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span> JBoss Developer Studio 4.0 Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-jbds40.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-jbds40.xml</a><span> (JBDS)</span></p><p>and some of the JBoss Tools sites.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The Teiid examples, for instance, have been added to :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>JBoss Developer Studio 4.0 Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-jbds40.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-jbds40.xml</a></p><p>and</p><p><span>JBoss Tools 3.2 Community Examples - </span><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/examples/project-examples-3.2.xml" target="_blank">http://download.jboss.org/jbosstools/examples/project-examples-3.2.xml</a><span> </span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>See <a class="jive-link-external-small" href="https://issues.jboss.org/browse/JBDS-1590">JBDS-1590</a> and <a class="jive-link-external-small" href="https://issues.jboss.org/browse/JBIDE-8516">JBIDE-8516</a>. </p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Comment by <a href="http://community.jboss.org/docs/DOC-14955">going to Community</a></p>

        <p style="margin: 0;">Create a new document in JBoss Tools at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>