Virginia reported this problem last week as well; I am not quite sure what the 
issue is.

With respect to trouble running - here is the advice I have her:

> It sounds like you are having trouble running; what is usually the case here 
> is that people fail to include the net.refractions.udig.tutorials.customapp 
> plugin in their run configuration (and thus it is not available to run).
> 
> The warning about loadKakadu is expected (and not related) it refers to some 
> of the advanced image formats.
> 
> Can you try something?
> 1. open up your run configuration
> 2. hit validate
> 3. Tell me if it comes back with any warnings about missing plugins?
> 4. You can hit "add required plugins"; however the real solution is to update 
> the feature definitions to include the plugins that were missing.
> 
> Can I also ask what version of eclipse and udig you are using ...


Please note the custom app tutorial is the first chance to sort out if you have 
set up your eclipse environment correctly; and my first chance to see if the 
SDK was created correctly.

There is a new sdk here (for uDig 1.2.2 / eclipse 3.6.2 etc...) which I am 
expecting feedback on:
- http://udig.refractions.net/download/unstable/

-- 
Jody Garnett

On Friday, 20 May 2011 at 8:13 PM, Yannick Motta 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

Reply via email to