Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Change i18n.properties file location #136

Closed
lhazlewood opened this issue Jan 22, 2015 · 1 comment
Closed

Change i18n.properties file location #136

lhazlewood opened this issue Jan 22, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@lhazlewood
Copy link
Member

The stormpath-sdk-servlet-VERSION.jar:META-INF/resources/WEB-INF/classes/com/stormpath/sdk/servlet/i18n.properties file is not resolvable in Jetty 8 (it works in Tomcat 7 though).

Moving the file to stormpath-sdk-servlet-VERSION.jar:com/stormpath/sdk/servlet/i18n.properties works correctly.

The new destination still allows a web app to override these default definitions by re-defining the file in web app's /WEB-INF/classes/com/stormpath/sdk/servlet/i18n.properties. In a Maven or Gradle project then, the file should reside in src/main/resources/com/stormpath/sdk/servlet/i18n.properties and the file will be copied over to /WEB-INF/classes in the appropriate target directory.

The current workaround for Jetty deployments is to copy and paste this file into the war project as described above.

@lhazlewood lhazlewood added the bug label Jan 22, 2015
lhazlewood added a commit that referenced this issue Jan 22, 2015
@lhazlewood lhazlewood changed the title change i18n.properties file location Change i18n.properties file location Jan 22, 2015
lhazlewood added a commit that referenced this issue Jan 22, 2015
@lhazlewood lhazlewood added this to the 1.0.RC3.1 milestone Jan 22, 2015
@lhazlewood lhazlewood self-assigned this Jan 22, 2015
@lhazlewood
Copy link
Member Author

Closing for the 1.0.RC3.1 release. Fix is also in the master branch.

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

No branches or pull requests

1 participant