[ https://issues.apache.org/jira/browse/FELIX-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978150#comment-14978150 ]
Balazs Zsoldos commented on FELIX-5090: --------------------------------------- Offtopic: {quote} The only proper solution Ive found is to put the correct JTA package on the same class path as where framework resides. {quote} I ignored both javax.sql.* and javax.transaction.* packages from the system.packages. I used both of them from separate bundles. I also uploaded the different versions of javax.sql packages as OSGi bundles to maven-central. I feel this a bit cleaner solution. With Java 9, the package sets of Java will be hopefully available as separate jars, so it will not be a big job to load everything from bundles, except java.* packages. > [framework] Possibility to exclude packages from system.packages > ---------------------------------------------------------------- > > Key: FELIX-5090 > URL: https://issues.apache.org/jira/browse/FELIX-5090 > Project: Felix > Issue Type: Wish > Components: Framework > Reporter: Balazs Zsoldos > > See Christian's mail that is part of a long discussion: > http://www.mail-archive.com/users%40felix.apache.org/msg16834.html > {quote} > A typical case I have is that I need to remove some packages from the system > packages. > Would it be possible to have a property like: > org.osgi.framework.system.packages.ignore=javax.transaction > {quote} > The equotation of would look like this: result = packages + extra - ignore -- This message was sent by Atlassian JIRA (v6.3.4#6332)