Hi Folks,

I'm attempting to build uDig using Ant, rather than from the eclipse PDE.
I'm new to eclipse, and more comfortable with Ant for now.

I'm following (mostly) the uDig nightly build instructions at:

  http://udig.refractions.net/confluence/display/UDIG/Nightly+Build

I've found a couple of things:

1) it seems I had to copy the file "svntask.properties" from the "scripts-deprecated" directory into the "scripts" directory to get svn to work. But that part worked fine afterward.

2) But when I run

   ant -d -f run.xml -Dnoclean=true

I eventually run into a consistent error finding a certain plugin:

build:
     [java] Executing '/usr/local/jdk1.5.0_06/jre/bin/java' with arguments:
     [java] '-classpath'
     [java] '/usr/local/eclipse/startup.jar'
     [java] 'org.eclipse.core.launcher.Main'
     [java] '-application'
     [java] 'org.eclipse.ant.core.antRunner'
     [java] '-buildfile'
     [java] 'build.xml'
     [java] '-Dbuilder=.'

.
.
.

[java] BUILD FAILED
[java] /local/wbarber/udig/scripts/build.xml:23: The following error occurred while executing this line: [java] /local/wbarber/udig/scripts/build.xml:63: The following error occurred while executing this line: [java] /local/wbarber/udig/scripts/customTargets.xml:8: The following error occurred while executing this line:
[java] /local/wbarber/udig/scripts/genericTargets.xml:66:

org.eclipse.core.runtime.CoreException: Unable to find plug-in: org.eclipse.emf.ecore_2.1.0. Please check the error log for more details.

There is a note at the bottom of the nightly build instruction page that mentions this type of error as possible, and says:

   This is usually a problem with the version number of the plugin. Either on
   the plugin itself, or the feature that refernces it.

The offending plugin (jar?) does seem to exist in my eclipse installation as:

./plugins/org.eclipse.emf.ecore_2.1.0.jar
./plugins/org.eclipse.emf.source_2.1.2/src/org.eclipse.emf.ecore_2.1.0

Can someone please shed further light on this, and show me the error my ways?

Many thanks, Bill
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to