<?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 @LocalDeploy in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/localdeploy/m-p/320842#M7843</link>
    <description>&lt;P&gt;Hello. I am writing a unit test. I have a local deployment:&lt;BR /&gt;
&lt;CODE&gt;@LocalDeploy("x.y.z:OSGI-INF/foo.xml")&lt;/CODE&gt; &lt;BR /&gt;
I'm using injection:&lt;BR /&gt;
&lt;CODE&gt;@Inject&lt;/CODE&gt; &lt;BR /&gt;
&lt;CODE&gt;protected RuntimeHarness runtimeHarness;&lt;/CODE&gt; &lt;BR /&gt;
Then a test case: &lt;BR /&gt;
&lt;CODE&gt;@Test&lt;/CODE&gt; &lt;BR /&gt;
&lt;CODE&gt;public void testX() throws Exception {&lt;/CODE&gt; &lt;BR /&gt;
&lt;CODE&gt;...&lt;/CODE&gt; &lt;BR /&gt;
&lt;CODE&gt;runtimeHarness.undeployContrib("x.y.z", "OSGI-INF/foo.xml")&lt;/CODE&gt; &lt;BR /&gt;
&lt;CODE&gt;...&lt;/CODE&gt; &lt;BR /&gt;
The call to &lt;CODE&gt;undeployContrib&lt;/CODE&gt; fails because the component appears to be loaded into the &lt;CODE&gt;org.nuxeo.osgi.app&lt;/CODE&gt; bundle. Not sure why. Am I doing something incorrect? (I could force load the bundle and the contribution in code - that's fine - it's mainly that I'm curious if the way I'm going about it is not supported, or, I'm just doing something incorrect.)&lt;BR /&gt;
--Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2017 19:25:18 GMT</pubDate>
    <dc:creator>Eric_Ace</dc:creator>
    <dc:date>2017-08-16T19:25:18Z</dc:date>
    <item>
      <title>@LocalDeploy</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/localdeploy/m-p/320842#M7843</link>
      <description>&lt;P&gt;Hello. I am writing a unit test. I have a local deployment:&lt;BR /&gt;
&lt;CODE&gt;@LocalDeploy("x.y.z:OSGI-INF/foo.xml")&lt;/CODE&gt; &lt;BR /&gt;
I'm using injection:&lt;BR /&gt;
&lt;CODE&gt;@Inject&lt;/CODE&gt; &lt;BR /&gt;
&lt;CODE&gt;protected RuntimeHarness runtimeHarness;&lt;/CODE&gt; &lt;BR /&gt;
Then a test case: &lt;BR /&gt;
&lt;CODE&gt;@Test&lt;/CODE&gt; &lt;BR /&gt;
&lt;CODE&gt;public void testX() throws Exception {&lt;/CODE&gt; &lt;BR /&gt;
&lt;CODE&gt;...&lt;/CODE&gt; &lt;BR /&gt;
&lt;CODE&gt;runtimeHarness.undeployContrib("x.y.z", "OSGI-INF/foo.xml")&lt;/CODE&gt; &lt;BR /&gt;
&lt;CODE&gt;...&lt;/CODE&gt; &lt;BR /&gt;
The call to &lt;CODE&gt;undeployContrib&lt;/CODE&gt; fails because the component appears to be loaded into the &lt;CODE&gt;org.nuxeo.osgi.app&lt;/CODE&gt; bundle. Not sure why. Am I doing something incorrect? (I could force load the bundle and the contribution in code - that's fine - it's mainly that I'm curious if the way I'm going about it is not supported, or, I'm just doing something incorrect.)&lt;BR /&gt;
--Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 19:25:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/localdeploy/m-p/320842#M7843</guid>
      <dc:creator>Eric_Ace</dc:creator>
      <dc:date>2017-08-16T19:25:18Z</dc:date>
    </item>
  </channel>
</rss>

