增加fixflow-core和expand项目对OSGI项目的的支持#222
Open
wyc20131204 wants to merge 1 commit intofixteam:developfrom
Open
Conversation
主要是在OSGI项目中,文件路径都变成一个 bundleresource:\222.33\com.....core.impl的路径,改路径只能被OSGI的框架识别,需要将这个路径转化为本地路径,通过eclipse的org.eclipse.core.runtime.FileLocator类可以实现转换,转换以后就变成D:/bin/....这种本地文件路径了。通过加入判断,core和expand可直接运行在OSGI项目中和bundle工程中。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
主要是在OSGI项目中,文件路径都变成一个 bundleresource:\222.33\com.....core.impl的路径,该路径只能被OSGI的框架识别,需要将这个路径转化为本地路径,通过eclipse的org.eclipse.core.runtime.FileLocator类可以实现转换,转换以后就变成D:/bin/....这种本地文件路径了。通过加入判断,core和expand可直接运行在OSGI项目中的bundle工程中。基于5.1 版本的修改,希望对fixflow有帮助