cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache CXF > cxf-m2eclipse
Date Thu, 09 Dec 2010 19:59:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/15/_/styles/combined.css?spaceKey=CXF&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/CXF/cxf-m2eclipse">cxf-m2eclipse</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~dvaleri">David
Valeri</a>
    </h4>
        <br/>
                         <h4>Changes (5)</h4>
                                 
    
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" ># Start with Eclipse Helios <br>#
Edit your config.ini (on MacOSX, perhaps eclipse.ini) to configure at least 512m of PermGen
space. We hope to reduce this requirement. <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">#
Import etc/eclipse.prefs from the CXF tree. This sets up all the workspace level preferences.
<br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">#
Setup the Eclipse workspace by importing the predefined CXF settings. <br>## Under Preferences
&gt; Java &gt; Code Style &gt; Code Templates, import etc/eclipse/codetemplates.xml.
<br>## Under Preferences &gt; Java &gt; Code Style &gt; Clean Up, import
/etc/eclipse/CXFCleanUp.xml. <br>## Under Preferences &gt; Java &gt; Code Style
&gt; Formatter, import /etc/eclipse/CXFCodeFormatter.xml. <br>## Under Preferences
&gt; Java &gt; Code Style &gt; Organize Imports, import /etc/eclipse/CXF.importorder.
<br></td></tr>
            <tr><td class="diff-unchanged" ># Install M2Eclipse (at least 0.12)
itself. Sonatype publishes instructions [here|http://m2eclipse.sonatype.org/installing-m2eclipse.html].
<br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">#
Install the Eclipse PMD and Eclipse Checkstyle Plug-ins from [here|http://pmd.sourceforge.net/eclipse/]
and [here|http://eclipse-cs.sourceforge.net/downloads.html] , respectively. <br></td></tr>
            <tr><td class="diff-changed-lines" ># Install Benson Margulies&#39;
<span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">PMD
and</span> Checkstyle <span class="diff-changed-words">configurator<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">s</span></span>
from [here|http://bimargulies.github.com/m2e-code-quality]. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">##
NOTE: While there is also a PMD configurator available, the CXF build uses a custom rule implementation
class.&amp;nbsp; The Eclipse PMD plug-in cannot locate this custom rule dynamically.&amp;nbsp;
Until a working solution exists, using the PMD configurator is best avoided as it will result
in project import failures. <br></td></tr>
            <tr><td class="diff-unchanged" ># Use the &#39;import&#39;
option from the m2eclipse menu, and stand back. <br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <p>The Maven core developers have stopped maintaining the maven-eclipse-plugin,
and shifted all their attention to M2Eclipse.</p>

<p>It is possible to get Eclipse to use the standard CXF settings, complete with checkstyle
and PMD, if you are willing to install and configure enough things.</p>

<ol>
	<li>Start with Eclipse Helios</li>
	<li>Edit your config.ini (on MacOSX, perhaps eclipse.ini) to configure at least 512m
of PermGen space. We hope to reduce this requirement.</li>
	<li>Setup the Eclipse workspace by importing the predefined CXF settings.
	<ol>
		<li>Under Preferences &gt; Java &gt; Code Style &gt; Code Templates, import
etc/eclipse/codetemplates.xml.</li>
		<li>Under Preferences &gt; Java &gt; Code Style &gt; Clean Up, import
/etc/eclipse/CXFCleanUp.xml.</li>
		<li>Under Preferences &gt; Java &gt; Code Style &gt; Formatter, import
/etc/eclipse/CXFCodeFormatter.xml.</li>
		<li>Under Preferences &gt; Java &gt; Code Style &gt; Organize Imports,
import /etc/eclipse/CXF.importorder.</li>
	</ol>
	</li>
	<li>Install M2Eclipse (at least 0.12) itself. Sonatype publishes instructions <a
href="http://m2eclipse.sonatype.org/installing-m2eclipse.html" class="external-link" rel="nofollow">here</a>.</li>
	<li>Install the Eclipse PMD and Eclipse Checkstyle Plug-ins from <a href="http://pmd.sourceforge.net/eclipse/"
class="external-link" rel="nofollow">here</a> and <a href="http://eclipse-cs.sourceforge.net/downloads.html"
class="external-link" rel="nofollow">here</a> , respectively.</li>
	<li>Install Benson Margulies' Checkstyle configurator from <a href="http://bimargulies.github.com/m2e-code-quality"
class="external-link" rel="nofollow">here</a>.
	<ol>
		<li>NOTE: While there is also a PMD configurator available, the CXF build uses a custom
rule implementation class.&nbsp; The Eclipse PMD plug-in cannot locate this custom rule
dynamically.&nbsp; Until a working solution exists, using the PMD configurator is best
avoided as it will result in project import failures.</li>
	</ol>
	</li>
	<li>Use the 'import' option from the m2eclipse menu, and stand back.</li>
</ol>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/CXF/cxf-m2eclipse">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=24188876&revisedVersion=2&originalVersion=1">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/CXF/cxf-m2eclipse?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message