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
def jvmRunFlags = ''' | |
-Xmx700m | |
- ... | |
'''.split().toList() | |
def jvmTestFlags = ''' | |
-Dlocally=true | |
-ea | |
- ... | |
'''.split().toList() |
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
application: startupflock | |
version: snapshot | |
runtime: go | |
api_version: go1 | |
handlers: | |
- url: /assets | |
static_dir: assets | |
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
// +build e2e | |
// +build appengine | |
package hrd | |
import ( | |
. "101loops/bdd" | |
"appengine/memcache" | |
) |
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
junit2spock() { | |
local file="$1" | |
if [ -e "$file" ] | |
then | |
echo "converting file '$file'" | |
else | |
echo "file '$file' was not found" | |
fi | |
perl -i -pe 's|assertTrue\(([^";]+)\);|\1|g' $file |
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
package log | |
type Log interface { | |
Debug(format string, params ...interface{}) | |
Info(format string, params ...interface{}) | |
Warn(format string, params ...interface{}) error | |
Error(format string, params ...interface{}) error | |
Critical(format string, params ...interface{}) error | |
} |
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
> aether-deploy | |
[warn] Multiple resolvers having different access mechanism configured with same name 'snapshot'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`). | |
[info] Wrote /Users/me/myproject/modules/commons/test/module-test-unit/target/scala-2.10/module-test-unit_2.10-3.0-SNAPSHOT.pom | |
[info] Resolving metadata com.myproject:module-test-unit_2.10:3.0-SNAPSHOT/maven-metadata.xml from snapshot (davs://repository-loops101.forge.cloudbees.com/snapshot/, releases+snapshots) | |
[info] Downloading metadata com.myproject:module-test-unit_2.10:3.0-SNAPSHOT/maven-metadata.xml from snapshot (davs://repository-loops101.forge.cloudbees.com/snapshot/, releases+snapshots) | |
[info] Downloading: davs://repository-loops101.forge.cloudbees.com/snapshot/com/myproject/module-test-unit_2.10/3.0-SNAPSHOT/maven-metadata.xml | |
[info] 778/778 KB | |
[info] | |
[info] Downloaded: davs://repository-loops101.forge.cloudbees.com/snapshot/com/myproject/module-test-unit_2. |
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
> aether-deploy | |
[warn] Multiple resolvers having different access mechanism configured with same name 'snapshot'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`). | |
[info] Wrote /Users/me/myproject/modules/commons/test/module-test-unit/target/scala-2.10/module-test-unit_2.10-3.0-SNAPSHOT.pom | |
[info] Resolving metadata com.myproject:module-test-unit_2.10:3.0-SNAPSHOT/maven-metadata.xml from snapshot (dav://repository-loops101.forge.cloudbees.com/snapshot/, releases+snapshots) | |
[info] Downloading metadata com.myproject:module-test-unit_2.10:3.0-SNAPSHOT/maven-metadata.xml from snapshot (dav://repository-loops101.forge.cloudbees.com/snapshot/, releases+snapshots) | |
[info] Downloading: dav://repository-loops101.forge.cloudbees.com/snapshot/com/myproject/module-test-unit_2.10/3.0-SNAPSHOT/maven-metadata.xml | |
[info] | |
[error] Could not transfer metadata com.myproject:module-test-unit_2.10:3.0-SNAPSHOT/maven-metadata.xml from/to snapshot (dav://repository-loops1 |
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
[warn] Multiple resolvers having different access mechanism configured with same name 'snapshot'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`). | |
[info] Updating {file:/Users/me/myrepo}module-test-unit... | |
[info] Wrote /Users/me/myrepo/modules/commons/test/module-test-unit/target/scala-2.10/module-test-unit_2.10-3.0-SNAPSHOT.pom | |
[info] Resolving org.scala-lang#scala-library;2.10.0 ... | |
[info] Resolving org.specs2#specs2_2.10;1.14 ... | |
[info] Resolving org.specs2#specs2-scalaz-core_2.10;7.0.0 ... | |
[info] Resolving org.specs2#specs2-scalaz-concurrent_2.10;7.0.0 ... | |
[info] Resolving org.specs2#scalaz-effect_2.10;7.0.0 ... | |
[info] Resolving org.specs2#scalaz-core_2.10;7.0.0 ... | |
[info] Resolving org.scalacheck#scalacheck_2.10;1.10.0 ... |
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
import net.liftweb.mongodb.record.field.ObjectIdField | |
import net.liftweb.mongodb.record.{MongoMetaRecord, MongoRecord} | |
import net.liftweb.record.field.IntField | |
// ==== BASE | |
trait BaseDoc | |
extends MongoRecord[BaseDoc] { | |
def id = _id.value |
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
import net.liftweb.mongodb.record.field.ObjectIdField | |
import net.liftweb.mongodb.record.{MongoMetaRecord, MongoRecord} | |
import net.liftweb.record.field.IntField | |
// ==== BASE | |
trait BaseDoc | |
extends MongoRecord[BaseDoc] { | |
def id = _id.value |