<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Nuxeo Studio development mode uninstalls my custom package - how can I troubleshoot? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-development-mode-uninstalls-my-custom-package-how/m-p/313975#M976</link>
    <description>&lt;P&gt;Thanks for the report&lt;/P&gt;</description>
    <pubDate>Wed, 02 Apr 2014 16:52:22 GMT</pubDate>
    <dc:creator>Anahide_Tchertc</dc:creator>
    <dc:date>2014-04-02T16:52:22Z</dc:date>
    <item>
      <title>Nuxeo Studio development mode uninstalls my custom package - how can I troubleshoot?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-development-mode-uninstalls-my-custom-package-how/m-p/313971#M972</link>
      <description>&lt;P&gt;I have a Nuxeo Studio project, and I have a self-built Marketplace package that I use to install custom Java extension code. When I use the server development mode to load the latest Studio project, I receive a message like the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;07:39:18,587 WARN  [AppCenterViewsManager] Got warnings on package validation myorg-0.0.0-SNAPSHOT -&amp;gt; [The package myorg-nuxeo-package-0.9.0-SNAPSHOT will be uninstalled!]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CODE&gt;myorg-0.0.0-SNAPSHOT&lt;/CODE&gt; is the Studio project and &lt;CODE&gt;myorg-nuxeo-package-0.9.0-SNAPSHOT&lt;/CODE&gt; is my custom one.&lt;/P&gt;
&lt;P&gt;Then the server spends much time uninstalling my custom marketplace package, forcing me to reinstall it. How can I avoid this uninstallation behavior? I tried turning the logging to &lt;CODE&gt;DEBUG&lt;/CODE&gt; but I didn't see any extra information about what caused the "warnings on package validation," or even if those warnings are the reason that the Studio update uninstalls my Java code.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:48:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-development-mode-uninstalls-my-custom-package-how/m-p/313971#M972</guid>
      <dc:creator>Steven_Huwig1</dc:creator>
      <dc:date>2014-03-31T13:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Studio development mode uninstalls my custom package - how can I troubleshoot?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-development-mode-uninstalls-my-custom-package-how/m-p/313972#M973</link>
      <description>&lt;P&gt;I believe &lt;A href="https://github.com/nuxeo/nuxeo-runtime/blob/b7c9091fd471baaeb5226b0e8b00301987f269e1/nuxeo-connect-standalone/src/main/java/org/nuxeo/connect/update/standalone/PackagePersistence.java#L230"&gt;this code&lt;/A&gt; is the source of my problem.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;public synchronized String getActivePackageId(String name) {
    name = name + '-';
    for (Entry&amp;lt;String, PackageState&amp;gt; entry : states.entrySet()) {
        if (entry.getKey().startsWith(name)
                &amp;amp;&amp;amp; entry.getValue().isInstalled()) {
            return entry.getKey();
        }
    }
    return null;
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't think this can distinguish between &lt;CODE&gt;myorg-0.0.0-SNAPSHOT&lt;/CODE&gt; and &lt;CODE&gt;myorg-nuxeo-package-0.9.0-SNAPSHOT&lt;/CODE&gt;, so the second one gets listed as needing to be uninstalled. I renamed the Nuxeo package name in &lt;CODE&gt;package.xml&lt;/CODE&gt; for the second package and everything worked as it should.&lt;/P&gt;
&lt;P&gt;Can someone please confirm this as the cause, and either explain to me why it is not a bug or help me open a bug report? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 03:24:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-development-mode-uninstalls-my-custom-package-how/m-p/313972#M973</guid>
      <dc:creator>Steven_Huwig1</dc:creator>
      <dc:date>2014-04-01T03:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Studio development mode uninstalls my custom package - how can I troubleshoot?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-development-mode-uninstalls-my-custom-package-how/m-p/313973#M974</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:10:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-development-mode-uninstalls-my-custom-package-how/m-p/313973#M974</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2014-04-02T14:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Studio development mode uninstalls my custom package - how can I troubleshoot?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-development-mode-uninstalls-my-custom-package-how/m-p/313974#M975</link>
      <description>&lt;P&gt;I opened https&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 15:17:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-development-mode-uninstalls-my-custom-package-how/m-p/313974#M975</guid>
      <dc:creator>Steven_Huwig1</dc:creator>
      <dc:date>2014-04-02T15:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Studio development mode uninstalls my custom package - how can I troubleshoot?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-development-mode-uninstalls-my-custom-package-how/m-p/313975#M976</link>
      <description>&lt;P&gt;Thanks for the report&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 16:52:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-development-mode-uninstalls-my-custom-package-how/m-p/313975#M976</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2014-04-02T16:52:22Z</dc:date>
    </item>
  </channel>
</rss>

