[fedora-java] Including classes from Sun's demo code in a Fedora package

Mary Ellen Foster foster at in.tum.de
Wed Feb 11 11:04:55 UTC 2009


On Wed, Feb 11, 2009 at 11:41 AM, Mary Ellen Foster <foster at in.tum.de> wrote:
> On Wed, Feb 11, 2009 at 11:33 AM, Mark Wielaard <mark at klomp.org> wrote:
>> That ElementTreePanel.java is in the demo package, but hidden inside a
>> zip file:
>> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.*/demo/jfc/Notepad/src.zip
>>
>> It comes under a modern BSD-license (without nuclear clause, hurray!)
>> But ExampleFileFilter.java indeed isn't part of the package
>> unfortunately.
>
> Oh. That's cool! So what should the package submitter do, then? If he
> just copies the new ExampleTreePanel into the source of his package
> replacing the included one, is that kosher?

Or how's this: depend on the demo package and add .../Notepad.jar to
the $CLASSPATH when running the app? Although that could be fragile
because the location of Notepad.jar is going to move every time the
demo package gets updated ...

MEF

-- 
Mary Ellen Foster  --  http://homepages.inf.ed.ac.uk/mef/
Informatik 6: Robotics and Embedded Systems, Technische Universität München
and ICCS, School of Informatics, University of Edinburgh




More information about the java-devel mailing list