Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] JGrass and uDig

Hi Andrea

It didn't work for me again but the missing plugins are 3 (previously 6 plugins were missing). The missing plugins are as follow:

1) org.geotools:gt-grassraster:jar:2.7-SNAPSHOT
2) jfreechart:jfreechart-swt:jar:1.0.13
3) jfreechart:jfreechart-experimental:jar:1.0.13

Is this because I don't have direct access to googlecode.com? I tried using proxies but it didn't work too. Is it possible to put the required plugins somewhere else other that googlecode repo?

P.S: Anyway, I attached the maven log if it is of any help.

Regards,
Ferez


From: Justin Lynch <jlynch@xxxxxxxxxxxxxx>
To: User-friendly Desktop Internet GIS <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
Sent: Fri, November 12, 2010 1:50:08 AM
Subject: Re: [udig-devel] JGrass and uDig

The change the Andrea made today when we were working on the problem in IRC, fixed the issue for me. I was able to get all the libs and after changing libs manifest so that it used jcommon-1.0.16.jar instead of jcommon-1.0.13.jar all of the plug-ins build. I have not tried to actually run udig.

Thank you for your help Andrea.

On Thu, Nov 11, 2010 at 3:49 PM, andrea antonello <andrea.antonello@xxxxxxxxx> wrote:
Alright, I just tried to clean the maven repo and run refresh.xml again.

I had no problems on the gt-grassraster jar which was picked properly
from the web, whereas I have problems with
it.geosolutions.imageio-ext:imageio-ext-utilities:jar:1.0.8

which isn't existing anywhere and as such it breaks. The problem is
that we are getting this dependency from the geotools 2.7-SNAP.

Any good idea welcome,
Andrea



On Thu, Nov 11, 2010 at 9:30 PM, andrea antonello
<andrea.antonello@xxxxxxxxx> wrote:
> Hi Justin,
> I was supplying most of those jars in my google code mvn repo, since
> as you say they are around since ever, but they are not out in any
> repo.
>
> I am trying to figure out why it is not working all in a sudden. If
> you have ideas, I am glad to listen.
>
> Anyways even after that solved, we have a problem with a couple of
> missing modules frm the imaegio-ext 1.0.8 missing, which are now
> pulled by the geotools 2.7 snaphot.
>
> I'll jump in IRC for anyone interested in helping out solving this.
>
> Ciao,
> Andrea
>
> On Thu, Nov 11, 2010 at 9:21 PM, Justin Lynch <jlynch@xxxxxxxxxxxxxx> wrote:
>> I am having a problem running refresh.xml as well. I talked to Jody and he
>> said the Australian mirrors worked, however when I tried them they didn't
>> work either. When I browse to those repos they are missing the jars. This is
>> odd because take jfree:jcommon:jar:1.0.16 for example, is over a year old
>> but the mirrors only had up to 1.0.15.
>>
>> Thanks,
>> Justin
>> On Thu, Nov 11, 2010 at 3:32 AM, Farzad Mahdikhani <farzad_itm@xxxxxxxxx>
>> wrote:
>>>
>>> Hi Anderea
>>>
>>> Thank you so much. I checked out a fresh copy of the udig-platform trunk
>>> using "git clone git://git
>>> orious.org/udig/udig-platform.git" command and imported org.apache.log4j
>>> and net.refractions.udig.libs.I have tried to run refresh.xml (inside
>>> net.refractions.udig.libs) many time since yesterday but it seems that there
>>> is no hope. It fails every time reporting failure in finding resources. I
>>> don't know how to get rid of that. I have attached the log records of maven.
>>>
>>> Cheers,
>>> Ferez
>>>
>>> ________________________________
>>> From: andrea antonello <andrea.antonello@xxxxxxxxx>
>>> To: User-friendly Desktop Internet GIS <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
>>> Sent: Mon, November 8, 2010 11:05:36 AM
>>> Subject: Re: [udig-devel] JGrass and uDig
>>>
>>> Alright, I kind of got this.
>>>
>>> In the JGrass repo we now have the following folders:
>>> dbplugins/
>>> eclipse-extras/
>>> plugins/
>>>
Sounds good; as mentioned the rcp.product is usually generated by running the wizard in eclipse. (Indeed the results of what it produces changes on occasion for different version of eclipse). Jody 2010/11/17 Joaqu=EDn Rodriguez-Guerra Urcelay : > Hey Jody, > > Thank you very much for taking the time and interest on writing all the "= Plugins vs Features ... fight!" email > This documentation helped me a lot. As you said, there was a problem with= features, and I finally set the rcp tutorial to work :) > > This is what I did: > > 1. I followed the SDK QuickStart guide to set up the development environm= ent > 2. I imported the net.refractions.udig.tutorials.rcp from the SDK (1.2) > 3. As there is no product file for this project in the version included i= n the SDK, I downloaded the file rcp.product from the http://svn.refraction= s.net/udig/udig/tutorials/net.refractions.udig.tutorials.rcp/rcp.product > 4. This product depends on net.refractions.udig.rcp_feature and net.refra= ctions.udig.tutorials.rcp_feature, which are not included in the SDK. I dow= nloaded them from http://svn.refractions.net/udig/udig/features and http://= svn.refractions.net/udig/udig/tutorials/ respectively and import them to th= e workspace. > 5. Finally I opened the rcp.product and launch it :) > > Regards, > > Joaqu=EDn > > > -----Mensaje original----- > De: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@l= ists.refractions.net] En nombre de Joaqu=EDn Rodriguez-Guerra Urcelay > Enviado el: jueves, 11 de noviembre de 2010 11:19 > Para: User-friendly Desktop Internet GIS > Asunto: Re: [udig-devel] Udig RCP tutorial > > Hello, > > Thank you Jody! Adding net.refractions.udig.catalog.shapefile to the depe= ndencies list fixed the problem! But unfortunately I got a new error "!MESS= AGE Agregar Capas failed to run" (log attached). I again launched the app f= rom the manifest.mf file since I cant find any product file inside the net.= refractions.udig.tutorials.rcp project (I notice there is one inside net.re= fractions.udig, do you mean that file?), sorry I started to be interested i= n rcp a few days ago. > > Thinking about what you said, I downloaded eclipse 3.5 to see if I had be= tter luck, but I couldn't start the udig product from the net.refractions.u= dig project product file. I got a java.lang.ClassNotFoundException: org.ecl= ipse.core.runtime.adaptor.EclipseStarter using a target platform composed o= f udig_sdk and eclipse_home directory. Is the net.refractions.udig product = ready only for eclipse 3.6? > > Regards, > > Joaqu=EDn > > > !SESSION 2010-11-11 08:48:17.968 ----------------------------------------= ------- > eclipse.buildId=3Dunknown > java.version=3D1.6.0_17 > java.vendor=3DSun Microsystems Inc. > BootLoader constants: OS=3Dwin32, ARCH=3Dx86, WS=3Dwin32, NL=3Des_ES > Framework arguments: =A0-product net.refractions.udig.tutorials.rcp.produ= ct > Command-line arguments: =A0-product net.refractions.udig.tutorials.rcp.pr= oduct -data I:\PROYECTOS\MMI\Udig\workspace/../runtime-net.refractions.udig= .tutorials.rcp.product -dev file:I:/PROYECTOS/MMI/Udig/workspace/.metadata/= .plugins/org.eclipse.pde.core/net.refractions.udig.tutorials.rcp.product/de= v.properties -os win32 -ws win32 -arch x86 -consoleLog > > !ENTRY org.eclipse.osgi 2 0 2010-11-11 08:48:19.968 > !MESSAGE Uno o varios paquetes compuestos no se han resuelto debido a que= tampoco se han resuelto las restricciones ra=EDz siguientes: > !SUBENTRY 1 org.eclipse.osgi 2 0 2010-11-11 08:48:19.968 > !MESSAGE No se ha resuelto el paquete compuesto update@../eclipse/plugins= /org.eclipse.core.filesystem.win32.x86_1.1.201.R36x_v20100727-0745.jar. > !SUBENTRY 2 org.eclipse.core.filesystem.win32.x86 2 0 2010-11-11 08:48:19= .968 > !MESSAGE Falta el host org.eclipse.core.filesystem_[1.1.0,2.0.0). > !SUBENTRY 1 org.eclipse.osgi 2 0 2010-11-11 08:48:19.968 > !MESSAGE No se ha resuelto el paquete compuesto update@../eclipse/plugins= /org.eclipse.ui.win32_3.2.200.I20100509-0800.jar. > !SUBENTRY 2 org.eclipse.ui.win32 2 0 2010-11-11 08:48:19.968 > !MESSAGE Falta el host org.eclipse.ui.ide_[3.2.0,4.0.0). > !SUBENTRY 1 org.eclipse.osgi 2 0 2010-11-11 08:48:19.968 > !MESSAGE No se ha resuelto el paquete compuesto update@../eclipse/plugins= /org.eclipse.core.resources.win32.x86_3.5.100.v20100505-1345.jar. > !SUBENTRY 2 org.eclipse.core.resources.win32.x86 2 0 2010-11-11 08:48:19.= 968 > !MESSAGE Falta el host org.eclipse.core.resources_[3.5.0,4.0.0). > > !ENTRY org.eclipse.osgi 2 0 2010-11-11 08:48:19.968 > !MESSAGE A continuaci=F3n se proporciona una lista completa de paquetes c= ompuestos no resueltos, consulte la entrada de anotaciones anterior para la= ra=EDz si es que existe: > !SUBENTRY 1 org.eclipse.osgi 2 0 2010-11-11 08:48:19.968 > !MESSAGE No se ha resuelto el paquete compuesto org.eclipse.core.resource= s.win32.x86_3.5.100.v20100505-1345 [1280]. > !SUBENTRY 2 org.eclipse.core.resources.win32.x86 2 0 2010-11-11 08:48:19.= 968 > !MESSAGE Falta el host org.eclipse.core.resources_[3.5.0,4.0.0). > !SUBENTRY 1 org.eclipse.osgi 2 0 2010-11-11 08:48:19.968 > !MESSAGE No se ha resuelto el paquete compuesto org.eclipse.ui.win32_3.2.= 200.I20100509-0800 [1281]. > !SUBENTRY 2 org.eclipse.ui.win32 2 0 2010-11-11 08:48:19.968 > !MESSAGE Falta el host org.eclipse.ui.ide_[3.2.0,4.0.0). > !SUBENTRY 1 org.eclipse.osgi 2 0 2010-11-11 08:48:19.968 > !MESSAGE No se ha resuelto el paquete compuesto org.eclipse.core.filesyst= em.win32.x86_1.1.201.R36x_v20100727-0745 [1282]. > !SUBENTRY 2 org.eclipse.core.filesystem.win32.x86 2 0 2010-11-11 08:48:19= .968 > !MESSAGE Falta el host org.eclipse.core.filesystem_[1.1.0,2.0.0). > 11-nov-2010 8:48:21 it.geosolutions.util.KakaduUtilities loadKakadu > ADVERTENCIA: Failed to load the Kakadu native libs. This is not a problem= unless you need to use the Kakadu plugin: it won't be enabled. java.lang.U= nsatisfiedLinkError: no kdu_jni in java.library.path > > !ENTRY net.refractions.udig.ui 1 0 2010-11-11 08:48:21.592 > !MESSAGE Unable to parse version from about.mappings file. Defaulting to = a blank string. > > !ENTRY org.eclipse.osgi 2 1 2010-11-11 08:48:32.139 > !MESSAGE NLS unused message: LayerSummary_1 in: net.refractions.udig.proj= ect.ui.internal.messages > > !ENTRY org.eclipse.osgi 2 1 2010-11-11 08:48:32.139 > !MESSAGE NLS unused message: MapEditor_saveError in: net.refractions.udig= .project.ui.internal.messages > > !ENTRY org.eclipse.osgi 2 1 2010-11-11 08:48:32.139 > !MESSAGE NLS unused message: NewMapPage_label_mapName_text in: net.refrac= tions.udig.project.ui.internal.messages > > !ENTRY org.eclipse.osgi 2 1 2010-11-11 08:48:32.139 > !MESSAGE NLS unused message: ProjectEditorAreaDropAction_error_message in= : net.refractions.udig.project.ui.internal.messages > > !ENTRY org.eclipse.osgi 2 1 2010-11-11 08:48:32.139 > !MESSAGE NLS unused message: ProjectUIPlugin_job_title in: net.refraction= s.udig.project.ui.internal.messages > > !ENTRY org.eclipse.osgi 2 1 2010-11-11 08:48:32.139 > !MESSAGE NLS unused message: ProjectUIPlugin_newMap_title in: net.refract= ions.udig.project.ui.internal.messages > > !ENTRY org.eclipse.osgi 2 1 2010-11-11 08:48:32.139 > !MESSAGE NLS unused message: ResourceSelectionPage_message in: net.refrac= tions.udig.project.ui.internal.messages > > !ENTRY org.eclipse.osgi 2 1 2010-11-11 08:48:32.139 > !MESSAGE NLS unused message: ToolManager_other in: net.refractions.udig.p= roject.ui.internal.messages > > !ENTRY org.eclipse.osgi 2 1 2010-11-11 08:48:32.155 > !MESSAGE NLS unused message: ToolProxy_error_message in: net.refractions.= udig.project.ui.internal.messages > > !ENTRY org.eclipse.osgi 2 1 2010-11-11 08:48:32.155 > !MESSAGE NLS unused message: ToolProxy_error_title in: net.refractions.ud= ig.project.ui.internal.messages > > !ENTRY org.eclipse.osgi 2 1 2010-11-11 08:48:32.155 > !MESSAGE NLS unused message: Info_toString in: net.refractions.udig.proje= ct.internal.messages > > !ENTRY org.eclipse.osgi 2 1 2010-11-11 08:48:32.155 > !MESSAGE NLS unused message: RenderExecutorImpl_0 in: net.refractions.udi= g.project.internal.messages > > !ENTRY net.refractions.udig.project 1 0 2010-11-11 08:48:40.951 > !MESSAGE Agregar Capas failed to run > !STACK 0 > java.lang.NullPointerException > =A0 =A0 =A0 =A0at net.refractions.udig.project.ui.internal.RenderManagerA= dapters.synchronizeRenderers(RenderManagerAdapters.java:327) > =A0 =A0 =A0 =A0at net.refractions.udig.project.ui.internal.RenderManagerA= dapters.synchronizeAndRefresh(RenderManagerAdapters.java:281) > =A0 =A0 =A0 =A0at net.refractions.udig.project.ui.internal.RenderManagerA= dapters.access$0(RenderManagerAdapters.java:280) > =A0 =A0 =A0 =A0at net.refractions.udig.project.ui.internal.RenderManagerA= dapters$3.layerAdded(RenderManagerAdapters.java:161) > =A0 =A0 =A0 =A0at net.refractions.udig.project.internal.ContextModelListe= nerAdapter.notifyChanged(ContextModelListenerAdapter.java:81) > =A0 =A0 =A0 =A0at net.refractions.udig.project.ui.internal.RenderManagerA= dapters$3.notifyChanged(RenderManagerAdapters.java:142) > =A0 =A0 =A0 =A0at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eN= otify(BasicNotifierImpl.java:380) > =A0 =A0 =A0 =A0at org.eclipse.emf.common.notify.impl.NotificationImpl.dis= patch(NotificationImpl.java:1033) > =A0 =A0 =A0 =A0at org.eclipse.emf.common.notify.impl.NotificationImpl.dis= patch(NotificationImpl.java:1038) > =A0 =A0 =A0 =A0at org.eclipse.emf.common.notify.impl.NotifyingListImpl.ad= dAllUnique(NotifyingListImpl.java:468) > =A0 =A0 =A0 =A0at org.eclipse.emf.common.util.AbstractEList.addAll(Abstra= ctEList.java:410) > =A0 =A0 =A0 =A0at net.refractions.udig.project.internal.commands.AddLayer= sCommand.run(AddLayersCommand.java:89) > =A0 =A0 =A0 =A0at net.refractions.udig.project.command.CommandManager$Exe= cutor.execute(CommandManager.java:400) > =A0 =A0 =A0 =A0at net.refractions.udig.project.command.CommandManager$Exe= cutor.run(CommandManager.java:325) > =A0 =A0 =A0 =A0at net.refractions.udig.project.command.CommandManager$Exe= cutor.run(CommandManager.java:311) > =A0 =A0 =A0 =A0at org.eclipse.core.internal.jobs.Worker.run(Worker.java:5= 4) > > > > > -----Mensaje original----- > De: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@l= ists.refractions.net] En nombre de Jody Garnett > Enviado el: jueves, 11 de noviembre de 2010 2:28 > Para: User-friendly Desktop Internet GIS > Asunto: Re: [udig-devel] Udig RCP tutorial > > 2010/11/10 Joaqu=EDn Rodriguez-Guerra Urcelay : >> Hello list, > > Morning > >> I just found out about udig, and I would love to use it to embed a udig = map >> into my eclipse rcp application. For this, I followed the tutorials to k= now >> more about udig: >> >> SDK Quickstart Guide >> Plug-in Tutorial >> Custom App Tutorial >> Workbench Tutorial >> >> And then I finally found the example code I was looking for: >> net.refractions.udig.tutorials.rcp > > Right; that example code is part of the commercial training course. We > can make those materials available to academics; or you can contact a > PSC member in your area to arrange a course. > >> But I cannot get it to work. I have search for old messages in the maili= ng >> list, and it seems like some people were having problems too before. Is = the >> example working right now in udig 1.2? > > It should work; the general thrust of that session is identifying what > plugins you need from udig; understanding that > net.refractions.udig.project.ui has a "MapViewer" widget you can use; > and how to embed that into an otherwise innocent RCP application. > > I only ever do QA on that when I teach the course; and I have not > taught a course using Eclipse 3.6 yet so it is possible some of the > details need updating. Each major eclipse release tends to change some > of the dependencies required. > >> I am using the envelopmet setup proposed in SDK Quickstart Guide with >> Eclipse 3.6 and the extended JRE. > > That sounds right. > >> This is what I did to run the application: > >> In eclipse: >> >> Go to Plugin-Development perspective >> >> Choose net.refractions.udig.tutorials.rcp from the plugins list and impo= rt >> it as source project. >> >> Open the manifest.mf and click on launch an eclipse application >> > Nope; open the product and run that; the product includes the feature > that grabs in all the required plugins. > >> And this is the log messages I get: > > I think it is missing the net.refractions.udig.catalog.shapefile > plugin; probably because it lacked a dependency on start up? Take your > run configuration and click "add required plugins" to see what > happens. > > But yeah; run the product if you can. > > Jody > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel > > ______________________ > This message including any attachments may contain confidential > information, according to our Information Security Management System, > =A0and intended solely for a specific individual to whom they are address= ed. > =A0Any unauthorised copy, disclosure or distribution of this message > =A0is strictly forbidden. If you have received this transmission in error= , > =A0please notify the sender immediately and delete it. > > ______________________ > Este mensaje, y en su caso, cualquier fichero anexo al mismo, > =A0puede contener informacion clasificada por su emisor como confidencial > =A0en el marco de su Sistema de Gestion de Seguridad de la > Informacion siendo para uso exclusivo del destinatario, quedando > prohibida su divulgacion copia o distribucion a terceros sin la > autorizacion expresa del remitente. Si Vd. ha recibido este mensaje > =A0erroneamente, se ruega lo notifique al remitente y proceda a su borrad= o. > Gracias por su colaboracion. > > ______________________ > > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel > > ______________________ > This message including any attachments may contain confidential > information, according to our Information Security Management System, > =A0and intended solely for a specific individual to whom they are address= ed. > =A0Any unauthorised copy, disclosure or distribution of this message > =A0is strictly forbidden. If you have received this transmission in error= , > =A0please notify the sender immediately and delete it. > > ______________________ > Este mensaje, y en su caso, cualquier fichero anexo al mismo, > =A0puede contener informacion clasificada por su emisor como confidencial > =A0en el marco de su Sistema de Gestion de Seguridad de la > Informacion siendo para uso exclusivo del destinatario, quedando > prohibida su divulgacion copia o distribucion a terceros sin la > autorizacion expresa del remitente. Si Vd. ha recibido este mensaje > =A0erroneamente, se ruega lo notifique al remitente y proceda a su borrad= o. > Gracias por su colaboracion. > > ______________________ > > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel >

Back to the top