Re: [OpenMap Users] Issues with OpenMap in a jar file

From: Mulone <andrea.ballatore_at_ucd.ie>
Date: Thu, 11 Jun 2009 15:29:50 -0700 (PDT)

PS: when I run the exact same code on Eclipse it works fine... I get the
error just when I run it from the executable jar with java -jar
myapplication.jar


Hi everybody,
I've been messing with my openmap-based application to make it work in a
executable jar file... It's not as easy as it might look.

The most annoying issue I've come across is related to the png files I use
to display icons: given that I can't use a simple FileInputStream in a jar
file I wrote this function: http://www.copypastecode.com/6107/
[...]
-- 
View this message in context: http://www.nabble.com/Issues-with-OpenMap-in-a-jar-file-tp23990002p23990082.html
Sent from the OpenMap mailing list archive at Nabble.com.
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Jun 11 2009 - 18:30:06 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT