[Gvsig_english] Re: Compliling GvSIG to Mac OS X
Mija
hoanqui at ono.com
Fri Apr 7 13:08:37 CEST 2006
El 07/04/2006, a las 11:33, [Jaudy] Maël REBOUX escribió:
>
> You all are right ! I should have read the "read me" before. I
> apologize. Would you ever forgive me ? lol
> Desculpe to our spanish friends !
>
> BUT... I did it !
>
> http://projetsigle.free.fr/temp/gvsig_macosx/
>
> Now, how to compile real .app ? or, at less, .jar ?
When you run the last xml file (appgvSIG's build.xml), you end up
having the fully built application at the fwAndami directory: you can
see there the Andami.jar and the gvSIG directory. Those, together
with the lib directory, are the needed parts to have the gvSIG app
run. You can check the binary distribution of gvSIG to see how it
matches this.
How to run it without eclipse? Take a look at the gvSIG.sh shell
script that is beside the readme; that's the official way to run
gvSIG. It's BASICALLY something like
java -cp andami.jar:./lib/log4j-1.2.8.jar:./lib/iver-utiles.jar:./lib/
castor-0.9.5.3-xml.jar:./lib/crimson.jar:./lib/xerces_2_5_0.jar:./lib/
javaws.jar:./lib/xml-apis.jar -Xmx500M com.iver.andami.Launcher gvSIG
gvSIG/extensiones
(where you still have to set up the native libs directory with -
Djava.library.path= . Check the shell script)
I'm using the linux shell script to run gvSIG on OS X, and it works
for me. However, note that I'm not using any of the native
functionality, only the pure java part.
Surely building an .app bundle would make all the launch process much
more Mac-like, but I've never done that. Anyway, I would expect it to
be not-too-difficult, though.
(sidenote: Maël, the link you provided contains an RTF file that
can't be downloaded OK since it contains images (it's a RTFD bundle).
OS X shows it as a file though it really is a folder; and the web
server shows us the folder. I'd suggest that you make it a PDF...)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://runas.cap.gva.es/pipermail/gvsig_internacional/attachments/20060407/1e95a4d2/attachment.htm
More information about the Gvsig_internacional
mailing list