Location: Cambridge UK
Registered: February 2005
Re: Name of the jar file for libsbml java binding on Windows
26 Jan '11 06:19
Sarah Keating wrote:
> Hi libsbml-java-binding users
> We have a question re the name of the jar file shipped with the windows
> installers for libsbml.
> Brief history:
> The java function
> works slightly differently on a windows OS in that it does not prepend
> 'lib' to the name before looking for the library files which it does on
> other operating systems. When we first produced the windows installers
> for libsbml we made the decision to name the java-binding libraries
> sbmlj.dll/.lib. Thus users did not have to add code to determine which
> OS they are on and pass different names to the loadLibrary function.
> For consistency, the libsbml windows installer names the corresponding
> jar file as sbmlj.jar. However this name difference is not necessary.
> The jar file is completely independent of the operating system and so
> this file could be named libsbml.jar; which would be consistent with the
> jar file created when the libsbml java binding is built on non-windows
> Should we change the name of the jar file shipped with the windows
> installers to be libsbml.jar ?
> The jar file would then be consistently named regardless of OS but on
> windows the files would be sbmlj.dll/.lib and libsbml.jar.
> Does anyone see a problem with this ??
I don't see any problems with this but as you are speaking about
renaming the jar, it would be nice
to include the version of the library in the name of the jar for all
platforms, so libsbml-5.0.0.jar for example.