This content has been marked as final. Show 6 replies
Right click in your WebCenter Portal Project -> Project Properties > Resource Bundle option you can access to Bundle Search Tab and select more additional Resource Bundles for your project.
but when i tried adding a properties file which is outside the project(EAR file), its showing an error message *"The selected file not found in project"*
I am trying to access a file from an arbitrary location outside project.
About your requeriments...
Why you need to load bundle of external location?.
JDeveloper can't load external bundles because calculates a relative package based in your project source files.
You need to implement your own load properties/bundle class to load external bundles.
Hi Daniel Thank You,
Actually I need external Resource bundle as I don't want to re-deploy my application every time when I made changes to my resource bundle(Properties File).
So, there is no possibility in Jdeveloper to add an external resource bundle which is outside EAR file...???
To achieve your requeriment you can try next solutions:
- Add a external path where you are going to let your Resource Bundle in your Manage Server Classpath. For example: /language (into this folder put your baseName folder's and properties file).
- Build your custom Java Class to load Resource Bundle in a configured classpath or path.
- Try to do a similar solution like WebCenter Spaces copying your resource bundle in MDS path and updating/getting it with WSLT scripts.
Hi, is it not possible to have an external resource bundle? I'm planning to have a resource bundle and deployed as an WebCenter Portal Extension, then I'm trying to work out on accessing those resource bundle in my other project. I'm thinking this approach to avoid redeploying the application or re-building the project everytime there's a change in the resource bundle... any hint? Thanks..