[Gvsig_english] Re: OS X build & native libraries - dylib, jnilib, ... (2)

Francisco José fpenarru at iver.es
Wed Apr 5 18:30:09 CEST 2006


Ok. You are right.

Thanks

Mija escribió:
> Sorry, I think we're talking about different beasts here. I was 
> referring to the Extensions directory used by the JVM (which is 
> usually located at jre\lib\ext in the Windows platform, but which is 
> more flexible in OS X); not the extensions directory used by gvSIG (if 
> I understood you correctly).
>
>
> El 05/04/2006, a las 18:02, Francisco José escribió:
>
>> Mija escribió:
>>> Well, in fact I CAN tell you something about the Extensions method: 
>>> I wouldn't use it, unless I really had a good reason to do so.
>>>
>>> (Because of how classloaders work in Java, a class loaded from an 
>>> Extensions directory won't be able to load classes (nor resources?) 
>>> from the ClassPath. So you could find some surprising and difficult 
>>> to diagnose problems... )
>>>
>>>
>>> _______________________________________________
>>> Gvsig_internacional mailing list
>>> Gvsig_internacional at runas.cap.gva.es
>>> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>>
>> I don't know if this could be the point, but.... In gvSIG you can use 
>> classes from other Extensions. Just put in config.xml something like 
>> that:
>>
>> <plugin-config>
>>    <libraries library-dir="./"/>
>>    <depends plugin-name="com.iver.cit.gvsig" />
>>    <depends plugin-name="com.iver.cit.gvsig.jdbc_spatial" />
>>
>> In this example (Edition extension, for example) we are using classes 
>> from gvSIG extension (the main application) and also from 
>> jdbc_spatial extension (access to PostGIS and mySQL spatial databases).
>>
>> Have fun.
>>
>> --Francisco José Peñarrubia
>> Equipo gvSIG
>>
>> IVER T.I. S.A.
>> c/Salamanca 50
>> 46005 Valencia
>> Spain
>>
>>
>> _______________________________________________
>> Gvsig_internacional mailing list
>> Gvsig_internacional at runas.cap.gva.es
>> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional


-- 
Francisco José Peñarrubia
Equipo gvSIG

IVER T.I. S.A.
c/Salamanca 50
46005 Valencia
Spain




More information about the Gvsig_internacional mailing list