Kaliber / railo-sbt

Running and compiling using Railo
1 stars 0 forks source link

Define Railo or Jetty version in project #1

Closed jbrunemann closed 9 years ago

jbrunemann commented 9 years ago

I would like be able to define (or overwrite) versions of key libraries, such as Railo and Jetty, in my project build.sbt. Right now, they are fixed in the plugin.

EECOLOR commented 9 years ago

Jetty has been moved to a separate project (see the runner directory). We should update that manually to prevent any surprises (changing API's, inner working, etc).

In order to be able to use this runner type the following command in the runner directory:

sbt "+publish-local"

The Railo version can be changed using the following setting:

version in Railo := "4.3.0.002"

Note that you probably need to issue a clean command in sbt after you change the version. See the following bug for more information: https://issues.jboss.org/browse/RAILO-3229

Also note that this won't work correctly for the compile command because I have a problem starting Jetty in isolation. See the following stackoverflow question for more details: http://stackoverflow.com/questions/26328744/starting-a-webappcontext-in-isolation