From cb112846c46f94855e5bb0bbceb10f6d7f4405f1 Mon Sep 17 00:00:00 2001 From: khashab2 Date: Tue, 17 Jan 2017 23:04:40 -0600 Subject: [PATCH 1/4] first version of the scala-utils. --- scala-tools/.gitignore | 34 +++++++++++++++++++++++++++ scala-tools/pom.xml | 53 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 scala-tools/.gitignore create mode 100644 scala-tools/pom.xml diff --git a/scala-tools/.gitignore b/scala-tools/.gitignore new file mode 100644 index 000000000..71c542bfc --- /dev/null +++ b/scala-tools/.gitignore @@ -0,0 +1,34 @@ +# Created by .ignore support plugin (hsz.mobi) +### Scala template +*.class +*.log + +# sbt specific +.cache +.history +.lib/ +dist/* +target/ +lib_managed/ +src_managed/ +project/boot/ +project/plugins/project/ + +# Scala-IDE specific +.scala_dependencies +.worksheet + + +### Java template +*.class + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.ear + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* \ No newline at end of file diff --git a/scala-tools/pom.xml b/scala-tools/pom.xml new file mode 100644 index 000000000..a027afd38 --- /dev/null +++ b/scala-tools/pom.xml @@ -0,0 +1,53 @@ + + + illinois-cogcomp-nlp + edu.illinois.cs.cogcomp + 3.0.92 + + + 4.0.0 + + scala-utils + Scala Utilities + scala utilities to access cogcomp tools + + + + org.scala-lang + scala-library + 2.12.1 + + + + + + + net.alchim31.maven + scala-maven-plugin + 3.2.2 + + + compile + + compile + + compile + + + test-compile + + testCompile + + test-compile + + + process-resources + + compile + + + + + + + \ No newline at end of file From ce05ddd56e83f2ee4d129995f80e56baa7935ecc Mon Sep 17 00:00:00 2001 From: khashab2 Date: Tue, 17 Jan 2017 23:08:13 -0600 Subject: [PATCH 2/4] readme for scala-utils. --- scala-tools/README.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 scala-tools/README.md diff --git a/scala-tools/README.md b/scala-tools/README.md new file mode 100644 index 000000000..b0200dbfb --- /dev/null +++ b/scala-tools/README.md @@ -0,0 +1,6 @@ +# Scala Tools + +## Structure +This is a sample project with Maven which contains both Scala and Java code. It is using the [scala-maven-plugin](https://github.com/davidB/scala-maven-plugin). + + \ No newline at end of file From 49a2508a90167f766b7c1430945850ed0a354240 Mon Sep 17 00:00:00 2001 From: khashab2 Date: Tue, 17 Jan 2017 23:11:14 -0600 Subject: [PATCH 3/4] toy main file for scala file. --- .../src/main/scala/edu/illinois/cs/cogcomp/Main.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 scala-tools/src/main/scala/edu/illinois/cs/cogcomp/Main.scala diff --git a/scala-tools/src/main/scala/edu/illinois/cs/cogcomp/Main.scala b/scala-tools/src/main/scala/edu/illinois/cs/cogcomp/Main.scala new file mode 100644 index 000000000..14ef0d8ee --- /dev/null +++ b/scala-tools/src/main/scala/edu/illinois/cs/cogcomp/Main.scala @@ -0,0 +1,7 @@ +package edu.illinois.cs.cogcomp + +object Main { + def main(args: Array[String]): Unit = { + println("HELLO WORLD from SCALA! ") + } +} From 8713a9ceab3ea3f8b60512823d8242203b10fd60 Mon Sep 17 00:00:00 2001 From: khashab2 Date: Wed, 18 Jan 2017 00:33:22 -0600 Subject: [PATCH 4/4] checking in the main pom file. --- .gitignore | 1 + pom.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 92640e53a..66d9b33da 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ *.settings edison/wordnet/ +.gitignore diff --git a/pom.xml b/pom.xml index d05adc3ed..356f9840f 100644 --- a/pom.xml +++ b/pom.xml @@ -24,6 +24,7 @@ similarity inference quantifier + scala-tools pipeline