[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: libgstreamer-java



On Wed, May 26, 2010 at 9:08 AM, Samuel Lucas Vaz de Mello
<samuelmello@gmail.com> wrote:
<snip>
> I checked the official binary provided by upstream and it doesn't
> contain a Class-Path in the manifest.
>
> Is the Class-Path in library jars (without a Main-Class) used by any
> other tool beside javahelper?
>
> If the Class-Path is used only by javahelper to generate
> ${java:Depends} I think it would be easier to maintain two entries in
> the Depends than a patch in build-impl.xml.
>
> The package I just uploaded to mentors have the Depends manually set.
</snip>

'Class-Path' entry in manifest file is used by JVM to load
dependencies (jar files, resource files) automatically. This way if
some class from your library depends on external library then
applications dependent on your library don't have to load them
explicitly.

By the way, regarding tango icons. A quick look at the source tells me
that they are being used in only two files,
gstreamer-java/src/org/gstreamer/swing/PopupVolumeButton.java and
gstreamer-java/src/org/gstreamer/swing/VideoPlayer.java. The way the
icons are loaded it should be easy to patch the files to load icons
from system installed package.


Onkar
-- 
Passion - Some people climb mountains - others write Free software.
Don't ask why - the reason is the same.


Reply to: