Skip to content

Spark Vector useful commands

Andrei Costea edited this page May 2, 2016 · 1 revision
  • unit testing a single test sbt '; set javaOptions ++= "-Dvector.host=schwalbe -Dvector.instance=C4 -Dvector.database=test -Dvector.user= -Dvector.password=".split(" ").toSeq; test-only *VectorOpsTest -- -t "many runs do not slow down"'
  • unit testing a single suite sbt '; set javaOptions ++= "-Dvector.host=schwalbe -Dvector.instance=C4 -Dvector.database=test -Dvector.user= -Dvector.password=".split(" ").toSeq; test-only *VectorOpsTest'
  • eclipse scalariform configuration options (save them in a file and import them in Eclipse -> Window -> Preferences -> Scala -> Editor -> Formatter):
alignParameters=false
formatXml=true
preserveDanglingCloseParenthesis=false
spaceInsideBrackets=false
indentWithTabs=false
spaceInsideParentheses=false
multilineScaladocCommentsStartOnFirstLine=false
alignSingleLineCaseStatements=false
compactStringConcatenation=false
placeScaladocAsterisksBeneathSecondAsterisk=false
indentPackageBlocks=true
compactControlReadability=false
spacesWithinPatternBinders=true
alignSingleLineCaseStatements.maxArrowIndent=40
doubleIndentClassDeclaration=true
preserveSpaceBeforeArguments=false
spaceBeforeColon=false
rewriteArrowSymbols=false
indentLocalDefs=false
indentSpaces=2
  • generating an Eclipse project: sbt 'eclipse with-source=true'
Clone this wiki locally