I would open the run configuration that was created and go to the plugins tab and validate that all required plugins are present. If not you will need to add plugins to your product definition.
Also take a look at the eu.udig.tutorials.tool-view tutorial that is online in github: https://github.com/uDig/udig-platform/tree/master/tutorials/eu.udig.tutorials.tool-view Look at the PLUGIN_DESCRIPTION file for a discription of what it does. Jesse On Fri, May 20, 2011 at 12:13 PM, Yannick Motta <[email protected]> wrote: > Hello uDig community, > > This is my first post on yours list. I'm Yannick Motta and I am currently > working with the LRA (Laboratoire de Recherche en Architecture de l'ENSA de > Toulouse) in France. > We plan to develop a free GIS named Muse (Modelisation of Urban Shape and > Enegrgie). We are very interested to using uDig possibilities. > > I tried to make the "Custom Application Tutorial" > (http://udig.refractions.net/confluence/display/DEV/3+Custom+Application+Tutorial), > but unfortunately I have some problems. I hope you can help me. I am simply > unable to launch the custom application. > > Here is the log file : > !SESSION 2011-05-20 11:43:58.769 > ----------------------------------------------- > eclipse.buildId=unknown > java.version=1.6.0_22 > java.vendor=Sun Microsystems Inc. > BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=fr_FR > Framework arguments: -product fr.org.lra.muse.product > Command-line arguments: -product fr.org.lra.muse.product -data > /home/gorion/d/workspace/fr.org.lra.muse/../runtime-muse.product -dev > file:/home/gorion/d/workspace/fr.org.lra.muse/.metadata/.plugins/org.eclipse.pde.core/muse.product/dev.properties > -os linux -ws gtk -arch x86 -consoleLog > > !ENTRY org.eclipse.equinox.app 0 0 2011-05-20 11:44:01.147 > !MESSAGE Unable to find product fr.org.lra.muse.product > > !ENTRY org.eclipse.osgi 4 0 2011-05-20 11:44:01.225 > !MESSAGE Erreur liée à l'application > !STACK 1 > java.lang.RuntimeException: No application id has been found. > at > org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242) > at > org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) > at org.eclipse.equinox.launcher.Main.run(Main.java:1407) > at org.eclipse.equinox.launcher.Main.main(Main.java:1383) > ----------------------------------------------- > ----------------------------------------------- > ----------------------------------------------- > > observation : the folder > "/home/gorion/d/workspace/fr.org.lra.muse/../runtime-muse.product" doesn't > exits. I do not know if it's a problem. > > My plugin.xml configuration : > > ... > <extension > id="application" > name="Muse" > point="org.eclipse.core.runtime.applications"> > <application > cardinality="singleton-global" > thread="main" > visible="true"> > <run > class="fr.org.lra.muse.Main"> > </run> > </application> > </extension> > ... > <extension > id="product" > name="Muse Product" > point="org.eclipse.core.runtime.products"> > <product > application="fr.org.lra.muse.application" > description="Muse is a free gis" > name="Muse"> > ... > <property > name="appName" > value="Muse"> > </property> > <property > name="preferenceCustomization" > value="plugin_customization.ini"> > </property> > </product> > </extension> > > Manifest configuration : > > Manifest-Version: 1.0 > Bundle-ManifestVersion: 2 > Bundle-Name: Muse > Bundle-SymbolicName: fr.org.lra.muse;singleton:=true > Bundle-Version: 1.0.0 > Bundle-Activator: fr.org.lra.muse.Activator > Bundle-Vendor: LRA-Grecau > Require-Bundle: net.refractions.udig.ui > Bundle-RequiredExecutionEnvironment: J2SE-1.5 > Export-Package: fr.org.lra.muse; > uses:="org.eclipse.ui.application, > org.eclipse.ui, > org.eclipse.equinox.app, > org.osgi.framework" > > muse.product configuration : > > ... > <product name="Muse" uid="fr.org.lra.muse" id="fr.org.lra.muse.product" > application="fr.org.lra.muse.application" version="1.0.0" useFeatures="true" > includeLaunchers="true"> > > <aboutInfo> > <image path="/fr.org.lra.muse/nl/en/about.gif"/> > <text> > Hello World > </text> > </aboutInfo> > > <configIni use="default"> > </configIni> > > <launcherArgs> > <vmArgs>-Xmx386M -Dosgi.parentClassloader=ext</vmArgs> > <vmArgsMac>-XstartOnFirstThread > -Dorg.eclipse.swt.internal.carbon.smallFonts > -Djava.awt.headless=true</vmArgsMac> > </launcherArgs> > ... > > > Best regards, > Yannick Motta. > > > _______________________________________________ > 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.net http://lists.refractions.net/mailman/listinfo/udig-devel
