Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加fixflow-core和expand项目对OSGI项目的的支持 #222

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

wyc20131204
Copy link

主要是在OSGI项目中,文件路径都变成一个 bundleresource:\222.33\com.....core.impl的路径,该路径只能被OSGI的框架识别,需要将这个路径转化为本地路径,通过eclipse的org.eclipse.core.runtime.FileLocator类可以实现转换,转换以后就变成D:/bin/....这种本地文件路径了。通过加入判断,core和expand可直接运行在OSGI项目中的bundle工程中。基于5.1 版本的修改,希望对fixflow有帮助

主要是在OSGI项目中,文件路径都变成一个 bundleresource:\222.33\com.....core.impl的路径,改路径只能被OSGI的框架识别,需要将这个路径转化为本地路径,通过eclipse的org.eclipse.core.runtime.FileLocator类可以实现转换,转换以后就变成D:/bin/....这种本地文件路径了。通过加入判断,core和expand可直接运行在OSGI项目中和bundle工程中。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant