Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] jgrassudig export

Hi Jesse,
thanks, I'm abroad for a few days. I will come back on this as soon as I'm back.

Cheers,
Andrea

On 8/10/07, Jesse Eichar <jeichar@xxxxxxxxxxxxxxx> wrote:
> Typically this problem is caused by a required plugin missing.  The
> only real way to solve this is to check that all the plugins listed
> in the Run configuration (that you use inside of eclipse to run the
> application) are in the exported package.  I suspect that during the
> export one or more of the plugins are not being exported and as a
> result the exported package is unable to execute.
>
> Another potential problem is that the Application ID is wrong.
>
> The last idea I have is maybe during your playing with the features
> you baked in version numbers some where and the resulting plugins can
> resolve the correct versions.
>
> Jesse
>
>
> On Aug 10, 2007, at 6:37 AM, Andrea Antonello wrote:
>
> > I finally got to build everything on trunc and things are fine (me
> > very
> > happy).
> >
> > So what comes next? Export a nice jgrassudig product... but that was
> > also solved and now I finally have the the plugins needed from the 3.3
> > pool to export the product. (me very very happy)
> >
> > The export complains about the missing language packs that IBM will
> > not
> > give away for the 3.3. A community project is starting on them...
> > but in
> > the meanwhile... I opened them all and changed the min-max version
> > values in the MANIFEST files. (me not so happy, but it works, if
> > someone
> > wants the plugins just tell me, if I should put them somewere, just
> > tell me)
> >
> > But now I have another problem (the never-ending story?), which I
> > found
> > wide spread over the internet, but wasn't able to solve yet.
> > I created a simple jgrass product that uses the udig application, in
> > order to be able to plug my own perspectives for the start. Exoporting
> > that now works and creates a nice location with executables and
> > plugins
> > and so on in it.
> > Executing it gives me the errors reported below, the product is not
> > found. In the config.ini the product is set and in it the application.
> > So what is going on here? Why does it work from within eclipse?
> > It seems to be the presence of external jars (udig.libs?) to break the
> > thing, but I don't know what to do to solve.
> >
> > I'm somehow lost and need support from some eclipse-rcp-super-king.
> >
> > Below the error, thanks for any hint you could give me...
> > Andrea
> >
> >
> >
> > !SESSION 2007-08-10 14:40:50.595
> > -----------------------------------------------
> > eclipse.buildId=unknown
> > java.version=1.6.0_02
> > java.vendor=Sun Microsystems Inc.
> > BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> > Framework arguments:  --consoleLog --debug
> > Command-line arguments:  -os linux -ws gtk -arch x86 --consoleLog --
> > debug
> >
> > !ENTRY org.eclipse.equinox.app 2007-08-10 14:40:53.412
> > !MESSAGE Product eu.hydrologis.jgrass.product could not be found.
> >
> > !ENTRY org.eclipse.osgi 4 0 2007-08-10 14:40:53.426
> > !MESSAGE Application error
> > !STACK 1
> > java.lang.RuntimeException: No application id has been found.
> >       at
> > org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp
> > (EclipseAppContainer.java:229)
> >       at
> > org.eclipse.equinox.internal.app.EclipseAppContainer.start
> > (EclipseAppContainer.java:92)
> >       at
> > org.eclipse.equinox.internal.app.Activator.addingService
> > (Activator.java:129)
> >       at
> > org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding
> > (ServiceTracker.java:1064)
> >       at
> > org.osgi.util.tracker.ServiceTracker$Tracked.track
> > (ServiceTracker.java:1042)
> >       at
> > org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged
> > (ServiceTracker.java:967)
> >       at
> > org.eclipse.osgi.framework.internal.core.FilteredServiceListener.servi
> > ceChanged(FilteredServiceListener.java:94)
> >       at
> > org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEve
> > nt(BundleContextImpl.java:1224)
> >       at
> > org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent
> > (EventManager.java:195)
> >       at
> > org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchro
> > nous(ListenerQueue.java:141)
> >       at
> > org.eclipse.osgi.framework.internal.core.Framework.publishServiceEvent
> > Privileged(Framework.java:1603)
> >       at
> > org.eclipse.osgi.framework.internal.core.Framework.publishServiceEvent
> > (Framework.java:1578)
> >       at
> > org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.<init
> > >(ServiceRegistrationImpl.java:103)
> >       at
> > org.eclipse.osgi.framework.internal.core.BundleContextImpl.createServi
> > ceRegistration(BundleContextImpl.java:657)
> >       at
> > org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerSer
> > vice(BundleContextImpl.java:609)
> >       at
> > org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerSer
> > vice(BundleContextImpl.java:675)
> >       at
> > org.eclipse.core.runtime.adaptor.EclipseStarter.run
> > (EclipseStarter.java:359)
> >       at
> > org.eclipse.core.runtime.adaptor.EclipseStarter.run
> > (EclipseStarter.java:176)
> >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >       at
> > sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >       at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >       at java.lang.reflect.Method.invoke(Method.java:597)
> >       at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
> >       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
> >       at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
> >
> > !ENTRY org.eclipse.osgi 2 0 2007-08-10 14:40:53.454
> > !MESSAGE One or more bundles are not resolved because the following
> > root
> > constraints are not resolved:
> > !SUBENTRY 1 org.eclipse.osgi 2 0 2007-08-10 14:40:53.454
> > !MESSAGE Bundle
> > update@plugins/org.eclipse.update.core_3.2.100.v20070615.jar was not
> > resolved.
> > !SUBENTRY 2 org.eclipse.update.core 2 0 2007-08-10 14:40:53.454
> > !MESSAGE Missing required bundle org.eclipse.core.net_[1.0.0,2.0.0).
> > !SUBENTRY 1 org.eclipse.osgi 2 0 2007-08-10 14:40:53.454
> > !MESSAGE Bundle
> > update@plugins/org.eclipse.help.webapp_3.3.0.v20070607.jar was not
> > resolved.
> > !SUBENTRY 2 org.eclipse.help.webapp 2 0 2007-08-10 14:40:53.454
> > !MESSAGE Missing required bundle
> > org.eclipse.equinox.http.registry_1.0.0.
> > !SUBENTRY 2 org.eclipse.help.webapp 2 0 2007-08-10 14:40:53.454
> > !MESSAGE Missing imported package org.osgi.service.http_1.2.0.
> > !SUBENTRY 2 org.eclipse.help.webapp 2 0 2007-08-10 14:40:53.454
> > !MESSAGE Missing required bundle org.apache.jasper_5.5.17.
> > !SUBENTRY 2 org.eclipse.help.webapp 2 0 2007-08-10 14:40:53.454
> > !MESSAGE Missing imported package javax.servlet.http_2.4.0.
> > !SUBENTRY 2 org.eclipse.help.webapp 2 0 2007-08-10 14:40:53.454
> > !MESSAGE Missing imported package javax.servlet_2.4.0.
> > !SUBENTRY 2 org.eclipse.help.webapp 2 0 2007-08-10 14:40:53.454
> > !MESSAGE Missing required bundle
> > org.eclipse.equinox.jsp.jasper.registry_1.0.0.
> >
> > etc. etc.
> > _______________________________________________
> > User-friendly Desktop Internet GIS (uDig)
> > http://udig.refractions.net
> > http://lists.refractions.net/mailman/listinfo/udig-devel
>
>


-- 
____________________________________________________________________________
HydroloGIS - Environmental Open Source Solutions
www.hydrologis.com

Andrea Antonello
Environmental Engineer
mobile:  +393288497722

"Let it be as much a great honour to take as to give learning,
if you want to be called wise."
Skuggsja' - The King's mirror - 1240 Reykjavik
____________________________________________________________________________


Back to the top