rcp - Loading resources in a plug-in works in eclipse but not for maven -


i trying load resources platform url approach in e4 rcp application. works fine application plug-in. have got second plug-in extends application via fragments. in plug-in approach

platform:/plugin/<name>/<path> 

does not work. if start project eclipse though, resources can loaded. doing wrong?

the build.properties content of plug-in follows:

source.. = src bin.includes = meta-inf/,\            .,\            plugin.xml,\            fragment.e4xmi,\            res/ 

the problem was: maven build case sensitive file names, while eclipse not.

new url("platform:/plugin/name/res/myfile.txt") new url("platform:/plugin/name/res/myfile.txt") 

in eclipse, both versions working; maven build, second version. seems quite strange me. great if explain this.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -