Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
919 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> | ||
<component name="FacetManager"> | ||
<facet type="scala" name="Scala"> | ||
<configuration> | ||
<option name="compilerLibraryLevel" value="Project" /> | ||
<option name="compilerLibraryName" value="Maven: org.scala-lang:scala-compiler-bundle:2.9.1" /> | ||
<option name="maximumHeapSize" value="1024" /> | ||
<option name="vmOptions" value="" /> | ||
</configuration> | ||
</facet> | ||
</component> | ||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false"> | ||
<output url="file://$MODULE_DIR$/target/classes" /> | ||
<output-test url="file://$MODULE_DIR$/target/test-classes" /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/scala" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/scala" isTestSource="true" /> | ||
<excludeFolder url="file://$MODULE_DIR$/target" /> | ||
</content> | ||
<orderEntry type="jdk" jdkName="1.6" jdkType="JavaSDK" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="library" name="Maven: com.twitter:ostrich_2.9.1:4.10.6" level="project" /> | ||
<orderEntry type="library" name="Maven: com.twitter:util-core_2.9.1:1.12.13" level="project" /> | ||
<orderEntry type="library" name="Maven: org.scala-lang:scala-library:2.9.1" level="project" /> | ||
<orderEntry type="library" name="Maven: com.twitter:util-eval_2.9.1:1.12.13" level="project" /> | ||
<orderEntry type="library" name="Maven: org.scala-lang:scala-compiler:2.9.1" level="project" /> | ||
<orderEntry type="library" name="Maven: com.twitter:util-logging_2.9.1:1.12.13" level="project" /> | ||
<orderEntry type="library" name="Maven: com.twitter:json_2.9.1:2.1.7" level="project" /> | ||
<orderEntry type="library" name="Maven: com.google.inject:guice:3.0" level="project" /> | ||
<orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" /> | ||
<orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" /> | ||
<orderEntry type="library" name="Maven: org.slf4j:slf4j-log4j12:1.6.2" level="project" /> | ||
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.6.2" level="project" /> | ||
<orderEntry type="library" name="Maven: log4j:log4j:1.2.16" level="project" /> | ||
<orderEntry type="library" name="Maven: net.liftweb:lift-json_2.9.1:2.5-M4" level="project" /> | ||
<orderEntry type="library" name="Maven: org.specs2:specs2_2.9.1:1.12.3" level="project" /> | ||
<orderEntry type="library" name="Maven: org.specs2:specs2-scalaz-core_2.9.1:6.0.1" level="project" /> | ||
<orderEntry type="library" name="Maven: org.scala-lang:scalap:2.9.1" level="project" /> | ||
<orderEntry type="library" name="Maven: com.thoughtworks.paranamer:paranamer:2.4.1" level="project" /> | ||
<orderEntry type="library" name="Maven: net.liftweb:lift-util_2.9.1:2.5-M4" level="project" /> | ||
<orderEntry type="library" name="Maven: net.liftweb:lift-actor_2.9.1:2.5-M4" level="project" /> | ||
<orderEntry type="library" name="Maven: net.liftweb:lift-common_2.9.1:2.5-M4" level="project" /> | ||
<orderEntry type="library" name="Maven: joda-time:joda-time:2.1" level="project" /> | ||
<orderEntry type="library" name="Maven: org.joda:joda-convert:1.2" level="project" /> | ||
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.6" level="project" /> | ||
<orderEntry type="library" name="Maven: javax.mail:mail:1.4.4" level="project" /> | ||
<orderEntry type="library" name="Maven: javax.activation:activation:1.1" level="project" /> | ||
<orderEntry type="library" name="Maven: nu.validator.htmlparser:htmlparser:1.4" level="project" /> | ||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-server:8.1.10.v20130312" level="project" /> | ||
<orderEntry type="library" name="Maven: org.eclipse.jetty.orbit:javax.servlet:3.0.0.v201112011016" level="project" /> | ||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-continuation:8.1.10.v20130312" level="project" /> | ||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-http:8.1.10.v20130312" level="project" /> | ||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-io:8.1.10.v20130312" level="project" /> | ||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-util:8.1.10.v20130312" level="project" /> | ||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-servlet:8.1.10.v20130312" level="project" /> | ||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-security:8.1.10.v20130312" level="project" /> | ||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-webapp:8.1.10.v20130312" level="project" /> | ||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-xml:8.1.10.v20130312" level="project" /> | ||
<orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.2.2" level="project" /> | ||
<orderEntry type="library" name="Maven: commons-io:commons-io:2.1" level="project" /> | ||
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.7" level="project" /> | ||
<orderEntry type="library" scope="TEST" name="Maven: org.scala-tools.testing:specs_2.9.1:1.6.9" level="project" /> | ||
</component> | ||
</module> | ||
|
3 changes: 1 addition & 2 deletions
3
...t/app/controllers/common/Exceptions.scala → ...a/com/mishlabs/shaft/app/Exceptions.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
server/src/main/scala/com/mishlabs/shaft/app/controllers/ApplicationController.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
server/src/main/scala/com/mishlabs/shaft/app/views/ViewEngine.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.mishlabs.shaft | ||
package app.views | ||
|
||
protected trait View | ||
|
||
trait ViewEngine | ||
{ | ||
/* | ||
protected def buildView(data:AnyRef, view:TemplatedView):Response = XmlResponse(ViewBuilder.build(data, view)) | ||
protected def buildView(data:Iterable[AnyRef], nodeName:String):Response = XmlResponse(ViewBuilder.build(data, nodeName)) | ||
protected def buildView(entity:Model, viewName:Option[String]):Response = XmlResponse(ViewBuilder.build(entity, viewName)) | ||
protected def buildView(entities:Iterable[_ <: Model], viewName:Option[String]):Response = buildView(entities, None, viewName) | ||
protected def buildView(entities:Iterable[_ <: Model], nodeName:Option[String], viewName:Option[String]):Response = XmlResponse(ViewBuilder.build(entities, nodeName, viewName)) | ||
*/ | ||
|
||
//def render(data:AnyRef, viewName:Option[String]):Any | ||
//def render(data:AnyRef, view:View):Any | ||
} |
Oops, something went wrong.