I have just attached commons-1.patch to FELIX-204 if you want to commit
a 3rd round. :)
This patch includes the bundles required for using commons-logging.
- activation
- avalon-framework
- commons-logging
- jms
- jmxtools
- jta
- log4j
- logkit
- mail
- servlet-api
- xercesImpl
- xml-resolver
Note 1: I have not fully integrated jms, jmxtools, and jta yet since
they are Sun jars that have to be downloaded separately. If anyone has
any suggestions on how these jars can be fully integrated or replaced, I
would appreciate them.
Note 2: activation, avalon-framework, commons-logging, mail, and
xercesImpl require a patch to bnd (attached) for it to find resouces
from jars in the classpath. I have already sent the patch to Peter
Kriens for consideration.
Tim
Enrique Rodriguez wrote:
Hi, Felix developers,
1) I committed a 2nd batch of "wrapper POMs" to Felix Commons. I
also updated the status table in Confluence [1]. These were wrapper
POMs John Conlon did for Apache Directory. They are antlr,
commons-collections, and jzlib.
2) I updated the table of "Supporting Projects" to include a column
for links to JIRA issues. There are now links to the JIRA issues for
HTTPClient and MINA. If you have an interest in OSGi support at these
projects, then JIRA gives you the option to "vote" for an issue to be
addressed. You can also "watch" the issue for changes. I'm not
encouraging "ballot stuffing" but if you want to see OSGi support
directly in 3rd party libraries, then voting for or even creating new
issues at relevant projects would be a big help. We can then update
the table.
Enrique
[1]
http://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Commons
--- OSGI-OPT/src/aQute/lib/osgi/Builder.java.orig 2007-01-03 16:39:48.000000000 -0500
+++ OSGI-OPT/src/aQute/lib/osgi/Builder.java 2007-03-03 21:01:37.000000000 -0500
@@ -256,6 +256,17 @@
filter = wildcard(fstring);
}
File file = new File(base.getAbsoluteFile(), name);
+ // If the specified jar file is not in the project, look for it in
+ // the classpath.
+ if (!file.exists()) {
+ for (Iterator c = this.classpath.iterator(); c.hasNext(); ) {
+ Jar j = (Jar)c.next();
+ if (j.source.getName().equals(name)) {
+ file = j.source;
+ break;
+ }
+ }
+ }
ZipResource.build(jar, file, filter );
}