Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LARA
inox
Commits
cbbfad02
Commit
cbbfad02
authored
12 years ago
by
Etienne Kneuss
Browse files
Options
Downloads
Patches
Plain Diff
Import classPath from configuration
parent
c617e3d0
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
web/app/models/LeonConsole.scala
+5
-2
5 additions, 2 deletions
web/app/models/LeonConsole.scala
web/conf/application.conf
+4
-1
4 additions, 1 deletion
web/conf/application.conf
web/conf/laraserver.conf
+52
-0
52 additions, 0 deletions
web/conf/laraserver.conf
with
61 additions
and
3 deletions
web/app/models/LeonConsole.scala
+
5
−
2
View file @
cbbfad02
...
...
@@ -90,6 +90,7 @@ class ConsoleSession extends Actor {
log
(
"Welcome to LeonOnline!"
)
log
(
"Processing request..."
)
val
classPath
=
Play
.
current
.
configuration
.
getString
(
"app.classpath"
).
getOrElse
(
""
)
mode
match
{
case
"verification"
=>
...
...
@@ -100,7 +101,8 @@ class ConsoleSession extends Actor {
settings
=
Settings
(
synthesis
=
false
,
xlang
=
false
,
verify
=
true
verify
=
true
,
classPath
=
classPath
),
files
=
Nil
,
reporter
=
new
WSReporter
(
channel
)
...
...
@@ -120,7 +122,8 @@ class ConsoleSession extends Actor {
settings
=
Settings
(
synthesis
=
true
,
xlang
=
false
,
verify
=
false
verify
=
false
,
classPath
=
classPath
),
files
=
Nil
,
reporter
=
new
WSReporter
(
channel
)
...
...
This diff is collapsed.
Click to expand it.
web/conf/application.conf
+
4
−
1
View file @
cbbfad02
...
...
@@ -46,4 +46,7 @@ logger.play=INFO
logger
.
application
=
DEBUG
# This specifies the prefix under which the web page lies, used almost exclusively for the laraserver setup
app
.
prefix
=/
leon
app
.
prefix
=
""
# Specifies the classpath used by the Scala compiler within Leon
app
.
classpath
=
"."
This diff is collapsed.
Click to expand it.
web/conf/laraserver.conf
0 → 100644
+
52
−
0
View file @
cbbfad02
# This is the main configuration file for the application.
# ~~~~~
# Secret key
# ~~~~~
# The secret key is used to secure cryptographics functions.
# If you deploy your application to several instances be sure to use the same key!
application
.
secret
=
"_JKq[m=o8OG;]F8xD:bGMs^/?KXXb2Huq^KLM=obhIQvsPIwPNJq@sgLWTRCLr4]"
# The application languages
# ~~~~~
application
.
langs
=
"en"
# Global object class
# ~~~~~
# Define the Global object class for this application.
# Default to Global in the root package.
# global=Global
# Database configuration
# ~~~~~
# You can declare as many datasources as you want.
# By convention, the default datasource is named `default`
#
# db.default.driver=org.h2.Driver
# db.default.url="jdbc:h2:mem:play"
# db.default.user=sa
# db.default.password=
# Evolutions
# ~~~~~
# You can disable evolutions if needed
# evolutionplugin=disabled
# Logger
# ~~~~~
# You can also configure logback (http://logback.qos.ch/), by providing a logger.xml file in the conf directory .
# Root logger:
logger
.
root
=
ERROR
# Logger used by the framework:
logger
.
play
=
INFO
# Logger provided to your application:
logger
.
application
=
DEBUG
# This specifies the prefix under which the web page lies, used almost exclusively for the laraserver setup
app
.
prefix
=
"/leon"
# Specifies the classpath used by the Scala compiler within Leon
app
.
classpath
=
"/localhome/leonweb/.sbt/0.12.1/boot/scala-2.9.2/lib/"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment