<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Settings and Preferences for Eclipse IDE for JAVA Developers (Luna)]]></title><description><![CDATA[<p dir="auto">To maintain code style and format across developers contribution,<br />
we have to use the following style files on ecplise IDE for MyController Java codes.</p>
<h4>Clean Up Templates</h4>
<p dir="auto">File: <a href="http://www.mycontroller.org/files/eclipse/mycontroller-eclipse-preferences-java-codestyle-cleanup.xml" rel="nofollow ugc">mycontroller-eclipse-preferences-java-codestyle-cleanup.xml</a></p>
<ul>
<li>Window -&gt; Preferences -&gt; Java -&gt; Code Style -&gt; Clean Up -&gt; Import…</li>
<li>Select <code>mycontroller-eclipse-preferences-java-codestyle-cleanup.xml</code> -&gt; and click <em>OK</em></li>
</ul>
<h4>Import Code Templates</h4>
<p dir="auto">File: <a href="http://www.mycontroller.org/files/eclipse/mycontroller-eclipse-preferences-java-codestyle-codetemplates.xml" rel="nofollow ugc">mycontroller-eclipse-preferences-java-codestyle-codetemplates.xml</a></p>
<ul>
<li>Window -&gt; Preferences -&gt; Java -&gt; Code Style -&gt; Code Templates -&gt; Import…</li>
<li>Select <code>mycontroller-eclipse-preferences-java-codestyle-codetemplates.xml</code> and click <em>OK</em></li>
</ul>
<h4>Import Formatter</h4>
<p dir="auto">File: <a href="http://www.mycontroller.org/files/eclipse/mycontroller-eclipse-preferences-java-codestyle-formatter.xml" rel="nofollow ugc">mycontroller-eclipse-preferences-java-codestyle-formatter.xml</a></p>
<ul>
<li>Window -&gt; Preferences -&gt; Java -&gt; Code Style -&gt; Formatter-&gt; Import…</li>
<li>Select <code>mycontroller-eclipse-preferences-java-codestyle-formatter.xml</code> and click <em>OK</em></li>
</ul>
<h4>Import correct import order settings</h4>
<p dir="auto">File: <a href="http://www.mycontroller.org/files/eclipse/mycontroller-eclipse-preferences-java-codestyle-organizeimports.importorder" rel="nofollow ugc">mycontroller-eclipse-preferences-java-codestyle-organizeimports.importorder</a></p>
<ul>
<li>Window -&gt; Preferences -&gt; Java -&gt; Code Style -&gt; Organize Imports -&gt; Import…</li>
<li>Select <code>mycontroller-eclipse-preferences-java-codestyle-organizeimports.importorder</code> and click <em>OK</em></li>
</ul>
<h4>Install lombok project in eclipse</h4>
<ul>
<li><a href="http://Mycontroller.org" rel="nofollow ugc">Mycontroller.org</a> using <code>lombok</code> project for builders. To install <code>lombok</code> with your eclipse. Watch demo video in <code>lombok</code><a href="https://projectlombok.org/" rel="nofollow ugc"> project page</a>.</li>
<li><a href="https://projectlombok.org/videos/lombok.ogv" rel="nofollow ugc">https://projectlombok.org/videos/lombok.ogv</a></li>
<li>Note: If double click of <code>lombok.jar</code> not launching, run <code>java -jar lombok.jar</code> and point out your eclipse installed location or extracted location.</li>
</ul>
]]></description><link>http://forum.mycontroller.org/topic/3/settings-and-preferences-for-eclipse-ide-for-java-developers-luna</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 01:50:12 GMT</lastBuildDate><atom:link href="http://forum.mycontroller.org/topic/3.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Mar 2016 23:27:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Settings and Preferences for Eclipse IDE for JAVA Developers (Luna) on Fri, 30 Dec 2016 01:53:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fraid" aria-label="Profile: Fraid">@<bdi>Fraid</bdi></a> I am using Eclipse Luna. Let me try with Helios.</p>
]]></description><link>http://forum.mycontroller.org/post/462</link><guid isPermaLink="true">http://forum.mycontroller.org/post/462</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Fri, 30 Dec 2016 01:53:48 GMT</pubDate></item><item><title><![CDATA[Reply to Settings and Preferences for Eclipse IDE for JAVA Developers (Luna) on Thu, 29 Dec 2016 23:31:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a> Yes I did over four time. Formatter and CleanUp section as for profile "<a href="http://MyController.org" rel="nofollow ugc">MyController.org</a>".<br />
I'm using mac with Eclipse Helios.</p>
]]></description><link>http://forum.mycontroller.org/post/461</link><guid isPermaLink="true">http://forum.mycontroller.org/post/461</guid><dc:creator><![CDATA[Fraid]]></dc:creator><pubDate>Thu, 29 Dec 2016 23:31:32 GMT</pubDate></item><item><title><![CDATA[Reply to Settings and Preferences for Eclipse IDE for JAVA Developers (Luna) on Thu, 29 Dec 2016 01:40:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fraid" aria-label="Profile: Fraid">@<bdi>Fraid</bdi></a> Have you imported all the 4 files mentioned on main section for eclipse?</p>
<p dir="auto">To add license file use the following command</p>
<pre><code>mvn license:format
</code></pre>
]]></description><link>http://forum.mycontroller.org/post/457</link><guid isPermaLink="true">http://forum.mycontroller.org/post/457</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Thu, 29 Dec 2016 01:40:16 GMT</pubDate></item><item><title><![CDATA[Reply to Settings and Preferences for Eclipse IDE for JAVA Developers (Luna) on Wed, 28 Dec 2016 11:47:42 GMT]]></title><description><![CDATA[<p dir="auto">I think there is an issue with the Copyright settings.<br />
When you create a new class,  select "generate comments", the generated copyright will start like :<br />
" <em><strong>Copyright 2016 Jeeva Kandasamy (jkandasa@gma....</strong></em>"</p>
<p dir="auto">while maven license will check for header starting with:<br />
"<em><strong>Copyright 2015-2016 Jeeva Kandasamy (jkandasa@gma...</strong></em>".<br />
The build will failed.</p>
<p dir="auto">Also formating code doesn't work as expected.<br />
In <em>GatewayUtils.java</em> class for exemple, formating goes from the following :</p>
<hr />
<pre><code>SERIAL("Serial"),
ETHERNET("Ethernet"),
MQTT("MQTT"),
PHANT_IO("Sparkfun [phant.io]"),
PHILIPS_HUE("Philips Hue");
</code></pre>
<hr />
<p dir="auto">to this:</p>
<hr />
<pre><code>SERIAL("Serial"), ETHERNET("Ethernet"), MQTT("MQTT"), PHANT_IO("Sparkfun [phant.io]"), PHILIPS_HUE("Philips Hue");
</code></pre>
<hr />
]]></description><link>http://forum.mycontroller.org/post/456</link><guid isPermaLink="true">http://forum.mycontroller.org/post/456</guid><dc:creator><![CDATA[Fraid]]></dc:creator><pubDate>Wed, 28 Dec 2016 11:47:42 GMT</pubDate></item><item><title><![CDATA[Reply to Settings and Preferences for Eclipse IDE for JAVA Developers (Luna) on Tue, 27 Dec 2016 16:29:12 GMT]]></title><description><![CDATA[<p dir="auto">Not sure what happen, I previously has other project on maven, maybe there was some conflict.</p>
<p dir="auto">I make it work now, by reinstalling/downloading everything from scratch (workspace deleted, m2 repo was also removed) then I run "mvn eclipse:eclipse", open eclipse.<br />
Import maven project and worked now.</p>
]]></description><link>http://forum.mycontroller.org/post/448</link><guid isPermaLink="true">http://forum.mycontroller.org/post/448</guid><dc:creator><![CDATA[Fraid]]></dc:creator><pubDate>Tue, 27 Dec 2016 16:29:12 GMT</pubDate></item><item><title><![CDATA[Reply to Settings and Preferences for Eclipse IDE for JAVA Developers (Luna) on Tue, 27 Dec 2016 14:52:44 GMT]]></title><description><![CDATA[<p dir="auto">Same issue, Build SUCCESS, no warning either but eclipse still showing red warning.</p>
]]></description><link>http://forum.mycontroller.org/post/447</link><guid isPermaLink="true">http://forum.mycontroller.org/post/447</guid><dc:creator><![CDATA[Fraid]]></dc:creator><pubDate>Tue, 27 Dec 2016 14:52:44 GMT</pubDate></item><item><title><![CDATA[Reply to Settings and Preferences for Eclipse IDE for JAVA Developers (Luna) on Tue, 27 Dec 2016 02:29:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fraid" aria-label="Profile: Fraid">@<bdi>Fraid</bdi></a> I never worked with MAC. However, the eclipse will be common on all platforms.</p>
<p dir="auto">Can you try to build as eclipse project via maven by executing the following command? And import as <code>Existing project in to workspace</code></p>
<pre><code>git clone https://github.com/mycontroller-org/mycontroller
cd mycontroller/
mvn eclipse:eclipse
</code></pre>
]]></description><link>http://forum.mycontroller.org/post/442</link><guid isPermaLink="true">http://forum.mycontroller.org/post/442</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Tue, 27 Dec 2016 02:29:40 GMT</pubDate></item><item><title><![CDATA[Reply to Settings and Preferences for Eclipse IDE for JAVA Developers (Luna) on Mon, 26 Dec 2016 17:16:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a> I have a some issue installing the project.<br />
I’m using mac os 10.10.5, eclipse neon , lombok 1.16.12 and java 8.</p>
<p dir="auto">I can build from maven without issue, but eclipse still show me error about :</p>
<p dir="auto">*APPLICATION_JSON cannot be resolved to a variable	AuthenticationHandler.java	/mycontroller/modules/core/src/main/java/org/mycontroller/standalone/api/jaxrs	line 48	Java Problem</p>
<p dir="auto">ALLOW_ANONYMOUS_PROPERTY_NAME cannot be resolved to a variable	BrokerConfiguration.java	/mycontroller/modules/core/src/main/java/org/mycontroller/standalone/mqttbroker	line 67	Java Problem</p>
<p dir="auto">ClientResponse cannot be resolved to a type	PushbulletUtils.java	/mycontroller/modules/core/src/main/java/org/mycontroller/standalone/operation	line 110	Java Problem</p>
<p dir="auto">ConnectionSource cannot be resolved to a type	DataBaseUtils.java	/mycontroller/modules/core/src/main/java/org/mycontroller/standalone/db	line 63	Java Problem*</p>
<p dir="auto">Annotation @Slf4j also show in red. I thought at first it’s because of lombok but it’s actually installed (I can see it from about eclipse). But I created a simple  test project, I can use lombok with annotation « @data » and @Slf4j  without red warning.</p>
<p dir="auto">I also switch to lombok 1.16.10 and eclipse luna but no luck.</p>
<p dir="auto">Any idea what I missing, what is your project configuration eclipse, lombok version ?</p>
]]></description><link>http://forum.mycontroller.org/post/441</link><guid isPermaLink="true">http://forum.mycontroller.org/post/441</guid><dc:creator><![CDATA[Fraid]]></dc:creator><pubDate>Mon, 26 Dec 2016 17:16:19 GMT</pubDate></item><item><title><![CDATA[Reply to Settings and Preferences for Eclipse IDE for JAVA Developers (Luna) on Mon, 07 Mar 2016 20:22:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a> ok clean project in eclipse mars seems enough to make it work.</p>
<p dir="auto"><a href="http://stackoverflow.com/questions/31297342/lombok-not-working-in-eclipse-mars" rel="nofollow ugc">http://stackoverflow.com/questions/31297342/lombok-not-working-in-eclipse-mars</a></p>
]]></description><link>http://forum.mycontroller.org/post/13</link><guid isPermaLink="true">http://forum.mycontroller.org/post/13</guid><dc:creator><![CDATA[gbrd]]></dc:creator><pubDate>Mon, 07 Mar 2016 20:22:45 GMT</pubDate></item><item><title><![CDATA[Reply to Settings and Preferences for Eclipse IDE for JAVA Developers (Luna) on Fri, 04 Mar 2016 15:28:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gbrd" aria-label="Profile: gbrd">@<bdi>gbrd</bdi></a><br />
Yes, we need to install lombok in eclipse. Thank you for this. I have added tutorial video how to install <code>lombok</code> in eclipse.</p>
]]></description><link>http://forum.mycontroller.org/post/12</link><guid isPermaLink="true">http://forum.mycontroller.org/post/12</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Fri, 04 Mar 2016 15:28:32 GMT</pubDate></item><item><title><![CDATA[Reply to Settings and Preferences for Eclipse IDE for JAVA Developers (Luna) on Fri, 04 Mar 2016 14:10:42 GMT]]></title><description><![CDATA[<p dir="auto">It seems that lombok is needed too.<br />
I did not succeed in installing it on eclipse mars for now.</p>
]]></description><link>http://forum.mycontroller.org/post/11</link><guid isPermaLink="true">http://forum.mycontroller.org/post/11</guid><dc:creator><![CDATA[gbrd]]></dc:creator><pubDate>Fri, 04 Mar 2016 14:10:42 GMT</pubDate></item></channel></rss>