<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Running Automated Tests with PDE Build</title>
	<atom:link href="http://www.modumind.com/2007/08/06/running-automated-tests-with-pde-build/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.modumind.com/2007/08/06/running-automated-tests-with-pde-build/</link>
	<description>Eclipse RCP and OSGi training - online or onsite</description>
	<lastBuildDate>Tue, 31 Aug 2010 01:28:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Wes</title>
		<link>http://www.modumind.com/2007/08/06/running-automated-tests-with-pde-build/comment-page-2/#comment-9766</link>
		<dc:creator>Wes</dc:creator>
		<pubDate>Tue, 06 Jul 2010 13:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/08/06/running-automated-tests-with-pde-build/#comment-9766</guid>
		<description>awesome tutorial! very helpful indeed.

Wes</description>
		<content:encoded><![CDATA[<p>awesome tutorial! very helpful indeed.</p>
<p>Wes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.modumind.com/2007/08/06/running-automated-tests-with-pde-build/comment-page-2/#comment-9615</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Wed, 30 Jun 2010 17:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/08/06/running-automated-tests-with-pde-build/#comment-9615</guid>
		<description>Hi Wes,

There are only two things that affect whether the launcher class can be found:

1. eclipseLocation must point to a valid Eclipse installation.
2. The equinoxLauncherPluginVersion property must match the version of the org.eclipse.equinox.launcher bundle.

There is nothing specific to PDE Build in all of this, we&#039;re just configuring the classpath of a regular Ant java task. If you&#039;ve set the launcher version properly, can you double-check that eclipseLocation points to a valid Eclipse installation?

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Wes,</p>
<p>There are only two things that affect whether the launcher class can be found:</p>
<p>1. eclipseLocation must point to a valid Eclipse installation.<br />
2. The equinoxLauncherPluginVersion property must match the version of the org.eclipse.equinox.launcher bundle.</p>
<p>There is nothing specific to PDE Build in all of this, we&#8217;re just configuring the classpath of a regular Ant java task. If you&#8217;ve set the launcher version properly, can you double-check that eclipseLocation points to a valid Eclipse installation?</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wes</title>
		<link>http://www.modumind.com/2007/08/06/running-automated-tests-with-pde-build/comment-page-2/#comment-9608</link>
		<dc:creator>Wes</dc:creator>
		<pubDate>Wed, 30 Jun 2010 14:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/08/06/running-automated-tests-with-pde-build/#comment-9608</guid>
		<description>Patrick,

I seem to be getting an error in your tutorial.  Any input on fixing the issue would be greatly appreciated.

pde-build:

[java] exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: org/eclipse/equinox/launcher/Main
[java] Caused by java.lang.classnotfoundexception: org.eclipse.equinox.launcher.main

It can&#039;t seem to find the &quot;main&quot; class that is necessary to run the equinox launcher.  

Wes</description>
		<content:encoded><![CDATA[<p>Patrick,</p>
<p>I seem to be getting an error in your tutorial.  Any input on fixing the issue would be greatly appreciated.</p>
<p>pde-build:</p>
<p>[java] exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: org/eclipse/equinox/launcher/Main<br />
[java] Caused by java.lang.classnotfoundexception: org.eclipse.equinox.launcher.main</p>
<p>It can&#8217;t seem to find the &#8220;main&#8221; class that is necessary to run the equinox launcher.  </p>
<p>Wes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.modumind.com/2007/08/06/running-automated-tests-with-pde-build/comment-page-2/#comment-9284</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Wed, 16 Jun 2010 22:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/08/06/running-automated-tests-with-pde-build/#comment-9284</guid>
		<description>Hi Stefanko,

I&#039;ve struggled with this as well. The only thing I came up with was to scan the JUnit output to determine if any tests failed. If you figure out a better way, I&#039;d be very interested :-)

--- Patrick</description>
		<content:encoded><![CDATA[<p>Hi Stefanko,</p>
<p>I&#8217;ve struggled with this as well. The only thing I came up with was to scan the JUnit output to determine if any tests failed. If you figure out a better way, I&#8217;d be very interested :-)</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefanko</title>
		<link>http://www.modumind.com/2007/08/06/running-automated-tests-with-pde-build/comment-page-2/#comment-9246</link>
		<dc:creator>Stefanko</dc:creator>
		<pubDate>Tue, 15 Jun 2010 13:51:15 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/08/06/running-automated-tests-with-pde-build/#comment-9246</guid>
		<description>Hi Patrick,

I have one more question. Is there any possibilities for that if I would like to see a build failed status when any of the JUnit tests fails? Currently I get a build failed state only if the build part fails but I get a build success state even when some JUnit tests fail.

Can I somehow configure headless build or ETF so that it return with failed status when a JUnit test fails? 

Thanks in advance!

Stefanko</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>I have one more question. Is there any possibilities for that if I would like to see a build failed status when any of the JUnit tests fails? Currently I get a build failed state only if the build part fails but I get a build success state even when some JUnit tests fail.</p>
<p>Can I somehow configure headless build or ETF so that it return with failed status when a JUnit test fails? </p>
<p>Thanks in advance!</p>
<p>Stefanko</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.modumind.com/2007/08/06/running-automated-tests-with-pde-build/comment-page-2/#comment-9167</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Thu, 10 Jun 2010 20:33:22 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/08/06/running-automated-tests-with-pde-build/#comment-9167</guid>
		<description>It appears that the process is hanging on the EMMA instrumentation. Have you verified that the EMMA libraries are available? They should be in your jre/lib/ext directory.

If EMMA is running, I&#039;m not sure why the process is hanging at this point. Perhaps there is some issue with the EMMA instrumentation process itself?

--- Patrick</description>
		<content:encoded><![CDATA[<p>It appears that the process is hanging on the EMMA instrumentation. Have you verified that the EMMA libraries are available? They should be in your jre/lib/ext directory.</p>
<p>If EMMA is running, I&#8217;m not sure why the process is hanging at this point. Perhaps there is some issue with the EMMA instrumentation process itself?</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TheFrenchie</title>
		<link>http://www.modumind.com/2007/08/06/running-automated-tests-with-pde-build/comment-page-2/#comment-9146</link>
		<dc:creator>TheFrenchie</dc:creator>
		<pubDate>Wed, 09 Jun 2010 15:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/08/06/running-automated-tests-with-pde-build/#comment-9146</guid>
		<description>Hi Patrick!

Thank you very much for your quick reply.

You was right. The eclipselocation was not pointing to a valid Eclipse installation. 

The build is now successful but the test process takes a very very long time (hours). After many hours it is still at the following step : 

     [java]       [zip] Building zip: c:\helloworld-build\features\org.eclipse.pde.build.container.feature\org.eclipse.pde.build.container.feature_1.0.0.log.zip
     [java]    [delete] Deleting directory c:\helloworld-build\features\org.eclipse.pde.build.container.feature\feature.temp.folder
     [java]     [unzip] Expanding: c:\helloworld-build\features\org.eclipse.pde.build.container.feature\org.eclipse.pde.build.container.feature_1.0.0.log.zip into c:\helloworld-build\I.HelloWorld\compilelogs
     [java] BUILD SUCCESSFUL
     [java] BUILD SUCCESSFUL
     [java] Total time: 3 minutes 11 seconds
test:
    [unzip] Expanding: c:\helloworld-build-target\eclipse-SDK-3.4.1-win32.zip into c:\helloworld-build\test
    [unzip] Expanding: C:\Java\workspaces\Exemples\com.rcpquickstart.helloworld.build-and-test\eclipse-test-framework-3.4.1.zip into c:\helloworld-build\test
    [unzip] Expanding: c:\helloworld-build\I.HelloWorld\HelloWorld-win32.win32.x86.zip into c:\helloworld-build\test
     [move] Moving 50 files to c:\helloworld-build\test\eclipse
    [instr] processing instrumentation path ...

So i have not the test-results.xml file which interest me the most...

Have you got any idea of what&#039;s happening? 

Thank you for all....</description>
		<content:encoded><![CDATA[<p>Hi Patrick!</p>
<p>Thank you very much for your quick reply.</p>
<p>You was right. The eclipselocation was not pointing to a valid Eclipse installation. </p>
<p>The build is now successful but the test process takes a very very long time (hours). After many hours it is still at the following step : </p>
<p>     [java]       [zip] Building zip: c:\helloworld-build\features\org.eclipse.pde.build.container.feature\org.eclipse.pde.build.container.feature_1.0.0.log.zip<br />
     [java]    [delete] Deleting directory c:\helloworld-build\features\org.eclipse.pde.build.container.feature\feature.temp.folder<br />
     [java]     [unzip] Expanding: c:\helloworld-build\features\org.eclipse.pde.build.container.feature\org.eclipse.pde.build.container.feature_1.0.0.log.zip into c:\helloworld-build\I.HelloWorld\compilelogs<br />
     [java] BUILD SUCCESSFUL<br />
     [java] BUILD SUCCESSFUL<br />
     [java] Total time: 3 minutes 11 seconds<br />
test:<br />
    [unzip] Expanding: c:\helloworld-build-target\eclipse-SDK-3.4.1-win32.zip into c:\helloworld-build\test<br />
    [unzip] Expanding: C:\Java\workspaces\Exemples\com.rcpquickstart.helloworld.build-and-test\eclipse-test-framework-3.4.1.zip into c:\helloworld-build\test<br />
    [unzip] Expanding: c:\helloworld-build\I.HelloWorld\HelloWorld-win32.win32.x86.zip into c:\helloworld-build\test<br />
     [move] Moving 50 files to c:\helloworld-build\test\eclipse<br />
    [instr] processing instrumentation path &#8230;</p>
<p>So i have not the test-results.xml file which interest me the most&#8230;</p>
<p>Have you got any idea of what&#8217;s happening? </p>
<p>Thank you for all&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.modumind.com/2007/08/06/running-automated-tests-with-pde-build/comment-page-2/#comment-9129</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Tue, 08 Jun 2010 20:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/08/06/running-automated-tests-with-pde-build/#comment-9129</guid>
		<description>This error usually occurs when the launcher jar cannot be located in the java target. Check the eclipseLocation property to make sure it points to a valid Eclipse installation and also check the version of the launcher bundle specified in the build.properties. If this doesn&#039;t eliminate the exception, let me know and we can dig a little further.

--- Patrick</description>
		<content:encoded><![CDATA[<p>This error usually occurs when the launcher jar cannot be located in the java target. Check the eclipseLocation property to make sure it points to a valid Eclipse installation and also check the version of the launcher bundle specified in the build.properties. If this doesn&#8217;t eliminate the exception, let me know and we can dig a little further.</p>
<p>&#8212; Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TheFrenchie</title>
		<link>http://www.modumind.com/2007/08/06/running-automated-tests-with-pde-build/comment-page-2/#comment-9127</link>
		<dc:creator>TheFrenchie</dc:creator>
		<pubDate>Tue, 08 Jun 2010 17:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/08/06/running-automated-tests-with-pde-build/#comment-9127</guid>
		<description>Hi Patrick,

Thank you for this article which is very helpful. 

I have errors while executing your instructions : 

pde-build:
     [java] java.lang.NoClassDefFoundError: org/eclipse/equinox/launcher/Main
     [java] Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.launcher.Main
     [java] 	at java.net.URLClassLoader$1.run(Unknown Source)
     [java] 	at java.security.AccessController.doPrivileged(Native Method)
     [java] 	at java.net.URLClassLoader.findClass(Unknown Source)
     [java] 	at java.lang.ClassLoader.loadClass(Unknown Source)
     [java] 	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
     [java] 	at java.lang.ClassLoader.loadClass(Unknown Source)
     [java] 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
     [java] Could not find the main class: org.eclipse.equinox.launcher.Main.  Program will exit.
     [java] Exception in thread &quot;main&quot; 
     [java] Java Result: 1

Have you got any idea of the source of the problem?

Thank you for all.</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>Thank you for this article which is very helpful. </p>
<p>I have errors while executing your instructions : </p>
<p>pde-build:<br />
     [java] java.lang.NoClassDefFoundError: org/eclipse/equinox/launcher/Main<br />
     [java] Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.launcher.Main<br />
     [java] 	at java.net.URLClassLoader$1.run(Unknown Source)<br />
     [java] 	at java.security.AccessController.doPrivileged(Native Method)<br />
     [java] 	at java.net.URLClassLoader.findClass(Unknown Source)<br />
     [java] 	at java.lang.ClassLoader.loadClass(Unknown Source)<br />
     [java] 	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)<br />
     [java] 	at java.lang.ClassLoader.loadClass(Unknown Source)<br />
     [java] 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)<br />
     [java] Could not find the main class: org.eclipse.equinox.launcher.Main.  Program will exit.<br />
     [java] Exception in thread &#8220;main&#8221;<br />
     [java] Java Result: 1</p>
<p>Have you got any idea of the source of the problem?</p>
<p>Thank you for all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefanko</title>
		<link>http://www.modumind.com/2007/08/06/running-automated-tests-with-pde-build/comment-page-2/#comment-5959</link>
		<dc:creator>Stefanko</dc:creator>
		<pubDate>Tue, 16 Feb 2010 16:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://rcpquickstart.wordpress.com/2007/08/06/running-automated-tests-with-pde-build/#comment-5959</guid>
		<description>Hi Patrick,

Thank you very much, and sorry for not replying earlier.
It was a great help. That&#039;s solved my problem.

Stefanko</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>Thank you very much, and sorry for not replying earlier.<br />
It was a great help. That&#8217;s solved my problem.</p>
<p>Stefanko</p>
]]></content:encoded>
	</item>
</channel>
</rss>
