Hey there,
here are the changes I applied to NB 9 to have osgi bundles working
again with java 9.
With kind regards,
Johannes Boesl
Am 09.11.18 um 16:56 schrieb Chuck Davis:
> My understanding is that OSGi was developed as a client side technology for
> small form factor devices. It's easy to think of it as a server technology
> since all the current app servers are based on OSGi.
>
> Since NB is only for Swing I have started looking at the possibility of
> creating a JFX client running on Felix. It's not difficult to do and
> provides all the support of the OSGi platform to a very nice client
> (automatic updating of bundles, etc.). Unfortunately I have not gotten
> past the proof-of-concept stage (last tried on 8.2) due to other
> distractions but I plan to get back to it soon. For that reason I
> personally am very interested in NB having good support for creating OSGi
> bundles (assuredly different from integrating with NB which I presume Peter
> is saying is broken). I haven't tried to create an OSGi bundle with 9 or
> 10 but hope creating bundles for Felix is not broken. Fortunately, it is a
> technology very usable on both client and server.
>
> Just my $.02.
>
>
>
> On Fri, Nov 9, 2018 at 4:23 AM Peter Nabbefeld <[email protected]>
> wrote:
>
>> Hello,
>>
>> OSGi support is obviously broken since NB 9, see
>> https://github.com/mojohaus/nbm-maven-plugin/issues/52 for details. I've
>> created NETBEANS-1638 as a critical bug.
>>
>> The question here is, how important is OSGi for functionality of
>> NetBeans itself (e.g. JEE support), i.e. does it probably need to be a
>> blocker?
>>
>> Kind regards
>>
>> Peter
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>>
Index: libs.felix/external/org.apache.felix.main-4.2.1-notice.txt
===================================================================
--- libs.felix/external/org.apache.felix.main-4.2.1-notice.txt (revision 19e5871a24d5b0feeee0d9a195eec2b6be12b444)
+++ libs.felix/external/org.apache.felix.main-5.6.10-notice.txt (date 1541779227000)
@@ -1,0 +1,0 @@
Index: libs.felix/external/org.apache.felix.main-4.2.1-license.txt
===================================================================
--- libs.felix/external/org.apache.felix.main-4.2.1-license.txt (revision 19e5871a24d5b0feeee0d9a195eec2b6be12b444)
+++ libs.felix/external/org.apache.felix.main-5.6.10-license.txt (date 1541779227000)
@@ -1,0 +1,0 @@
Index: libs.felix/manifest.mf
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- libs.felix/manifest.mf (revision 19e5871a24d5b0feeee0d9a195eec2b6be12b444)
+++ libs.felix/manifest.mf (date 1540899504000)
@@ -10,5 +10,15 @@
org.apache.felix.framework.cache,org.apache.felix.framework.capabilityset,
org.apache.felix.framework.ext,org.apache.felix.framework.resolver,
org.apache.felix.framework.util,org.apache.felix.framework.util.manifestparser,
- org.apache.felix.main,org.apache.felix.framework.wiring
-
+ org.apache.felix.main,org.apache.felix.framework.wiring,
+ org.apache.felix.resolver.util,org.apache.felix.resolver,
+ org.osgi.service.resolver,
+ org.osgi.dto,org.osgi.framework,org.osgi.framework.dto,org.osgi.
+ framework.hooks.bundle,org.osgi.framework.hooks.resolver,
+ org.osgi.framework.hooks.service,org.osgi.framework.hooks.weaving,
+ org.osgi.framework.launch,org.osgi.framework.namespace,
+ org.osgi.framework.startlevel,org.osgi.framework.startlevel.dto,
+ org.osgi.framework.wiring,org.osgi.framework.wiring.dto,
+ org.osgi.resource,org.osgi.resource.dto,
+ org.osgi.service.packageadmin,org.osgi.service.startlevel,
+ org.osgi.service.url,org.osgi.util.tracker
Index: libs.felix/nbproject/project.xml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- libs.felix/nbproject/project.xml (revision 19e5871a24d5b0feeee0d9a195eec2b6be12b444)
+++ libs.felix/nbproject/project.xml (date 1540898755000)
@@ -36,8 +36,8 @@
</module-dependencies>
<public-packages/>
<class-path-extension>
- <runtime-relative-path>ext/org.apache.felix.main-4.2.1.jar</runtime-relative-path>
- <binary-origin>external/org.apache.felix.main-4.2.1.jar</binary-origin>
+ <runtime-relative-path>ext/org.apache.felix.main-5.6.10.jar</runtime-relative-path>
+ <binary-origin>external/org.apache.felix.main-5.6.10.jar</binary-origin>
</class-path-extension>
</data>
</configuration>
Index: libs.felix/nbproject/project.properties
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- libs.felix/nbproject/project.properties (revision 19e5871a24d5b0feeee0d9a195eec2b6be12b444)
+++ libs.felix/nbproject/project.properties (date 1540898719000)
@@ -15,6 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-release.external/org.apache.felix.main-4.2.1.jar=modules/ext/org.apache.felix.main-4.2.1.jar
+release.external/org.apache.felix.main-5.6.10.jar=modules/ext/org.apache.felix.main-5.6.10.jar
javac.source=1.6
javac.compilerargs=-Xlint -Xlint:-serial
Index: libs.felix/external/binaries-list
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- libs.felix/external/binaries-list (revision 19e5871a24d5b0feeee0d9a195eec2b6be12b444)
+++ libs.felix/external/binaries-list (date 1540898620000)
@@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.
-1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7 org.apache.felix:org.apache.felix.main:4.2.1
+DA3E0B8D15D5DA4CE648963F7B572B1E631D131C org.apache.felix:org.apache.felix.main:5.6.10
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists