BaseDir.find

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

BaseDir.find

salrodloy
Hello everybody,

I have been trying to set one of the folders which is inside of one of the jars (i.e., one of the dependencies) as a base dir, in order to re-use some of the static content (e.g., css and javascripts).  I tried something like the following but it does not work, I get the message "Could not find marker file"

serverConfig{
                baseDir(BaseDir.find("/org/myorg/artifactname/index.html"))
        }

What is the correct way to define the path of the marker file?

Thank you
Salvador
Reply | Threaded
Open this post in threaded view
|

Re: BaseDir.find

Luke Daley
Administrator
Hi there,

Please try without the leading / in the marker file path.