Skip to content

Instantly share code, notes, and snippets.

@d6y
Created July 30, 2018 09:06
Show Gist options
  • Save d6y/a7c88bdec85a73f18b3b176953afaa32 to your computer and use it in GitHub Desktop.
Save d6y/a7c88bdec85a73f18b3b176953afaa32 to your computer and use it in GitHub Desktop.
checkout and compile mapping playground
tmp$ git clone git@github.com:d6y/aws-gateway-mapping-playground.git
Cloning into 'aws-gateway-mapping-playground'...
remote: Counting objects: 22, done.
remote: Total 22 (delta 0), reused 0 (delta 0), pack-reused 22
Receiving objects: 100% (22/22), 8.71 KiB | 4.36 MiB/s, done.
Resolving deltas: 100% (1/1), done.
tmp$ cd aws-gateway-mapping-playground/
aws-gateway-mapping-playground (master)$ sbt
[info] Updated file /Users/richard/Developer/tmp/aws-gateway-mapping-playground/project/build.properties: set sbt.version to 1.1.6
[info] Loading settings from idea.sbt,sbt-updates.sbt,sonatype.sbt ...
[info] Loading global plugins from /Users/richard/.sbt/1.0/plugins
[info] Updating ProjectRef(uri("file:/Users/richard/.sbt/1.0/plugins/"), "global-plugins")...
[info] Done updating.
[info] Loading project definition from /Users/richard/Developer/tmp/aws-gateway-mapping-playground/project
[info] Updating ProjectRef(uri("file:/Users/richard/Developer/tmp/aws-gateway-mapping-playground/project/"), "aws-gateway-mapping-playground-build")...
[info] Done updating.
[info] Loading settings from build.sbt ...
[info] Set current project to aws-gateway-mapping-playground (in build file:/Users/richard/Developer/tmp/aws-gateway-mapping-playground/)
[info] sbt server started at local:///Users/richard/.sbt/1.0/server/015ee26c332dbf7f78e5/sock
sbt:aws-gateway-mapping-playground> compile
[info] Updating ...
[info] downloading https://repo1.maven.org/maven2/org/apache/velocity/velocity/1.7/velocity-1.7.jar ...
[info] downloading https://repo1.maven.org/maven2/org/scalactic/scalactic_2.11/2.2.6/scalactic_2.11-2.2.6.jar ...
[info] downloading https://repo1.maven.org/maven2/commons-lang/commons-lang/2.4/commons-lang-2.4.jar ...
[info] [SUCCESSFUL ] commons-lang#commons-lang;2.4!commons-lang.jar (402ms)
[info] [SUCCESSFUL ] org.scalactic#scalactic_2.11;2.2.6!scalactic_2.11.jar(bundle) (411ms)
[info] [SUCCESSFUL ] org.apache.velocity#velocity;1.7!velocity.jar (424ms)
[info] Done updating.
[info] Compiling 2 Scala sources to /Users/richard/Developer/tmp/aws-gateway-mapping-playground/target/scala-2.11/classes ...
[info] Non-compiled module 'compiler-bridge_2.11' for Scala 2.11.7. Compiling...
[info] Compilation completed in 11.5s.
[warn] there was one deprecation warning; re-run with -deprecation for details
[warn] one warning found
[info] Done compiling.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/Users/richard/.sbt/boot/scala-2.12.6/org.scala-sbt/sbt/1.1.6/protobuf-java-3.3.1.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[success] Total time: 15 s, completed 30 Jul 2018, 10:02:26
sbt:aws-gateway-mapping-playground> run
[info] Packaging /Users/richard/Developer/tmp/aws-gateway-mapping-playground/target/scala-2.11/aws-gateway-mapping-playground_2.11-0.1.0-SNAPSHOT.jar ...
[info] Done packaging.
[info] Running Main
<html>
<body>
Hello Velocity World!
</body>
<html>
[success] Total time: 1 s, completed 30 Jul 2018, 10:02:44
sbt:aws-gateway-mapping-playground> [info] shutting down server
aws-gateway-mapping-playground (master)$ java --version
java 10 2018-03-20
Java(TM) SE Runtime Environment 18.3 (build 10+46)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)
aws-gateway-mapping-playground (master)$ more project/build.properties
sbt.version=1.1.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment