<?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 How to setup Nuxeo IDE properly to develop plugins and run tests? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-setup-nuxeo-ide-properly-to-develop-plugins-and-run-tests/m-p/315400#M2401</link>
    <description>&lt;P&gt;Hi, I've browsed many pages in the documentation and in the forum, but I did not really find what I am looking for. I am fairly new to Nuxeo and want to build different plugins to extend the platform.&lt;/P&gt;
&lt;P&gt;For that I installed Nuxeo IDE together with the Nuxeo 5.5 SDK. As I wanted to be able to take a look into the sources and also debug the Nuxeo code, I downloaded the Nuxeo sources, built them with the clone script, made the bundles conform to eclipse and imported the source bundles in my eclipse workspace. So far everything worked fine.&lt;/P&gt;
&lt;P&gt;I was able to create a new Nuxeo Plugin Project, to deploy it on the server and also to debug my plugin. But now I want to write JUnit tests for my plugin. If I try to run the tests from eclipse, an exception is thrown "Exception occured executing command line. Cannot run program C:/.../jre7/bin/javaw.exe". I searched google for this problem and it seems like the classpath is too long.
I assume that the "Nuxeo SDK" and "Nuxeo SDK (Tests)" libraries are causing the problem, because as fas as I can see these are the only dependencies.&lt;/P&gt;
&lt;P&gt;So what do I have to do to setup my plugin project in eclipse properly?&lt;/P&gt;
&lt;P&gt;And one additional question: When I start Nuxeo stand-alone for the first time, there will be some Installation options like the database settings. If I start the server out of eclipse, some default settings are used. Can I configure these settings somewhere? I want that nuxeo stores the data in my SQL Server. And if I would be able to run the junit tests, is it possible to configure for the tests separately which database should be used?&lt;/P&gt;
&lt;P&gt;Thanks, Dirk&lt;/P&gt;</description>
    <pubDate>Thu, 09 Aug 2012 14:05:12 GMT</pubDate>
    <dc:creator>Dirk_Wenke</dc:creator>
    <dc:date>2012-08-09T14:05:12Z</dc:date>
    <item>
      <title>How to setup Nuxeo IDE properly to develop plugins and run tests?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-setup-nuxeo-ide-properly-to-develop-plugins-and-run-tests/m-p/315400#M2401</link>
      <description>&lt;P&gt;Hi, I've browsed many pages in the documentation and in the forum, but I did not really find what I am looking for. I am fairly new to Nuxeo and want to build different plugins to extend the platform.&lt;/P&gt;
&lt;P&gt;For that I installed Nuxeo IDE together with the Nuxeo 5.5 SDK. As I wanted to be able to take a look into the sources and also debug the Nuxeo code, I downloaded the Nuxeo sources, built them with the clone script, made the bundles conform to eclipse and imported the source bundles in my eclipse workspace. So far everything worked fine.&lt;/P&gt;
&lt;P&gt;I was able to create a new Nuxeo Plugin Project, to deploy it on the server and also to debug my plugin. But now I want to write JUnit tests for my plugin. If I try to run the tests from eclipse, an exception is thrown "Exception occured executing command line. Cannot run program C:/.../jre7/bin/javaw.exe". I searched google for this problem and it seems like the classpath is too long.
I assume that the "Nuxeo SDK" and "Nuxeo SDK (Tests)" libraries are causing the problem, because as fas as I can see these are the only dependencies.&lt;/P&gt;
&lt;P&gt;So what do I have to do to setup my plugin project in eclipse properly?&lt;/P&gt;
&lt;P&gt;And one additional question: When I start Nuxeo stand-alone for the first time, there will be some Installation options like the database settings. If I start the server out of eclipse, some default settings are used. Can I configure these settings somewhere? I want that nuxeo stores the data in my SQL Server. And if I would be able to run the junit tests, is it possible to configure for the tests separately which database should be used?&lt;/P&gt;
&lt;P&gt;Thanks, Dirk&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2012 14:05:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-setup-nuxeo-ide-properly-to-develop-plugins-and-run-tests/m-p/315400#M2401</guid>
      <dc:creator>Dirk_Wenke</dc:creator>
      <dc:date>2012-08-09T14:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup Nuxeo IDE properly to develop plugins and run tests?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-setup-nuxeo-ide-properly-to-develop-plugins-and-run-tests/m-p/315401#M2402</link>
      <description>&lt;P&gt;Hi Dirk,&lt;/P&gt;
&lt;P&gt;First of all if you've added a Nuxeo SDK, you already have the sources in eclipse's classpath.&lt;/P&gt;
&lt;P&gt;As for the too long classpath issue, I usually put Nuxeo SDK at the root of my disk. Like c:\nuxeo.&lt;/P&gt;
&lt;P&gt;And yes there is a difference between starting Nuxeo from Eclipse than from the launcher. This is because they use a different nuxeo.conf file. If you start it from eclipse, the configuration file used is yourServer/bin/nuxeo-sdk.conf whereas it's usually yourServer/bin/nuxeo.conf. So you need to edit nuxeo-sdk.conf .&lt;/P&gt;
&lt;P&gt;Unit tests are usually launched in an embed H2 database but you can use any SQL database supported by Nuxeo using specific annotations.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2012 14:44:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-setup-nuxeo-ide-properly-to-develop-plugins-and-run-tests/m-p/315401#M2402</guid>
      <dc:creator>Laurent_Doguin</dc:creator>
      <dc:date>2012-08-09T14:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup Nuxeo IDE properly to develop plugins and run tests?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-setup-nuxeo-ide-properly-to-develop-plugins-and-run-tests/m-p/315402#M2403</link>
      <description>&lt;P&gt;Thanks Laurent, putting the SDK at the root of the disk was the solution. Maybe this should be mentioned somewhere in the documentation?&lt;/P&gt;</description>
      <pubDate>Sun, 12 Aug 2012 11:20:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-setup-nuxeo-ide-properly-to-develop-plugins-and-run-tests/m-p/315402#M2403</guid>
      <dc:creator>Dirk_Wenke</dc:creator>
      <dc:date>2012-08-12T11:20:31Z</dc:date>
    </item>
  </channel>
</rss>

