Я работаю над приложением на основе затмения, в котором используется Tycho/Maven. Следовательно, я также предоставил резервуарный завод. Но это не сработает. < /P>
раньше, когда я использовал SLF4J.API 1.7.32 с помощью Resurback 1.2.13, загружался автоматически, не предоставляя ему никакого сервисного загрузчика. Я не знаю, в чем причина, но мои журналы не печатаются. Но если я вручную изменяюсь ниже в файле bundles.info, то мой файл журнала генерируется, а журналы также печатаются. />1.org.apache.aries.spifly.dynamic.bundle,1.3.7, plugins/org.apache.aries.spifly.dynamic.bundle_1.3.7.jar,< Strong>1,1, />2.ch.qos.logback.classic,1.5.12, plugins/ch.qos.logback.classic_1.5.12.jar,< Strong>2,1tues Пакет < /p>
requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=ch.qos.logback.classic.iufragment
requires.1.range=[$version$,$version$]
requires.1.greedy=true
units.1.id=ch.qos.logback.classic.iufragment
units.1.version=$version$
units.1.provides.1.namespace=org.eclipse.equinox.p2.iu
units.1.provides.1.name=ch.qos.logback.classic.iufragment
units.1.provides.1.version=$version$
units.1.instructions.install=org.eclipse.equinox.p2.touchpoint.eclipse.installBundle(bundle:${artifact});
units.1.instructions.uninstall=org.eclipse.equinox.p2.touchpoint.eclipse.uninstallBundle(bundle:${artifact});
units.1.instructions.unconfigure=org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel:-1);org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started:false);
units.1.instructions.configure=org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel:2);org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started:true);
units.1.hostRequirements.1.namespace=osgi.bundle
units.1.hostRequirements.1.name=ch.qos.logback.classic
units.1.hostRequirements.2.namespace=org.eclipse.equinox.p2.eclipse.type
units.1.hostRequirements.2.name=bundle
units.1.hostRequirements.2.greedy=false
units.1.requires.1.namespace=osgi.bundle
units.1.requires.1.name=ch.qos.logback.classic
units.1.requires.1.greedy=false
requires.2.namespace=org.eclipse.equinox.p2.iu
requires.2.name=org.apache.aries.spifly.dynamic.bundle.iufragment
requires.2.range=[$version$,$version$]
requires.2.greedy=true
units.2.id=org.apache.aries.spifly.dynamic.bundle.iufragment
units.2.version=$version$
units.2.provides.1.namespace=org.eclipse.equinox.p2.iu
units.2.provides.1.name=org.apache.aries.spifly.dynamic.bundle.iufragment
units.2.provides.1.version=$version$
units.2.instructions.install=org.eclipse.equinox.p2.touchpoint.eclipse.installBundle(bundle:${artifact});
units.2.instructions.uninstall=org.eclipse.equinox.p2.touchpoint.eclipse.uninstallBundle(bundle:${artifact});
units.2.instructions.unconfigure=org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel:-1);org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started:false);
units.2.instructions.configure=org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel:1);org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started:true);
units.2.hostRequirements.1.namespace=osgi.bundle
units.2.hostRequirements.1.name=org.apache.aries.spifly.dynamic.bundle
units.2.hostRequirements.2.namespace=org.eclipse.equinox.p2.eclipse.type
units.2.hostRequirements.2.name=bundle
units.2.hostRequirements.2.greedy=false
units.2.requires.1.namespace=osgi.bundle
units.2.requires.1.name=org.apache.aries.spifly.dynamic.bundle
units.2.requires.1.greedy=false
< /code>
Но это не будет работать, что приведет к загрузке более транзитивных плагинов, которые увеличивают размер моего продукта вдвое. (не решение). < /p>
также попыталась добавить изменения в файл .product, но это не затронуло для моего репозиции P2 продукта. < /p>
Есть мысли? Решение?
Подробнее здесь: https://stackoverflow.com/questions/796 ... pplication
SLF4J 2.x с помощью Rogack не работает в приложении на основе Osgi Eclipse ⇐ JAVA
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
SLF4J 2.x с помощью Rogack не работает в приложении на основе Osgi Eclipse
Anonymous » » в форуме JAVA - 0 Ответы
- 5 Просмотры
-
Последнее сообщение Anonymous
-