<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:27:38 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>[ODLPARENT-101] Karaf 4 distribution local build fails on Windows (missing &quot;patch&quot;)</title>
                <link>https://jira.opendaylight.org/browse/ODLPARENT-101</link>
                <project id="10149" key="ODLPARENT">odlparent</project>
                    <description>&lt;p&gt;Would be better to document that &quot;patch&quot; needs to be on execution path for building on windows&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; ODL :: genius :: fcapsapplication .................. SUCCESS [  0.863 s]&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; ODL :: genius :: resourcemanager-aggregator ........ SUCCESS [  0.839 s]&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; ODL :: genius :: genius-karaf4 ..................... FAILURE &lt;span class=&quot;error&quot;&gt;&amp;#91;34:46 min&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; ODL :: genius :: genius-it ......................... SKIPPED&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; genius ............................................. SKIPPED&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; ------------------------------------------------------------------------&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; BUILD FAILURE&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; ------------------------------------------------------------------------&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Total time: 45:54 min&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Finished at: 2017-06-13T05:42:08+05:30&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Final Memory: 362M/927M&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; ------------------------------------------------------------------------&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (patch-karaf-scripts) on project genius-karaf4: An Ant BuildException has occured: java.io.IOException: Cannot run progra&lt;br/&gt;
m &quot;patch&quot; (in directory &quot;C:\Users\efaseel\odl_boron\genius\karaf4&quot;): CreateProcess error=2, The system cannot find the file specified&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; around Ant part ...&amp;lt;patch patchfile=&quot;C:\Users\efaseel\odl_boron\genius\karaf4\target/assembly/patches/karaf-instance.patch&quot; originalfile=&quot;C:\Users\efaseel\odl_boron\genius\karaf4\target/assembly/bi&lt;br/&gt;
n/instance&quot; failonerror=&quot;true&quot;/&amp;gt;... @ 5:213 in C:\Users\efaseel\odl_boron\genius\karaf4\target\antrun\build-main.xml&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; -&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;Help 1&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; To see the full stack trace of the errors, re-run Maven with the -e switch.&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; Re-run Maven using the -X switch to enable full debug logging.&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; For more information about the errors and possible solutions, please read the following articles:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;Help 1&amp;#93;&lt;/span&gt; &lt;a href=&quot;http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; After correcting the problems, you can resume the build with the command&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt;   mvn &amp;lt;goals&amp;gt; -rf :genius-karaf4&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22224">ODLPARENT-101</key>
            <summary>Karaf 4 distribution local build fails on Windows (missing &quot;patch&quot;)</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="k.faseela">Faseela K</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Jun 2017 10:37:51 +0000</created>
                <updated>Wed, 24 Jan 2018 14:26:40 +0000</updated>
                            <resolved>Tue, 4 Jul 2017 09:34:47 +0000</resolved>
                                    <version>2.0.5</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="42013" author="vorburger" created="Tue, 13 Jun 2017 10:45:16 +0000"  >&lt;p&gt;This is because &lt;a href=&quot;https://ant.apache.org/manual/Tasks/patch.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://ant.apache.org/manual/Tasks/patch.html&lt;/a&gt; &apos;requires &quot;patch&quot; to be on the execution path&apos; - which Windows does not have.&lt;/p&gt;

&lt;p&gt;Running ODL mvn under &quot;Git Bash&quot; &amp;lt;&lt;a href=&quot;https://git-for-windows.github.io&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git-for-windows.github.io&lt;/a&gt;&amp;gt; on Windows, or Cygwin &amp;lt;&lt;a href=&quot;https://www.cygwin.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.cygwin.com&lt;/a&gt;&amp;gt; is a workaround to get around this (Bug reporter has confirmed on IRC this works for her).&lt;/p&gt;

&lt;p&gt;I&apos;m not crystal clear on why this is a Karaf 4 specific problem (or is it not and locally building Karaf distributions never worked on Windows) - didn&apos;t we patch configuration files with Karaf 3 already? Or did we do it &quot;earlier&quot; there, during the odlparent build, not each project? (Would it be imaginable to do something similar for Karaf 4 again?)&lt;/p&gt;

&lt;p&gt;Linking, as Faseela found this in &lt;a href=&quot;https://jira.opendaylight.org/browse/GENIUS-82&quot; title=&quot;Karaf4 specific problems seen on both boot and during manual testing of genius distribution&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GENIUS-82&quot;&gt;&lt;del&gt;GENIUS-82&lt;/del&gt;&lt;/a&gt; testing.  It does not strictly &quot;block&quot; testing, as there is the described workaround - but at the least it&apos;s confusing to Windows users - if some day we can find a way to avoid that, it would be better.&lt;/p&gt;</comment>
                            <comment id="42014" author="skitt@redhat.com" created="Tue, 13 Jun 2017 12:31:34 +0000"  >&lt;p&gt;(In reply to Michael Vorburger from comment #1)&lt;br/&gt;
&amp;gt; I&apos;m not crystal clear on why this is a Karaf 4 specific problem (or is it&lt;br/&gt;
&amp;gt; not and locally building Karaf distributions never worked on Windows) -&lt;br/&gt;
&amp;gt; didn&apos;t we patch configuration files with Karaf 3 already? Or did we do it&lt;br/&gt;
&amp;gt; &quot;earlier&quot; there, during the odlparent build, not each project? (Would it be&lt;br/&gt;
&amp;gt; imaginable to do something similar for Karaf 4 again?)&lt;/p&gt;

&lt;p&gt;We carried patched Karaf files in our repositories, which isn&#8217;t really maintainable in the long term. (Although I&#8217;m sure some people would argue over that &#8212; it really depends on how comfortable you are with patch management tools.)&lt;/p&gt;</comment>
                            <comment id="42015" author="vorburger" created="Mon, 19 Jun 2017 13:20:02 +0000"  >&lt;p&gt;&amp;gt; if some day we can find a way to avoid that, it would be better&lt;/p&gt;

&lt;p&gt;I guess &quot;fixing&quot; this would come down to either:&lt;/p&gt;

&lt;p&gt;  (a) doing the &apos;patch&apos; earlier during the build, like have this happen during odlparent&apos;s build and keep the result as an artifact used by projects, without them have to run patch&lt;/p&gt;

&lt;p&gt;   (b) replacing &lt;a href=&quot;https://ant.apache.org/manual/Tasks/patch.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://ant.apache.org/manual/Tasks/patch.html&lt;/a&gt; with a pure Java implementation? In &lt;a href=&quot;https://github.com/opendaylight/mdsal/blob/af55eed5432a28761ef474175933779de7f3a13e/binding/mdsal-binding-test-utils/src/main/java/org/opendaylight/mdsal/binding/testutils/DiffUtil.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/mdsal/blob/af55eed5432a28761ef474175933779de7f3a13e/binding/mdsal-binding-test-utils/src/main/java/org/opendaylight/mdsal/binding/testutils/DiffUtil.java&lt;/a&gt; (which is related to &lt;a href=&quot;https://github.com/vorburger/xtendbeans&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/vorburger/xtendbeans&lt;/a&gt;) I&apos;ve used a &quot;difflib&quot; found on Maven central which can do &quot;diff&quot; and AFAIK also &quot;patch&quot; in Java, so if someone is motivated to wrap that as an Ant task...&lt;/p&gt;</comment>
                            <comment id="42016" author="vorburger" created="Fri, 23 Jun 2017 20:09:19 +0000"  >&lt;p&gt;&amp;gt; (a) doing the &apos;patch&apos; earlier during the build&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/59486/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/59486/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="42017" author="vorburger" created="Tue, 4 Jul 2017 09:34:47 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/59922/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/59922/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/59923/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/59923/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="19863">GENIUS-82</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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>8677</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=8677]]></customfieldvalue>

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

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