--
You received this message because you are subscribed to the Google Groups "spray-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spray-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "spray-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spray-user/x2PJUYkn1Vs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spray-user+...@googlegroups.com.
I also wrote up a post from my experience with building a spray-routing app:Feedback appreciated.
.mapTo[Ok] |
.map(result = > result) |
.recover { case _ = > "error" } |
I think a per directive example filling that huge list of TODOs would be a big step in easing the entrance to spray for newcomers, specially those who don't have a strong Scala + FP background. Trying to understand a directive that does some kind of extraction without an example makes the reader go through functions that produce other functions, hlists + understanding whatever the directive does. I guess that the spray team could provide a simple template for one directive documentation and let the community start adding more and more.. WDYT?
--
You received this message because you are subscribed to the Google Groups "spray-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spray-user+...@googlegroups.com.
[trace] Stack trace suppressed: run last site/*:sphinx-compile for the full output.
[error] (site/*:sphinx-compile) java.io.IOException: Cannot run program "/Users/birjupat/birkenfeld-sphinx-e5ad8ce30a8a": error=13, Permission denied
Johannes,I am trying to setup sphinx on Mac OS X. There isn't a brew install so I manually downloaded and set up SPHINX_PATH into .profile.
--
You received this message because you are subscribed to the Google Groups "spray-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spray-user+...@googlegroups.com.
Hello,finally I was able to come back to this today and got sphinx setup up & running. http://localhost:8080/ shows me "Say hello to Spray-Can" with some defined Resources like "/ping", "stream", "server-stats" etc. how/where do I see and edit documentation?
[info] Recompiling Sphinx sources...
[info] /usr/local/bin/sphinx-build -b json -d /Users/birjupat/spray/site/target/scala-2.10/resource_managed/main/sphinx/doctrees -D version=1.1-SNAPSHOT -D release=1.1-SNAPSHOT /Users/birjupat/spray/docs /Users/birjupat/spray/site/target/scala-2.10/resource_managed/main/sphinx/json
[info] Stopping application echo-server (by killing the forked JVM) ...
[info] Stopping application server-benchmark (by killing the forked JVM) ...
[info] Stopping application simple-http-server (by killing the forked JVM) ...
[info] Running Sphinx v1.1.3
[info] Stopping application simple-routing-app (by killing the forked JVM) ...
[info] Stopping application on-spray-can (by killing the forked JVM) ...
[info] loading pickled environment... done
[info] building [json]: targets for 0 source files that are out of date
[info] updating environment: 0 added, 0 changed, 0 removed
[info] looking for now-outdated files... none found
[info] no targets are out of date.
[info] Starting application echo-server in the background ...
echo-server Starting spray.examples.Main.main()
echo-server ... finished with exit code 143
server-benchmark ... finished with exit code 143
[info] Starting application server-benchmark in the background ...
server-benchmark Starting spray.examples.Main.main()
simple-http-server ... finished with exit code 143
[info] Starting application simple-http-server in the background ...
simple-http-server Starting spray.examples.Main.main()
[info] Starting application simple-routing-app in the background ...
simple-routing-app ... finished with exit code 143
simple-routing-app Starting spray.examples.Main.main()
[info] Starting application on-spray-can in the background ...
on-spray-can ... finished with exit code 143
on-spray-can Starting spray.examples.Boot.main()
server-benchmark 178 1 java.lang.String::hashCode (64 bytes)
server-benchmark 244 2 java.lang.String::charAt (33 bytes)
server-benchmark 246 3 sun.nio.cs.UTF_8$Encoder::encodeArrayLoop (490 bytes)
server-benchmark 269 4 java.util.Properties$LineReader::readLine (452 bytes)
[info] Stopping application site (by killing the forked JVM) ...
server-benchmark 311 5 sun.nio.cs.UTF_8$Decoder::decodeArrayLoop (553 bytes)
server-benchmark 322 6 java.math.BigInteger::mulAdd (81 bytes)
server-benchmark 326 7 java.math.BigInteger::multiplyToLen (219 bytes)
server-benchmark 333 8 java.math.BigInteger::addOne (77 bytes)
server-benchmark 336 9 java.math.BigInteger::squareToLen (172 bytes)
server-benchmark 346 10 java.math.BigInteger::primitiveLeftShift (79 bytes)
server-benchmark 349 11 java.math.BigInteger::montReduce (99 bytes)
server-benchmark 370 12 sun.security.provider.SHA::implCompress (491 bytes)
server-benchmark 408 13 java.lang.Object::<init> (1 bytes)
server-benchmark 461 14 java.io.UnixFileSystem::normalize (75 bytes)
server-benchmark 469 15 java.lang.String::lastIndexOf (156 bytes)
server-benchmark 497 16 java.util.regex.Pattern$Start::match (109 bytes)
server-benchmark 498 17 java.util.regex.Pattern$BmpCharProperty::match (50 bytes)
server-benchmark 500 18 java.util.regex.Pattern$Single::isSatisfiedBy (14 bytes)
server-benchmark 506 19 java.lang.String::indexOf (151 bytes)
server-benchmark 507 20 java.lang.CharacterDataLatin1::getProperties (11 bytes)
server-benchmark 508 21 java.lang.String::equals (88 bytes)
server-benchmark 526 22 java.lang.Math::max (11 bytes)
server-benchmark 526 23 java.util.jar.JarFile::hasClassPathAttribute (168 bytes)
server-benchmark 533 24 java.util.jar.Manifest$FastInputStream::readLine (167 bytes)
server-benchmark 576 25 java.util.regex.Matcher::search (109 bytes)
server-benchmark 588 26 java.lang.String::indexOf (7 bytes)
server-benchmark 589 27 java.net.URI$Parser::charAt (9 bytes)
server-benchmark 591 28 java.net.URI::match (50 bytes)
server-benchmark 591 29 java.lang.AbstractStringBuilder::append (40 bytes)
server-benchmark 592 30 java.lang.StringBuilder::append (8 bytes)
server-benchmark 595 31 ! sun.net.www.ParseUtil::decode (194 bytes)
server-benchmark 602 32 java.math.BigInteger::subN (46 bytes)
server-benchmark 605 33 java.math.MutableBigInteger::mulsub (110 bytes)
server-benchmark --- n java.lang.System::arraycopy (static)
server-benchmark 612 34 java.lang.String::indexOf (166 bytes)
server-benchmark 620 35 java.lang.String::startsWith (78 bytes)
site ... finished with exit code 143
[info] Starting application site in the background ...
site Starting spray.site.Main.main()
server-benchmark 644 36 sun.net.www.ParseUtil::encodePath (336 bytes)
server-benchmark 652 37 java.lang.String::lastIndexOf (151 bytes)
server-benchmark 672 38 java.lang.Math::min (11 bytes)
[success] Total time: 2 s, completed Aug 4, 2013 4:58:39 PM
server-benchmark 766 39 java.lang.AbstractStringBuilder::append (60 bytes)
server-benchmark 771 40 java.lang.String::replace (142 bytes)
root > server-benchmark 799 41 java.util.AbstractCollection::isEmpty (13 bytes)
server-benchmark 800 42 java.io.BufferedReader::ensureOpen (18 bytes)
server-benchmark 801 43 ! com.typesafe.config.impl.Tokenizer$TokenIterator::nextCharRaw (70 bytes)
server-benchmark 801 44 ! java.io.BufferedReader::read (104 bytes)
server-benchmark 805 45 java.lang.StringBuilder::appendCodePoint (8 bytes)
server-benchmark 806 46 java.lang.AbstractStringBuilder::appendCodePoint (97 bytes)
server-benchmark 809 47 java.lang.Character::isValidCodePoint (16 bytes)
server-benchmark 809 48 com.typesafe.config.impl.Tokenizer$TokenIterator::pullComment (77 bytes)
server-benchmark 826 49 java.lang.StringBuilder::append (8 bytes)
server-benchmark 827 41 made not entrant java.util.AbstractCollection::isEmpty (13 bytes)
server-benchmark 855 50 java.util.HashMap::indexFor (6 bytes)
server-benchmark 875 16 made not entrant java.util.regex.Pattern$Start::match (109 bytes)
server-benchmark 875 17 made not entrant java.util.regex.Pattern$BmpCharProperty::match (50 bytes)
server-benchmark 875 25 made not entrant java.util.regex.Matcher::search (109 bytes)
server-benchmark 875 51 java.lang.Character::toLowerCase (162 bytes)
server-benchmark 878 52 java.lang.CharacterDataLatin1::toLowerCase (36 bytes)
server-benchmark 883 53 java.util.HashMap::hash (23 bytes)
server-benchmark 891 43 ! made not entrant com.typesafe.config.impl.Tokenizer$TokenIterator::nextCharRaw (70 bytes)
server-benchmark 906 54 com.typesafe.config.impl.ConfigImplUtil::isWhitespace (59 bytes)
server-benchmark 914 55 java.nio.Buffer::position (43 bytes)
server-benchmark 916 56 java.util.HashMap::get (79 bytes)
server-benchmark 916 57 java.lang.String::substring (83 bytes)
server-benchmark 926 58 j