[
https://issues.apache.org/jira/browse/TOMEE-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866931#comment-15866931
]
Arkadiusz Gasinski commented on TOMEE-2017:
-------------------------------------------
And can I set it to the root of my uberjar somehow? And if that's not possible,
can I at least copy some resources from my uberjar to the work dir during
application deploy time? And if that's also not possible, then I guess that
bundling resources.xml file in my uberjar won't work as of current.
Speaking of system properties, will the below work, i.e. will I be able to
inject DataSource using @Resource(name="myDataSource")?
java -DmyDataSource=new://Resource?type=DataSource -DmyDataSource.JdbcUrl=... -
DmyDataSource.JdbcDriver=... - jar my-app-with-tomee.jar
> How to serve static content from TomEE embedded?
> ------------------------------------------------
>
> Key: TOMEE-2017
> URL: https://issues.apache.org/jira/browse/TOMEE-2017
> Project: TomEE
> Issue Type: Documentation
> Components: TomEE Core Server
> Environment: N/A
> Reporter: Arkadiusz Gasinski
>
> Please provide documentation with appropriate examples explaining how to
> serve static content (*.html, *.js, *.css, etc.) using TomEE embedded.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)