{"id":25105150,"url":"https://github.com/col-panic/os-development-spifly-demo","last_synced_at":"2025-04-02T07:42:50.372Z","repository":{"id":275907970,"uuid":"927570717","full_name":"col-panic/os-development-spifly-demo","owner":"col-panic","description":"Demonstration that shows Eclipse application using JAXB with / without spifly","archived":false,"fork":false,"pushed_at":"2025-02-05T07:25:32.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T08:26:41.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/col-panic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-05T07:12:39.000Z","updated_at":"2025-02-05T07:25:35.000Z","dependencies_parsed_at":"2025-02-05T08:27:38.221Z","dependency_job_id":"ffa6abb3-83f7-49c2-b197-268182255597","html_url":"https://github.com/col-panic/os-development-spifly-demo","commit_stats":null,"previous_names":["col-panic/os-development-spifly-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/col-panic%2Fos-development-spifly-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/col-panic%2Fos-development-spifly-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/col-panic%2Fos-development-spifly-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/col-panic%2Fos-development-spifly-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/col-panic","download_url":"https://codeload.github.com/col-panic/os-development-spifly-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246777829,"owners_count":20832032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-07T22:42:23.264Z","updated_at":"2025-04-02T07:42:50.345Z","avatar_url":"https://github.com/col-panic.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n#  Eclipse OSGI Spifly use to inject dependencies Demo\n\nThis demo is bound as demo for issues \n\n* https://github.com/eclipse-ee4j/jersey/issues/5834\n* https://github.com/jakartaee/rest/issues/1304\n\nThis is based on an `Eclipse-RCP 2025-03` installation.\nLoad the `demolocal.target` which contains the local Eclipse installation + jaxb-osgi from maven\n\nThis demonstrates the usage and interconnection of JAXB in an Eclipse headless application.\n\nThere are 2 launch configurations. Please use the Eclipse `Compare With / Each other` function on them.\n\n# `NoSpifly.launch`\n\nContains all required bundles to run JAXB. Executing it results in\n\n```\n!ENTRY org.eclipse.osgi 4 0 2025-02-05 08:18:15.961\n!MESSAGE Application error\n!STACK 1\njakarta.xml.bind.JAXBException: Implementation of Jakarta XML Binding-API has not been found on module path or classpath.\n - with linked exception:\n[java.lang.ClassNotFoundException: org.glassfish.jaxb.runtime.v2.ContextFactory]\n\tat jakarta.xml.bind.ContextFinder.newInstance(ContextFinder.java:250)\n\tat jakarta.xml.bind.ContextFinder.newInstance(ContextFinder.java:238)\n\tat jakarta.xml.bind.ContextFinder.find(ContextFinder.java:386)\n\tat jakarta.xml.bind.JAXBContext.newInstance(JAXBContext.java:605)\n\tat jakarta.xml.bind.JAXBContext.newInstance(JAXBContext.java:546)\n\tat at.medevit.demo.osgireqcap.JakartaJaxb.\u003cinit\u003e(JakartaJaxb.java:19\n```\n\nas the `jaxb-osgi` service is not injected into `jaxb-api`.\n\nNow run\n\n## `YesSpifly.launch`\n\nYou will see the following output\n\n```\nWARNING: Using incubator modules: jdk.incubator.vector\nFeb. 05, 2025 8:19:56 AM org.apache.aries.spifly.BaseActivator log\nINFORMATION: Registered provider com.sun.tools.rngdatatype.helpers.ProxyDatatypeLibraryFactory of service com.sun.tools.rngdatatype.DatatypeLibraryFactory in bundle com.sun.xml.bind.jaxb-osgi\nFeb. 05, 2025 8:19:56 AM org.apache.aries.spifly.BaseActivator log\nINFORMATION: Registered provider com.sun.tools.xjc.addon.code_injector.PluginImpl of service com.sun.tools.xjc.Plugin in bundle com.sun.xml.bind.jaxb-osgi\nFeb. 05, 2025 8:19:56 AM org.apache.aries.spifly.BaseActivator log\nINFORMATION: Registered provider com.sun.tools.xjc.addon.locator.SourceLocationAddOn of service com.sun.tools.xjc.Plugin in bundle com.sun.xml.bind.jaxb-osgi\nFeb. 05, 2025 8:19:56 AM org.apache.aries.spifly.BaseActivator log\nINFORMATION: Registered provider com.sun.tools.xjc.addon.sync.SynchronizedMethodAddOn of service com.sun.tools.xjc.Plugin in bundle com.sun.xml.bind.jaxb-osgi\nFeb. 05, 2025 8:19:56 AM org.apache.aries.spifly.BaseActivator log\nINFORMATION: Registered provider com.sun.tools.xjc.addon.at_generated.PluginImpl of service com.sun.tools.xjc.Plugin in bundle com.sun.xml.bind.jaxb-osgi\nFeb. 05, 2025 8:19:56 AM org.apache.aries.spifly.BaseActivator log\nINFORMATION: Registered provider com.sun.tools.xjc.addon.episode.PluginImpl of service com.sun.tools.xjc.Plugin in bundle com.sun.xml.bind.jaxb-osgi\nFeb. 05, 2025 8:19:56 AM org.apache.aries.spifly.BaseActivator log\nINFORMATION: Registered provider com.sun.tools.xjc.addon.accessors.PluginImpl of service com.sun.tools.xjc.Plugin in bundle com.sun.xml.bind.jaxb-osgi\nFeb. 05, 2025 8:19:56 AM org.apache.aries.spifly.BaseActivator log\nINFORMATION: Registered provider org.glassfish.jaxb.runtime.v2.JAXBContextFactory of service jakarta.xml.bind.JAXBContextFactory in bundle com.sun.xml.bind.jaxb-osgi\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n\u003centity someString=\"9f516947-dfc6-4d13-acfd-f5bfe6eb3bfe\"/\u003e\n```\n\nwhere the first entries show how spifly connects the services, and a real JAXB process with output happening.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcol-panic%2Fos-development-spifly-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcol-panic%2Fos-development-spifly-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcol-panic%2Fos-development-spifly-demo/lists"}