Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] More tycho goodness

I have updated and see you are making good progress:

Made it through the first batch of tests to:

net.refractions.udig.catalog.test.geotiff 

It looks like Tycho is producing an invalid command line to run the tests here... as the response is:

Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)

The command line is:

/bin/sh -c cd /Users/jody/java/udig/jive/plugins/net.refractions.udig.catalog.tests.geotiff && /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -Dosgi.noShutdown=false -Dosgi.os=macosx -Dosgi.ws=cocoa -Dosgi.arch=x86_64 -Xmx128m -XX:MaxPermSize=256m -Dsdtcore.headless
-XstartOnFirstThread -jar /Users/jody/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.2.0.v20110502/org.eclipse.equinox.launcher-1.2.0.v20110502.jar -data /Users/jody/java/udig/jive/plugins/net.refractions.udig.catalog.tests.geotiff/target/work/data -dev file:/Users/jody/java/udig/jive/plugins/net.refractions.udig.catalog.tests.geotiff/target/dev.properties -install /Users/jody/java/udig/jive/plugins/net.refractions.udig.catalog.tests.geotiff/target/work -configuration /Users/jody/java/udig/jive/plugins/net.refractions.udig.catalog.tests.geotiff/target/work/configuration -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /Users/jody/java/udig/jive/plugins/net.refractions.udig.catalog.tests.geotiff/target/surefire.properties -testApplication org.eclipse.ui.ide.workbench -product net.refractions.udig-product

How would you like to handle communication? On JIRA, email or IRC (reporting back to email).

Jody




-- 
Jody Garnett

On Thursday, 1 December 2011 at 9:38 PM, Severin (aka Cliff) wrote:

Hello All,


I've been otherwise occupied at work and haven't had much of a chance to do any development on the Maven+Tycho build.

However, that all changed on Monday as I have finally had broadband installed at home.

So, over the past 12 hours, I've been working with jgarnett to get the jUnit Plugin tests working as part of the Tycho build.

Although preliminary, I have committed my initial work, however I still have to fix a bug under MacOS caused by tests fighting over the UI thread.

Would someone with a Windows boxen be able to pull the latest from HEAD and test with:

  mvn install -Ptest

?

In theory, you should see "net.refractions.udig.ui.tests" start an SWT test harness and test a heap of stuff.

Under MacOS, this is currently broken and I am working to fix it.


Cheers,
  --Sev

--
"We are dreamers, shapers, singers and makers..."
_______________________________________________
User-friendly Desktop Internet GIS (uDig)


Back to the top