Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Problem exporting product based on uDig

Hi,

I'm using Eclipse 3.4, so I guess this is the problem.

We've also just managed to workaround all these bugs and export an application. Here is how: 1. A line "source.libs.jar = src/" was removed from build.properties in net.refractions.udig.lib. 2. All plug-ins imported from target platform were exported to JARs and then removed from application.
After this export succeeds but the application won't start.
3. Replace folder net.refractions.udig.libs_1.1.1 from plugins of the exported application, with one from uDig 1.1.1.
4. Replace JARs from plugins with the exported ones (point 2).

It took some time to develop this method but the application seems to work fine.
Thanks for help.

Jody Garnett pisze:
Hi Mr. Maniecki:

The uDig 1.1.1 application requires you use an earlier version of
Eclipse in order to export a custom application. Can you tell me what
version of eclipse you are using?

Jody

2009/6/18 Michał Maniecki <mmm@xxxxxxxxxx>:
Hello,

It seems to me that generating a product ("Eclipse product export wizard")
is not working with uDig SDK very well. There seems to be a number of
problems.

I created a simple application (just uDig SDK). I imported
net.refractions.udig and net.refractions.udig.ui from the target platform (I
wanted to change something). Then I tried to export a product. It fails with
an error:
temp\.metadata\.plugins\org.eclipse.pde.core\temp\destination\plugins\net.refractions.udig.libs_1.1.1
not found.

I looked at the build.properties of the libs project. It has an entry
"source.libs.jar = src/" but the plug-in does not have this folder. I
removed it. The export fails now with:
temp\.metadata\.plugins\org.eclipse.pde.core\temp\destination\plugins\net.refractions.udig.ui_1.1.1\@dot
not found.

So I reverted my modifications to net.refractions.udig.ui and removed it.
The export works, but after starting the application it fails with an error:
org.osgi.framework.BundleException: The activator
net.refractions.udig.libs.internal.Activator for bundle
net.refractions.udig.libs is invalid.

Is there any way to export a product application based on uDig? Possibly a
one with modified plug-ins from a target platform?

Thanks for help.

--
Michał Maniecki
Software Programmer

Globema Sp. z o.o., ul. Rostafińskich 4, 02-593 Warszawa, Poland
tel. (+48) 22 848 73 13 w. 61, fax (+48) 22 848 68 83
www.globema.com.pl

Treść tej wiadomości może zawierać prawnie chronione informacje poufne.
Jeśli otrzymaliście ją Państwo przez pomyłkę, prosimy o niezwłoczne
powiadomienie o tym nadawcy oraz jej usunięcie z Państwa komputera, bez
wykonywania, dystrybuowania lub zatrzymywania jakiejkolwiek jej kopii.

This message may contain confidential information protected by law. If you
have received this message by mistake, please immediately inform the sender
of the mistake and delete this message from your system without making,
distributing or retaining any copies of it.
_______________________________________________
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



--
Michał Maniecki
Software Programmer

Globema Sp. z o.o., ul. Rostafińskich 4, 02-593 Warszawa, Poland
tel. (+48) 22 848 73 13 w. 61, fax (+48) 22 848 68 83
www.globema.com.pl

Treść tej wiadomości może zawierać prawnie chronione informacje poufne. Jeśli otrzymaliście ją Państwo przez pomyłkę, prosimy o niezwłoczne powiadomienie o tym nadawcy oraz jej usunięcie z Państwa komputera, bez wykonywania, dystrybuowania lub zatrzymywania jakiejkolwiek jej kopii.

This message may contain confidential information protected by law. If you have received this message by mistake, please immediately inform the sender of the mistake and delete this message from your system without making, distributing or retaining any copies of it.


Back to the top