You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Tim Moloney (JIRA)" <ji...@apache.org> on 2007/02/11 05:36:05 UTC
[jira] Created: (FELIX-204) commons-logging wrapping
commons-logging wrapping
------------------------
Key: FELIX-204
URL: https://issues.apache.org/jira/browse/FELIX-204
Project: Felix
Issue Type: New Feature
Components: Felix Commons
Reporter: Tim Moloney
Priority: Minor
Create the bundle(s) necessray to use commons-logging with Felix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-204) commons-logging wrapping
Posted by "Tim Moloney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Moloney updated FELIX-204:
------------------------------
Attachment: pom.xml
Attached pom.xml for commons-logging
To use this pom, either use the bnd patch in this issue, or comment out the <Include-Resources> element.
Per Enrique Redriguez's request, I have broken up the commons-1.patch into separate JIRA issues and attached the associated pom.xml file.
FELIX-226 jta (by Alin Dreghiciu)
FELIX-228 activation
FELIX-229 avalon-framework
FELIX-230 log4j
FELIX-231 logkit
FELIX-232 mail
FELIX-233 servlet-api
FELIX-234 xercesImpl
FELIX-235 xml-resolver
FELIX-236 jms
FELIX-237 jmxtools
> commons-logging wrapping
> ------------------------
>
> Key: FELIX-204
> URL: https://issues.apache.org/jira/browse/FELIX-204
> Project: Felix
> Issue Type: New Feature
> Components: Felix Commons
> Reporter: Tim Moloney
> Assigned To: Enrique Rodriguez
> Priority: Minor
> Attachments: ApacheFelixCommons.tgz, bnd-find-include-resource-in-classpath.patch, commons-1.patch, pom.xml
>
>
> Create the bundle(s) necessary to use commons-logging with Felix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (FELIX-204) commons-logging wrapping
Posted by "Enrique Rodriguez (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on FELIX-204 started by Enrique Rodriguez.
> commons-logging wrapping
> ------------------------
>
> Key: FELIX-204
> URL: https://issues.apache.org/jira/browse/FELIX-204
> Project: Felix
> Issue Type: New Feature
> Components: Felix Commons
> Reporter: Tim Moloney
> Assigned To: Enrique Rodriguez
> Priority: Minor
> Attachments: ApacheFelixCommons.tgz, bnd-find-include-resource-in-classpath.patch, commons-1.patch, pom.xml, pom.xml
>
>
> Create the bundle(s) necessary to use commons-logging with Felix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FELIX-204) commons-logging wrapping
Posted by "Tim Moloney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Moloney closed FELIX-204.
-----------------------------
> commons-logging wrapping
> ------------------------
>
> Key: FELIX-204
> URL: https://issues.apache.org/jira/browse/FELIX-204
> Project: Felix
> Issue Type: New Feature
> Components: Felix Commons
> Reporter: Tim Moloney
> Assigned To: Enrique Rodriguez
> Priority: Minor
> Attachments: ApacheFelixCommons.tgz, bnd-find-include-resource-in-classpath.patch, commons-1.patch, pom.xml, pom.xml
>
>
> Create the bundle(s) necessary to use commons-logging with Felix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-204) commons-logging wrapping
Posted by "Enrique Rodriguez (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Enrique Rodriguez resolved FELIX-204.
-------------------------------------
Resolution: Fixed
A wrapper POM creating an OSGi bundle of the 3rd-party library was committed on rev 518004.
URL: http://svn.apache.org/viewvc?view=rev&rev=518004
> commons-logging wrapping
> ------------------------
>
> Key: FELIX-204
> URL: https://issues.apache.org/jira/browse/FELIX-204
> Project: Felix
> Issue Type: New Feature
> Components: Felix Commons
> Reporter: Tim Moloney
> Assigned To: Enrique Rodriguez
> Priority: Minor
> Attachments: ApacheFelixCommons.tgz, bnd-find-include-resource-in-classpath.patch, commons-1.patch, pom.xml, pom.xml
>
>
> Create the bundle(s) necessary to use commons-logging with Felix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-204) commons-logging wrapping
Posted by "Tim Moloney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Moloney updated FELIX-204:
------------------------------
Attachment: pom.xml
Updated pom.xml based on Richard Hall's naming suggestion.
> commons-logging wrapping
> ------------------------
>
> Key: FELIX-204
> URL: https://issues.apache.org/jira/browse/FELIX-204
> Project: Felix
> Issue Type: New Feature
> Components: Felix Commons
> Reporter: Tim Moloney
> Assigned To: Enrique Rodriguez
> Priority: Minor
> Attachments: ApacheFelixCommons.tgz, bnd-find-include-resource-in-classpath.patch, commons-1.patch, pom.xml, pom.xml
>
>
> Create the bundle(s) necessary to use commons-logging with Felix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-204) commons-logging wrapping
Posted by "Tim Moloney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Moloney updated FELIX-204:
------------------------------
Description: Create the bundle(s) necessary to use commons-logging with Felix. (was: Create the bundle(s) necessray to use commons-logging with Felix.)
> commons-logging wrapping
> ------------------------
>
> Key: FELIX-204
> URL: https://issues.apache.org/jira/browse/FELIX-204
> Project: Felix
> Issue Type: New Feature
> Components: Felix Commons
> Reporter: Tim Moloney
> Priority: Minor
> Attachments: ApacheFelixCommons.tgz
>
>
> Create the bundle(s) necessary to use commons-logging with Felix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (FELIX-204) commons-logging wrapping
Posted by "Enrique Rodriguez (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Enrique Rodriguez reassigned FELIX-204:
---------------------------------------
Assignee: Enrique Rodriguez
> commons-logging wrapping
> ------------------------
>
> Key: FELIX-204
> URL: https://issues.apache.org/jira/browse/FELIX-204
> Project: Felix
> Issue Type: New Feature
> Components: Felix Commons
> Reporter: Tim Moloney
> Assigned To: Enrique Rodriguez
> Priority: Minor
> Attachments: ApacheFelixCommons.tgz
>
>
> Create the bundle(s) necessary to use commons-logging with Felix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-204) commons-logging wrapping
Posted by "Tim Moloney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Moloney updated FELIX-204:
------------------------------
Attachment: commons-1.patch
This file reformats ApacheFelixCommons.tgz into a patch so that can be applied to the new commons subdirectory.
Note: jms, jmxtools, and jta are not yet fully integrated since they are Sun jars that have to be downloaded separately.
> commons-logging wrapping
> ------------------------
>
> Key: FELIX-204
> URL: https://issues.apache.org/jira/browse/FELIX-204
> Project: Felix
> Issue Type: New Feature
> Components: Felix Commons
> Reporter: Tim Moloney
> Assigned To: Enrique Rodriguez
> Priority: Minor
> Attachments: ApacheFelixCommons.tgz, commons-1.patch
>
>
> Create the bundle(s) necessary to use commons-logging with Felix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Updated: (FELIX-204) commons-logging wrapping
Posted by Niclas Hedhman <ni...@hedhman.org>.
On Sunday 11 February 2007 12:45, Tim Moloney wrote:
> Hopefully, these bundles are useful enough for others to start using
> them. If they need refinement, perhaps others smarter than me on the
> above topics can improve them as needed.
The improvement already exist;
http://wiki.ops4j.org/confluence/display/ops4j/Pax+Logging
;o)
api : The internal api used for inter-bundle communication, as well
as some common APIs such as JDK util Logging and KFLog.
log4j : Log4J API
avalon : Avalon API
slf4j : SLF4J API
jcl : Commons-Logging API.
service : The current service implementation uses Log4J and allows you
to supply the log configuration via OSGi's Configuration Admin
Service.
To use; Load the legacy APIs that are needed, and use each APIs factory
method as usual.
The service can be reloaded with stopping the clients, to allow
for feature enhancements.
I am also contemplating to make Log4J backend itself more modular, so that
Appenders, Filters and Formatters can be loaded separately if needed. But
that work has not gotten far yet. Likewise, although it implements the OSGi
Log Service API, it is not fully compliant yet in respect to LogEvents and
LogReaders, but that is the target before a 1.0 release.
Cheers
Niclas
Re: [jira] Updated: (FELIX-204) commons-logging wrapping
Posted by Tim Moloney <t....@verizon.net>.
For your convenience, here's the README from the attachment.
===== begin README =====
This is my first attempt at creating a bundle for commons-logging (and
all the jars on which it depends).
While I could have simply created a single large bundle for
commons-logging that inlined all of its dependency jars, many of its
dependencies are useful library jars in their own right. So, to be as
modular as possible, I created a bundle for each of the dependency
jars.
While my cursory testing shows that these bundles work in Felix, there
are still a couple of issues left to work out.
- Copying the library jar to project directory so <Include-Resource>
can access it.
Currently this is a manual process that, if possible, needs to be
automated in maven. A better solution would be for the
maven-bundle-plugin to find and use the library jar file in the
maven repository.
- Maven dependencies vs OSGi bundle dependencies.
I don't fully understand maven dependency handling, OSGi dependency
handling, nor how they compare. Only the library jar file needs to
be listed in the <dependencies> section in the pom.xml file. This
relieves us from worrying about dependencies when creating the
bundle. However, all dependency bundles must be loaded in Felix
before commons-logging-osgi can be started, whether the dependency
jar is used by the commons-loggin configuration or not. For
example, if commons-logging is not configured to use avalon, the
avalon-framework-osgi bundle (and all of its dependencies) are
required to be loaded and started before commons-logging-osgi will
start. Perhaps this is a limitation on how commons-logging was
built. Perhaps I misunderstand how commongs-logging is supposed to
work. Perhaps I misunderstand how OSGi dependency management works.
Hopefully, these bundles are useful enough for others to start using
them. If they need refinement, perhaps others smarter than me on the
above topics can improve them as needed.
Tim Moloney
t.moloney@verizon.net
===== end README =====
Tim Moloney (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/FELIX-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Tim Moloney updated FELIX-204:
> ------------------------------
>
> Attachment: ApacheFelixCommons.tgz
>
> I attached a tar file containing the following:
>
> ApacheFelixCommons
> |-- README
> |-- activation-osgi
> | `-- pom.xml
> |-- avalon-framework-osgi
> | `-- pom.xml
> |-- commons-logging-osgi
> | `-- pom.xml
> |-- dependencies
> |-- jms-osgi
> | `-- pom.xml
> |-- jmxtools-osgi
> | `-- pom.xml
> |-- jta-osgi
> | `-- pom.xml
> |-- log4j-osgi
> | `-- pom.xml
> |-- logkit-osgi
> | `-- pom.xml
> |-- mail-osgi
> | `-- pom.xml
> |-- pom.xml
> |-- servlet-api-osgi
> | `-- pom.xml
> |-- template-pom.xml
> `-- xerces-osgi
> `-- pom.xml
>
>
>
>> commons-logging wrapping
>> ------------------------
>>
>> Key: FELIX-204
>> URL: https://issues.apache.org/jira/browse/FELIX-204
>> Project: Felix
>> Issue Type: New Feature
>> Components: Felix Commons
>> Reporter: Tim Moloney
>> Priority: Minor
>> Attachments: ApacheFelixCommons.tgz
>>
>>
>> Create the bundle(s) necessary to use commons-logging with Felix.
>>
>
>
[jira] Updated: (FELIX-204) commons-logging wrapping
Posted by "Tim Moloney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Moloney updated FELIX-204:
------------------------------
Attachment: ApacheFelixCommons.tgz
I attached a tar file containing the following:
ApacheFelixCommons
|-- README
|-- activation-osgi
| `-- pom.xml
|-- avalon-framework-osgi
| `-- pom.xml
|-- commons-logging-osgi
| `-- pom.xml
|-- dependencies
|-- jms-osgi
| `-- pom.xml
|-- jmxtools-osgi
| `-- pom.xml
|-- jta-osgi
| `-- pom.xml
|-- log4j-osgi
| `-- pom.xml
|-- logkit-osgi
| `-- pom.xml
|-- mail-osgi
| `-- pom.xml
|-- pom.xml
|-- servlet-api-osgi
| `-- pom.xml
|-- template-pom.xml
`-- xerces-osgi
`-- pom.xml
> commons-logging wrapping
> ------------------------
>
> Key: FELIX-204
> URL: https://issues.apache.org/jira/browse/FELIX-204
> Project: Felix
> Issue Type: New Feature
> Components: Felix Commons
> Reporter: Tim Moloney
> Priority: Minor
> Attachments: ApacheFelixCommons.tgz
>
>
> Create the bundle(s) necessary to use commons-logging with Felix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-204) commons-logging wrapping
Posted by "Tim Moloney (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Moloney updated FELIX-204:
------------------------------
Attachment: bnd-find-include-resource-in-classpath.patch
Attached bnd patch required to build bundles with resources in the classpath.
(activation, avalon-framework, commons-logging, mail, xercesImpl)
> commons-logging wrapping
> ------------------------
>
> Key: FELIX-204
> URL: https://issues.apache.org/jira/browse/FELIX-204
> Project: Felix
> Issue Type: New Feature
> Components: Felix Commons
> Reporter: Tim Moloney
> Assigned To: Enrique Rodriguez
> Priority: Minor
> Attachments: ApacheFelixCommons.tgz, bnd-find-include-resource-in-classpath.patch, commons-1.patch
>
>
> Create the bundle(s) necessary to use commons-logging with Felix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.