Repository: incubator-wave Updated Branches: refs/heads/feature/WAVE-426-add-sbt [created] 09370f4f8
WAVE-426 - Removes Eclipse project files and adds initial build.sbt Project: http://git-wip-us.apache.org/repos/asf/incubator-wave/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-wave/commit/c87f76a3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-wave/tree/c87f76a3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-wave/diff/c87f76a3 Branch: refs/heads/feature/WAVE-426-add-sbt Commit: c87f76a30aa328366e7d7b24afbe4245e1b99731 Parents: fc70bb9 Author: Yuri Zelikov <[email protected]> Authored: Wed May 20 20:21:43 2015 +0300 Committer: Yuri Zelikov <[email protected]> Committed: Wed May 20 20:21:43 2015 +0300 ---------------------------------------------------------------------- .classpath | 92 ------------------------------------------------ .project | 17 --------- build-classpath.xml | 45 ----------------------- build.sbt | 44 +++++++++++++++++++++++ 4 files changed, 44 insertions(+), 154 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/c87f76a3/.classpath ---------------------------------------------------------------------- diff --git a/.classpath b/.classpath deleted file mode 100644 index 88967fa..0000000 --- a/.classpath +++ /dev/null @@ -1,92 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="src"/> - <classpathentry kind="src" path="test"/> - <classpathentry kind="src" path="proto_src"/> - <classpathentry kind="src" path="gen/messages"/> - <classpathentry kind="src" path="gen/gxp"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="lib" path="third_party/codegen/antlr-3.2.jar"/> - <classpathentry kind="lib" path="third_party/codegen/velocity-1.6.3-dep.jar"/> - <classpathentry kind="lib" path="third_party/codegen/velocity-1.6.3.jar"/> - <classpathentry kind="lib" path="third_party/runtime/aopalliance-1.0.jar"/> - <classpathentry kind="lib" path="third_party/runtime/bcprov-jdk16-1.45.jar"/> - <classpathentry kind="lib" path="third_party/runtime/commons-cli-1.2.jar"/> - <classpathentry kind="lib" path="third_party/runtime/commons-codec-1.4.jar"/> - <classpathentry kind="lib" path="third_party/runtime/commons-collections-3.2.1.jar"/> - <classpathentry kind="lib" path="third_party/runtime/commons-configuration-1.6.jar"/> - <classpathentry kind="lib" path="third_party/runtime/commons-fileupload-1.2.2.jar"/> - <classpathentry kind="lib" path="third_party/runtime/commons-httpclient-3.1.jar"/> - <classpathentry kind="lib" path="third_party/runtime/commons-lang-2.5.jar"/> - <classpathentry kind="lib" path="third_party/runtime/commons-logging-1.1.1-api.jar"/> - <classpathentry kind="lib" path="third_party/runtime/commons-logging-1.1.1.jar"/> - <classpathentry kind="lib" path="third_party/runtime/dom4j-1.6.1.jar"/> - <classpathentry kind="lib" path="third_party/runtime/google-gxp-0.2.4-beta.jar"/> - <classpathentry kind="lib" path="third_party/runtime/gson-2.2.4.jar"/> - <classpathentry kind="lib" path="third_party/runtime/guava-15.0.jar"/> - <classpathentry kind="lib" path="third_party/runtime/guava-gwt-15.0.jar"/> - <classpathentry kind="lib" path="third_party/runtime/guice-3.0.jar"/> - <classpathentry kind="lib" path="third_party/runtime/guice-assistedinject-3.0.jar"/> - <classpathentry kind="lib" path="third_party/runtime/guice-servlet-3.0.jar"/> - <classpathentry kind="lib" path="third_party/runtime/javax.inject-1.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jdo2-api-2.2.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jdom-1.1.3.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-annotations-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-client-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-continuation-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-http-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-io-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-proxy-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-security-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-server-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-servlet-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-servlets-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-util-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-webapp-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jetty-xml-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jline-0.9.94.jar"/> - <classpathentry kind="lib" path="third_party/runtime/joda-time-1.6.jar"/> - <classpathentry kind="lib" path="third_party/runtime/jsr305-2.0.1.jar"/> - <classpathentry kind="lib" path="third_party/runtime/lucene-core-3.5.0.jar"/> - <classpathentry kind="lib" path="third_party/runtime/oauth-20100527.jar"/> - <classpathentry kind="lib" path="third_party/runtime/oauth-consumer-20100527.jar"/> - <classpathentry kind="lib" path="third_party/runtime/oauth-provider-20100527-sources.jar"/> - <classpathentry kind="lib" path="third_party/runtime/oauth-provider-20100527.jar"/> - <classpathentry kind="lib" path="third_party/runtime/protobuf-format-java-1.1.jar"/> - <classpathentry kind="lib" path="third_party/runtime/protobuf-java-2.5.0.jar"/> - <classpathentry kind="lib" path="third_party/runtime/servlet-api-3.1.jar"/> - <classpathentry kind="lib" path="third_party/runtime/websocket-client-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/websocket-common-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/websocket-server-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/websocket-servlet-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/whack.jar"/> - <classpathentry kind="lib" path="third_party/runtime/tinder-1.2.1.jar"/> - <classpathentry kind="lib" path="third_party/runtime/xpp3_xpath-1.1.4c.jar"/> - <classpathentry kind="lib" path="third_party/runtime/xpp3-1.1.4c.jar"/> - <classpathentry kind="lib" path="third_party/test/ant-junit-1.7.0.jar"/> - <classpathentry kind="lib" path="third_party/test/asm-3.2.jar"/> - <classpathentry kind="lib" path="third_party/test/cglib-2.2.jar"/> - <classpathentry kind="lib" path="third_party/test/emma_ant-2.1.5320.jar"/> - <classpathentry kind="lib" path="third_party/test/emma-2.0.5312.jar"/> - <classpathentry kind="lib" path="third_party/test/hamcrest-all-1.2.jar"/> - <classpathentry kind="lib" path="third_party/test/jmock-2.6.0.jar"/> - <classpathentry kind="lib" path="third_party/test/jmock-junit3-2.6.0.jar"/> - <classpathentry kind="lib" path="third_party/test/junit-4.10.jar"/> - <classpathentry kind="lib" path="third_party/test/mockito-all-1.9.5.jar"/> - <classpathentry kind="lib" path="third_party/runtime/websocket-api-9.1.1.v20140108.jar"/> - <classpathentry kind="lib" path="third_party/runtime/mongo-java-driver-2.11.2.jar"/> - <classpathentry kind="lib" path="third_party/codegen/validation-api-1.1.0.Final-sources.jar"/> - <classpathentry kind="lib" path="third_party/codegen/validation-api-1.1.0.Final.jar"/> - <classpathentry kind="lib" path="third_party/runtime/gwt-initials-avatars-shared-1.0-20140324.102812-16.jar"/> - <classpathentry kind="lib" path="third_party/runtime/gwt-initials-avatars-shared-1.0-20140324.102812-16-sources.jar"/> - <classpathentry kind="lib" path="third_party/runtime/gwt-initials-avatars-server-1.0-20140324.102825-10.jar"/> - <classpathentry kind="lib" path="third_party/runtime/atmosphere-guice-0.8.3.jar"/> - <classpathentry kind="lib" path="third_party/runtime/atmosphere-runtime-2.1.0.jar"/> - <classpathentry kind="lib" path="third_party/runtime/slf4j-api-1.6.1.jar"/> - <classpathentry kind="lib" path="third_party/runtime/slf4j-simple-1.6.1.jar"/> - <classpathentry kind="lib" path="third_party/codegen/gwt-codeserver-2.6.1.jar"/> - <classpathentry kind="lib" path="third_party/codegen/gwt-dev-2.6.1.jar"/> - <classpathentry kind="lib" path="third_party/codegen/gwt-user-2.6.1.jar"/> - <classpathentry kind="lib" path="third_party/runtime/config-1.2.1.jar"/> - <classpathentry kind="output" path="bin"/> -</classpath> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/c87f76a3/.project ---------------------------------------------------------------------- diff --git a/.project b/.project deleted file mode 100644 index f02bb85..0000000 --- a/.project +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>wave-protocol</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/c87f76a3/build-classpath.xml ---------------------------------------------------------------------- diff --git a/build-classpath.xml b/build-classpath.xml deleted file mode 100644 index 9a76dd4..0000000 --- a/build-classpath.xml +++ /dev/null @@ -1,45 +0,0 @@ -<!-- - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - * Author: [email protected] (Alex North) - --> -<project name="classpath"> - <!-- Classpath of external dependencies --> - <path id="libpath"> - <fileset dir="${lib.runtime}"> - <include name="*.jar"/> - </fileset> - <fileset dir="${lib.codegen}"> - <include name="*.jar"/> - </fileset> - <fileset dir="${lib.test}"> - <include name="*.jar"/> - </fileset> - <!-- PST --> - <fileset dir="${dist.dir}"> - <include name="pst.jar"/> - </fileset> - </path> - - <!-- Classpath for testing only --> - <path id="test.libpath"> - <fileset dir="${lib.test}"> - <include name="*.jar"/> - </fileset> - </path> -</project> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/c87f76a3/build.sbt ---------------------------------------------------------------------- diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..ec298bc --- /dev/null +++ b/build.sbt @@ -0,0 +1,44 @@ +name := "wave" + +organization := "org.apache" + +scalaVersion := "2.11.6" + +version := "0.1.0" + +javaSource in Compile := baseDirectory.value / "src" + +unmanagedSourceDirectories in Compile += baseDirectory.value / "proto_src" + +unmanagedSourceDirectories in Compile += baseDirectory.value / "gen" / "gxp" + +unmanagedSourceDirectories in Compile += baseDirectory.value / "gen" / "messages" + +unmanagedSourceDirectories in Compile += baseDirectory.value / "gen" / "messages" + +//managedSourceDirectories in Compile <<=(javaSource in Compile) (base => base / "proto_src" :: Nil) + +//javaSource in Test := baseDirectory.value / "test" + +//unmanagedBase := baseDirectory.value / "third_party" / "runtime" + +//unmanagedJars in Compile ++= { +// val base = baseDirectory.value +// val baseDirectories = (base / "thirparty" / "runtime") +// val customJars = (baseDirectories ** "*.jar") +// customJars.classpath +//} + +unmanagedJars in Compile := (baseDirectory.value / "third_party" / "runtime" ** "*.jar").classpath + +unmanagedJars in Test := (baseDirectory.value / "third_party" / "test" ** "*.jar").classpath + +libraryDependencies += "com.google.gwt" % "gwt-user" % "2.7.0" + +libraryDependencies += "com.google.gwt" % "gwt-dev" % "2.7.0" + +libraryDependencies += "com.google.gwt" % "gwt-codeserver" % "2.7.0" + + + +
