This file contains hidden or 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
package daos; | |
import java.util.*; | |
import javax.persistence.*; | |
import play.*; | |
import play.db.ebean.*; | |
import play.db.ebean.Model.*; | |
import play.data.format.*; | |
import play.data.validation.*; |
This file contains hidden or 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
import sbt._ | |
import Keys._ | |
import GatlingPlugin._ | |
object MinimalBuild extends Build { | |
val SNAPSHOT = "-SNAPSHOT" | |
val appName = "gatling-sbt-sample" | |
val buildVersion = "0.0.1-SNAPSHOT" |
This file contains hidden or 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
import sbt._ | |
import Keys._ | |
import PlayProject._ | |
object ApplicationBuild extends Build { | |
val appName = "Blog" | |
val appVersion = "1.0-SNAPSHOT" | |
val appDependencies = Seq( |
This file contains hidden or 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
<cffunction name="getFile"> | |
<cfargument name="path"> | |
<cffile action="READ" file="#path#" variable="serverXML"> | |
<cfreturn xmlParse(serverXML)> | |
</cffunction> | |
<cffunction name="writeFile"> | |
<cfargument name="path"> | |
<cfargument name="xml"> | |
<cffile action="write" file="#path#" output="#ToString(xml)#"> | |
</cffunction> |
NewerOlder