[
http://issues.ops4j.org/browse/PAXEXAM-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191#action_13191
]
Toni Menzel commented on PAXEXAM-154:
-------------------------------------
You are producing a split package that has severe concequences the things a re
wired up. See, when using just felix, you get NoClassDefFoundError problems
when looking up the anymous classes produced in your test. This is just one of
the very nasty sideeffects you get when not separating package concerns.
Agreed: Equinox should not freeze the shutdown in such cases. If a framework
does not make it in a certain amount of time (bug in equinox?) we should kill
the process.
I know you brought this up in an earlier task, which we fixed by constraining
the the exports in our test probe.
However, there is still a dynamic package import to resolve all the uncertain
things that can happen in an adhoc-built bundle.
So, you can fix those things manually by tweaking the manifest of your probe
(http://paxexam.ops4j.org/space/ExamAndTinybundles).
But: best bet: don't do this. The current way exam works is the "3rd persons
view" which leaves the system you build with your bundles as untuched as
possible.
For the "i want to sit in my service package" case you are trying to archive
and i can thing of another "run mode" which perhaps merges your test into an
existing bundle. So you get the insideout-look. Not very sure yet, because it
possible affects more than just injecting the class in your bundle. Will think
about it.
Feel free to add suggestions.
> Test completes but does not shut down for Equinox
> -------------------------------------------------
>
> Key: PAXEXAM-154
> URL: http://issues.ops4j.org/browse/PAXEXAM-154
> Project: Pax Exam
> Issue Type: Bug
> Affects Versions: 1.2.0
> Environment: Mac OS X
> JDK 1.5
> Reporter: Alan D. Cabrera
> Assignee: Toni Menzel
>
> Check out code https://svn.codehaus.org/livetribe/garden/livetribe-slp/trunk
> and move the test class SlpBundleTest to the package org.livetribe.slp.osgi.
> The test completes but does not shut down for Equinox for the test
> testDirectoryAgentListenerServiceTracker. If the test class SlpBundleTest is
> put back to org.livetribe.slp.osgi.tests everything works fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general