|
Hi Rick, I'm not sure I understand. What is Felix, and why should its source be in the Derby repository?
Hi Bryan,
Felix is the Apache OSGI implementation. Currently, we include the Felix binary, felix.jar, in tools/java so that we always build Derby's OSGI binding (EmbeddedActivator). We checked felix.jar into the Derby source tree as the solution to Attaching derby-4024-01-ab-felixSources.diff. This points the Netbeans project at the new location of the Felix classes. Touches the following additional file:
M tools/ide/netbeans/6.0/nbproject/project.xml I wonder, will there be any change in licensing details for Derby when we include the felix sources?
Myrna I'm not sure that I understand the reasoning behind this change. felix.jar is a part of Derby's source distribution. Derby completely compiles from the source tarball today, easier than ever thanks to all your recent build work. What advantage is conferred by including the Felix source instead of the jar file in the source distribution, exactly?
Hi Myrna,
As part of this patch, I have changed the NOTICE file to state that Derby includes work from the Felix project. I think that attribution should have been in the NOTICE file before but we overlooked that. I don't think that there are different licensing requirements if we bundle the source vs the binaries. Hi Andrew, The Debian lineage of linux distributions (including Ubuntu) have a rule that any software which they distribute must be buildable from source and other distributed packages. In order to build Derby from scratch, the Felix jar would have to satisfy one of the following requirements: 1) Be buildable from source in the Derby distribution (the change proposed here) or 2) Be a separately distributed component of Ubuntu. I don't know why an OSGI implementation isn't a component of Ubuntu today. But I can't find one. The first option seemed like a simpler solution. I think that being distributed as part of Ubuntu would be good for Derby. Committed derby-4024-01-ab-felixSources.diff at subversion revision 737043.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
M build.xml
M tools/ant/properties/extrapath.properties
M tools/ant/properties/dirs.properties
Wire the Felix sources into the Derby build.
M NOTICE
Include the Felix NOTICE in Derby's NOTICE file.
D tools/java/felix.jar
Deprecate this jar file.
A java/stubs/felix
A java/stubs/felix/org
A java/stubs/felix/org/osgi
A java/stubs/felix/org/osgi/framework
A java/stubs/felix/org/osgi/framework/AllServiceListener.java
A java/stubs/felix/org/osgi/framework/FrameworkEvent.java
A java/stubs/felix/org/osgi/framework/Configurable.java
A java/stubs/felix/org/osgi/framework/AdminPermission.java
A java/stubs/felix/org/osgi/framework/ServiceEvent.java
A java/stubs/felix/org/osgi/framework/FrameworkListener.java
A java/stubs/felix/org/osgi/framework/PackagePermission.java
A java/stubs/felix/org/osgi/framework/ServiceListener.java
A java/stubs/felix/org/osgi/framework/ServicePermission.java
A java/stubs/felix/org/osgi/framework/Bundle.java
A java/stubs/felix/org/osgi/framework/BundleEvent.java
A java/stubs/felix/org/osgi/framework/InvalidSyntaxException.java
A java/stubs/felix/org/osgi/framework/Constants.java
A java/stubs/felix/org/osgi/framework/BundleContext.java
A java/stubs/felix/org/osgi/framework/BundleListener.java
A java/stubs/felix/org/osgi/framework/ServiceReference.java
A java/stubs/felix/org/osgi/framework/BundlePermission.java
A java/stubs/felix/org/osgi/framework/Filter.java
A java/stubs/felix/org/osgi/framework/Version.java
A java/stubs/felix/org/osgi/framework/BundleActivator.java
A java/stubs/felix/org/osgi/framework/BundleException.java
A java/stubs/felix/org/osgi/framework/ServiceFactory.java
A java/stubs/felix/org/osgi/framework/SynchronousBundleListener.java
A java/stubs/felix/org/osgi/framework/FrameworkUtil.java
A java/stubs/felix/org/osgi/framework/ServiceRegistration.java
Add the Felix sources.