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

重新实现Resouce包 #200

Closed
wendal opened this issue Apr 24, 2012 · 1 comment
Closed

重新实现Resouce包 #200

wendal opened this issue Apr 24, 2012 · 1 comment

Comments

@wendal
Copy link
Member

wendal commented Apr 24, 2012

再次审阅了一次resource包,那叫一个乱啊

现在的实现, 是倾向于: 如何找到XX
而,实际上,更应该解决: 需要在哪里找,哪里可以找

所以,有几个地方可以进行查找:
当前文件夹 new File(".")
通过/META-INF/MANIFEST.MF文件获取所有可访问jar文件的路径
通过环境变量classpath所得之的全部路径

@ghost ghost assigned wendal Apr 24, 2012
@wendal
Copy link
Member Author

wendal commented Apr 24, 2012

fix in f163802

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant