You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <ji...@apache.org> on 2009/01/16 18:42:59 UTC

[jira] Created: (DERBY-4024) Replace felix.jar file with the felix sources

Replace felix.jar file with the felix sources
---------------------------------------------

                 Key: DERBY-4024
                 URL: https://issues.apache.org/jira/browse/DERBY-4024
             Project: Derby
          Issue Type: Improvement
          Components: Build tools
    Affects Versions: 10.5.0.0
            Reporter: Rick Hillegas


In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-4024:
--------------------------------------

    Fix Version/s: 10.5.0.0

> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>             Fix For: 10.5.0.0
>
>         Attachments: derby-4024-01-aa-felixSources.diff, derby-4024-01-ab-felixSources.diff
>
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas updated DERBY-4024:
---------------------------------

    Derby Info: [Patch Available]

> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4024-01-aa-felixSources.diff
>
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666558#action_12666558 ] 

Rick Hillegas commented on DERBY-4024:
--------------------------------------

Committed derby-4024-01-ab-felixSources.diff at subversion revision 737043.

> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4024-01-aa-felixSources.diff, derby-4024-01-ab-felixSources.diff
>
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas reassigned DERBY-4024:
------------------------------------

    Assignee: Rick Hillegas

> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas resolved DERBY-4024.
----------------------------------

    Resolution: Fixed

> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4024-01-aa-felixSources.diff, derby-4024-01-ab-felixSources.diff
>
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Andrew McIntyre (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664766#action_12664766 ] 

Andrew McIntyre commented on DERBY-4024:
----------------------------------------

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?

> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4024-01-aa-felixSources.diff, derby-4024-01-ab-felixSources.diff
>
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Bryan Pendleton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664606#action_12664606 ] 

Bryan Pendleton commented on DERBY-4024:
----------------------------------------

Hi Rick, I'm not sure I understand. What is Felix, and why should its source be in the Derby repository?


> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4024-01-aa-felixSources.diff
>
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Myrna van Lunteren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664744#action_12664744 ] 

Myrna van Lunteren commented on DERBY-4024:
-------------------------------------------

I wonder, will there be any change in licensing details for Derby when we include the felix sources?

Myrna

> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4024-01-aa-felixSources.diff, derby-4024-01-ab-felixSources.diff
>
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas updated DERBY-4024:
---------------------------------

    Attachment: derby-4024-01-ab-felixSources.diff

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


> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4024-01-aa-felixSources.diff, derby-4024-01-ab-felixSources.diff
>
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas updated DERBY-4024:
---------------------------------

    Attachment: derby-4024-01-aa-felixSources.diff

Attaching derby-4024-01-aa-felixSources.diff. This replaces felix.jar with the corresponding Felix sources. Touches the following files:

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.


> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4024-01-aa-felixSources.diff
>
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664614#action_12664614 ] 

Rick Hillegas commented on DERBY-4024:
--------------------------------------

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 DERBY-1670.

> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4024-01-aa-felixSources.diff
>
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665428#action_12665428 ] 

Rick Hillegas commented on DERBY-4024:
--------------------------------------

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.

> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4024-01-aa-felixSources.diff, derby-4024-01-ab-felixSources.diff
>
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DERBY-4024) Replace felix.jar file with the felix sources

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas closed DERBY-4024.
--------------------------------


> Replace felix.jar file with the felix sources
> ---------------------------------------------
>
>                 Key: DERBY-4024
>                 URL: https://issues.apache.org/jira/browse/DERBY-4024
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.5.1.1
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>             Fix For: 10.5.1.1
>
>         Attachments: derby-4024-01-aa-felixSources.diff, derby-4024-01-ab-felixSources.diff
>
>
> In order to bundle Derby with popular linux distributions like Debian and Ubuntu, it must be possible to build Derby from sources and existing linux components. By replacing Felix jar with the corresponding sources, we move another step closer to being able to bundle Derby with linux distributions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.