That really did not work for you :-)Can you confirm that running the udig.product works for you fromeclipse before hand? Delete any previous run configurations you haveand then give it a go.This time I tried to run it using "Launch an eclipse application" link in the overview tab of the udig.product. It causes the following error:
"java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter"
I previously executed udig using run configurations dialog. There I select the appropriate plugins (based on the instructions here
http://udig.refractions.net/confluence/display/ADMIN/10+Running+the+Main+Application, Plugins section) in the plugins tab and run the product without any problem. I noticed that when I close the run configurations dialog it doesn't save the list of selected plugins and the next time I have to set them in the plugins tab again. I think this is the reason I can not run the product using "Launch an eclipse application" and also the reason for the broken exported product.
How can I tell the eclipse to save the list of selected plugins? I have used the instructions here
http://udig.refractions.net/confluence/display/ADMIN/10+Running+the+Main+Application to setup the run configuration for the product. deleting the previous run configuration and using a new one didn't resolve the problem
You can open up the run configuration after executing udig.productonce; and then hit validate plugins to see if any plugins have beenshut off because their dependencies could not be satisfied.Yes, your guess is right. As I told you the origin of the problem is the plugins tab because eclipse doesn't save the list of plugins after closing the run configurations dialog.
The only one you should be in danger of missing is the udig_languagefeature - as you would need the "latest" dropins 3.6.0 where I havepackaged some langauges from the babel project.I use dropins-3.5.2.zip, eclipse-3.5.2-delta-pack.zip, eclipse-modeling-galileo-SR2-incubation-win32.zip, and jre1.6.0_17.win32_gdal_ecw.zip. Do I need to remove dropins-3.5.2.zip and use dropins-3.6.0?
When you went through the steps of releasing udig.product it should offailed if the plugins could not be gathered up an exported?No, when I export the product using the "Eclipse product export wizard" link, it doesn't report any error, it goes ahead and produces the desired archive (or directory) but whit an almost empty plugins folder!
I appreciate your consideration
ferez
On Wed, Jul 21, 2010 at 2:40 AM, Farzad Mahdikhani <
farzad_itm@xxxxxxxxx> wrote:
> I have checked out uDig and imported it into eclipse. I could run the main
> application without any problem. Now, when I try to export the application
> (based on the instructions here
> http://udig.refractions.net/confluence/display/ADMIN/uDig+Export+Procedure)> I get a directory with the following content (after applying post production
> instructions):
>
> /configuration
> /gdal_data
> /jre
> /plugins
> /.eclipseproduct
> /udig.bat
> /udig_internal.exe
> /udig_internal.ini
>
> When I try to run the udig.bat it exits with exit code 13.
>
> FYI the plugins folder contains only a jar file named
> org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar and a directory
> named org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519. What
> about the other plugins? I was expecting more plugins here!
>
> Any help is really appreciated.
>
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net> http://lists.refractions.net/mailman/listinfo/udig-devel>
>
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.nethttp://lists.refractions.net/mailman/listinfo/udig-devel