[ 
https://issues.apache.org/jira/browse/PIVOT-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034844#comment-13034844
 ] 

Andrei Pozolotin commented on PIVOT-22:
---------------------------------------

1) cool, got it. my current osgi test is developed here (feel free to scavange, 
its bsd):
https://github.com/carrot-garden/carrot-tester/tree/master/carrot-test-osgi-ws
but its all maven, which Greg hates, and I can not go back to ant :-)

2) the major change would be mass edit of TCCL, which is covered by your 
current tests

3) there are some problematic areas, which I do not fully see through; like 
this:

a)
    public BXMLSerializer() {
uses
        scriptEngineManager = new javax.script.ScriptEngineManager();
and not
    public ScriptEngineManager(ClassLoader loader) {

b)
    public BXMLSerializer(final ClassLoader classLoader) {
is used 
                        if (classLoader == null) {
                            propertyClass = Class.forName(propertyClassName);
                        } else {
                            propertyClass = Class.forName(propertyClassName, 
true, classLoader);
                        }
separately from TCCL (so you currently you have to use both TCCL and non 
default constructor)


> OSGi support
> ------------
>
>                 Key: PIVOT-22
>                 URL: https://issues.apache.org/jira/browse/PIVOT-22
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk
>            Reporter: Greg Brown
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: pivot-osgi.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to