<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:52:36 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[CONTROLLER-266] Fix handling of code generation in Eclipse</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-266</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Currently due to a bug in Eclipse, code generation is handled intermittently in ways that can make development challenging.  We need to find a workaround for this Eclipse bug.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="24820">CONTROLLER-266</key>
            <summary>Fix handling of code generation in Eclipse</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="hagbard">Ed Warnicke</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Apr 2014 12:45:20 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:23 +0000</updated>
                            <resolved>Mon, 14 Apr 2014 15:33:33 +0000</resolved>
                                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="47883" author="tnadeau@lucidvision.com" created="Wed, 2 Apr 2014 13:31:40 +0000"  >&lt;p&gt;The build-helper-maven-plugin allows eclipse to see the generated source folders. The projects that are red are basically missing the build-helper-maven-plugin in the pom. However, if you do Project-&amp;gt;Clean you lose the generated source. It would be ideal if eclipse could run the yang-maven-plugin during the generate-sources phase as the CLI does. I tried &quot;un-ignoring&quot; the yang-maven-plugin but that resulted in errors (went red in Maven-&amp;gt;Lifecycle Mapping). I think a yang m2e connector plugin for eclipse would have to be developed for this to work (similar to the ones for build-helper, jaxb and other maven plugins). &lt;/p&gt;

&lt;p&gt;The common pom defines a profile that tells eclipse to use the target-ide directory. I&apos;m new to ODL so I assume this was done to keep eclipse output separate from CLI so they don&apos;t affect one another. This is OK although devs have to know to first run &apos;mvn -P IDE ...&apos; if they want to use eclipse (I didn&apos;t see it doc&apos;ed on the wiki). However, after cloning the latest source last nite, the IDE profile yields compile errors in some netty projects - it works fine otherwise so it appears changes were made that assume generated source is under target. Since at least some devs have gone away from eclipse or don&apos;t use any IDE, I think the use of target-ide for eclipse will be problematic going forward - I&apos;d like to remove it.&lt;/p&gt;

&lt;p&gt;I&apos;ve used eclipse for years and prefer it over IntelliJ. IntelliJ has better support for generated source  - eclipse is better at other things. Both have pros and cons. In the end, I think it&apos;s personal preference and we shouldn&apos;t preclude the use of one over the other. My 2 cents...&lt;/p&gt;

&lt;p&gt;Another option re: generated source is to just check it in under src/main/java.&lt;/p&gt;</comment>
                            <comment id="47884" author="tpantelis" created="Thu, 3 Apr 2014 05:25:40 +0000"  >&lt;p&gt;Devin, Greg and I got our build errors down to 0 in eclipse. Some projects were simply missing the build-helper-maven-plugin. Others, mostly in the md-sal projects, incorrectly overrode the build-helper-maven-plugin execution definition from the parent pom so we removed the overridden execution definition. &lt;/p&gt;

&lt;p&gt;For Xtend, we had to add the 2.4.3 version of the xtend plugin. One xtend source file used a generic type syntax that resulted in the eclipse compiler yielding an error while javac compiled fine. This is a result of the slight differences between EJC and javac.&lt;/p&gt;

&lt;p&gt;The other change we made is to remove the maven IDE profile so that eclipse and CLI mvn share the target dir. This was motivated by recent changes that caused compile errors when building with the IDE profile. The changes were most likely introduced by someone who doesn&apos;t use eclipse. Removing the profile will avoid such issues for those who do use eclipse.&lt;/p&gt;

&lt;p&gt;The IDE profile was introduced by &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/2679/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/2679/&lt;/a&gt; to avoid &quot;half-baked&quot; class files generated by eclipse from affecting CLI mvn. This can occur if one tries to build from CLI when there are compile errors in eclipse (EJC generates the class file even if there are errors). In my experience, this scenario is (should be) uncommon and can be avoided if one does &apos;mvn clean install&apos; after working in eclipse.&lt;/p&gt;</comment>
                            <comment id="47885" author="devin.avery@brocade.com" created="Tue, 8 Apr 2014 13:57:52 +0000"  >&lt;p&gt;Implemented a solution which is under review in gerrit&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/5914/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/5914/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>651</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=651]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02jc7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>