Questions tagged [scalatra-sbt]

20 questions
0
votes
1 answer

Deploy on Heroku using Scalatra

I am trying to deploy my Scalatra web application in heroku but I am having one problem. My application works in local with SBT and using "heroku local web". I am using heroku sbt plugin. When I use "sbt stage deployHeroku" the application is…
Hellzzar
  • 185
  • 1
  • 9
0
votes
1 answer

Scalatra : Access file path from a deployed application

I need to access file path on the server in Scalatra application. Without war file the following worked for me where file was stored in /src/main/resources/data location. this.getClass.getResource("/data").getPath However the same doesn't work…
Amit Jain
  • 1,372
  • 8
  • 16
0
votes
1 answer

Spec2 :how to see failing test stacktrace and resolve "parseBody" keyword not found

I need to know two things here : 1. How to see the stacktrace of the failing test case? Right now I only see the line number it failed and the result. See the outcome of the test case below : x return status 200 [error] '404' is not equal to…
Amit Jain
  • 1,372
  • 8
  • 16
0
votes
1 answer

how to get Table sent by scalate ssp in a javascript function

I work with framework scalatra , I declare my array in this manner up the page .ssp <% @ val table_activity: Array [String]%> usually if I want to extract data from middle of the page .ssp : <% for ( x <- 0 to table_activity.length-1) { %> …
yotta
  • 35
  • 4
0
votes
1 answer

Can't compile Scalatra 2.2.2 with Scala 2.9.1

I'm getting bunch of warnings like these: [warn] module not found: org.scalatra#scalatra_2.9.1;2.2.2 [warn] ==== local: tried [warn] /Users/newuser/.ivy2/local/org.scalatra/scalatra_2.9.1/2.2.2/ivys/ivy.xml [warn] ==== public: tried And finally…
Tutankhamen
  • 3,532
  • 1
  • 30
  • 38
1
2