저는 오랫동안 osgi 프레임 워크로 Equinox를 사용하는 응용 프로그램을 보유하고 있습니다. 지금까지 나는 나의 번들 그렇게osgi.configuration.area를 설정하면 Equinox OSGI 응용 프로그램이 깨집니다.
${osgi.install.area}/
plugins/
org.eclipse.osgi_3.7.0.v20110613.jar
... my app bundles
춘분 같은 곳에 자동으로 구성 영역으로 ${osgi.install.area}/configuration
을 사용하여 지정하는 시스템 프로퍼티 osgi.install.area를 사용했다.
모두 정상적으로 작동합니다.
는 지금은 그 읽기 전용 될 수 있기 때문에 ${osgi.install.area}
에서 구성 영역을 이동해야하고 나는 그것이 적절한 경로에 ${osgi.configuration.area}
를 설정하는 것만 큼 간단하다고 생각하지만 응용 프로그램이 더 이상 시작이 작업을 수행하지 때 나는이 로그에 스택 추적을 다음
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:150)
...
경로 때문에 로그 파일이 생성되는 위치와 디렉토리 "org.eclipse.osgi"
에 사용됩니다. 번들
경로는 다음처럼 내 config.ini
에서 참조 :
osgi.bundles=de.mycomp.app[email protected], ...
오류 메시지가 정말 어디 있는지에 대한 힌트를 제공하지 않습니다. 그것은 다소 단순한 무언가 일 것임에 틀림 없다. 그러나 나는 그 순간 우둔한 편이다. 사전에
감사합니다,
로버트
매우 비슷한 문제가 있습니다. 그걸로 나를 도울 수 있니? http://stackoverflow.com/questions/35387061/change-eclipse-folder-in-linux –