GitLab will continue to be upgraded from 11.4.5-ce.0 on November 25th 2019 at 4.00pm (AEDT) to 5.00pm (AEDT) due to Critical Security Patch Availability. During the update, GitLab and Mattermost services will not be available.

Commit 157e3132 authored by Kunshan Wang's avatar Kunshan Wang

Transformed into an SBT project.

parent 6ab25910
<?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" path="src/main/scala"/> <classpathentry output="target/scala-2.11/classes" kind="src" path="src/main/scala"/>
<classpathentry kind="src" path="src/test/scala"/> <classpathentry output="target/scala-2.11/classes" kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/main/java"/> <classpathentry output="target/scala-2.11/classes" kind="src" path="target/gen/main"/>
<classpathentry kind="src" path="src/test/java"/> <classpathentry output="target/scala-2.11/classes" kind="src" path="src/main/resources"/>
<classpathentry kind="src" path="target/uir-parser-generated"/> <classpathentry output="target/scala-2.11/test-classes" kind="src" path="src/test/scala"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> <classpathentry output="target/scala-2.11/test-classes" kind="src" path="src/test/java"/>
<classpathentry kind="lib" path="lib/antlr-4.2-complete.jar"/> <classpathentry output="target/scala-2.11/test-classes" kind="src" path="src/test/resources"/>
<classpathentry kind="lib" path="lib/scalatest_2.11-2.2.0.jar"/> <classpathentry sourcepath="/home/wks/.ivy2/cache/org.antlr/antlr4/srcs/antlr4-4.3-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.antlr/antlr4/jars/antlr4-4.3.jar"/>
<classpathentry kind="lib" path="lib/scala-parser-combinators_2.11-1.0.1.jar" sourcepath="lib/scala-parser-combinators_2.11-1.0.1-sources.jar"/> <classpathentry sourcepath="/home/wks/.ivy2/cache/org.antlr/antlr4-runtime/srcs/antlr4-runtime-4.3-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.antlr/antlr4-runtime/jars/antlr4-runtime-4.3.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.abego.treelayout/org.abego.treelayout.core/srcs/org.abego.treelayout.core-1.0.1-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.abego.treelayout/org.abego.treelayout.core/jars/org.abego.treelayout.core-1.0.1.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.antlr/antlr4-annotations/srcs/antlr4-annotations-4.3-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.antlr/antlr4-annotations/jars/antlr4-annotations-4.3.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.antlr/antlr-runtime/srcs/antlr-runtime-3.5.2-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.antlr/antlr-runtime/jars/antlr-runtime-3.5.2.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.antlr/ST4/srcs/ST4-4.0.8-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.antlr/ST4/jars/ST4-4.0.8.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/srcs/scala-parser-combinators_2.11-1.0.2-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/bundles/scala-parser-combinators_2.11-1.0.2.jar"/>
<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/> <classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/>
<classpathentry kind="output" path="target/eclipsebuild"/> <classpathentry sourcepath="/home/wks/.ivy2/cache/org.scalatest/scalatest_2.11/srcs/scalatest_2.11-2.2.0-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.scalatest/scalatest_2.11/bundles/scalatest_2.11-2.2.0.jar"/>
<classpathentry sourcepath="/home/wks/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/srcs/scala-xml_2.11-1.0.1-sources.jar" kind="lib" path="/home/wks/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/bundles/scala-xml_2.11-1.0.1.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath> </classpath>
\ No newline at end of file
/target target
/.cache .cache
.project
.classpath
.settings
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>simplest-microvm-project</name> <name>simplest-microvm-project</name>
<comment></comment>
<projects>
</projects>
<buildSpec> <buildSpec>
<buildCommand> <buildCommand>
<name>org.scala-ide.sdt.core.scalabuilder</name> <name>org.scala-ide.sdt.core.scalabuilder</name>
<arguments>
</arguments>
</buildCommand> </buildCommand>
</buildSpec> </buildSpec>
<natures> <natures>
<nature>org.scala-ide.sdt.core.scalanature</nature> <nature>org.scala-ide.sdt.core.scalanature</nature>
<nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.jdt.core.javanature</nature>
</natures> </natures>
<linkedResources> </linkedResources>
</projectDescription> </projectDescription>
\ No newline at end of file
organization := "org.microvm"
name := "simplest-microvm-project"
description := "An attempt to make the simplest (in term of conciseness) Micro-VM implementation"
licenses := Seq("CC BY-SA 4.0" -> url("https://creativecommons.org/licenses/by-sa/4.0/legalcode"))
scalaVersion := "2.11.2"
libraryDependencies := Seq(
"org.antlr" % "antlr4" % "4.3",
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.2",
"org.scalatest" %% "scalatest" % "2.2.0"
)
antlr4Settings
antlr4PackageName in Antlr4 := Some("uvm.ir.textinput.gen")
antlr4GenListener in Antlr4 := false
antlr4GenVisitor in Antlr4 := false
sourceManaged := file("target/gen")
unmanagedSourceDirectories in Compile <++= baseDirectory { base =>
Seq(
base / "target/gen/main"
)
}
<project name="uvm-compiler" default="build" basedir=".">
<property name="antlr-jar" location="lib/antlr-4.2-complete.jar" />
<property name="uvm-dir" location="src" />
<property name="uir-rule" location="uIR.g4" />
<property name="uir-parser-package" value="uvm.ir.textinput.gen" />
<property name="uir-parser-path" value="uvm/ir/textinput/gen" />
<property name="uir-parser-generated" location="target/uir-parser-generated" />
<target name="build-uir-parser">
<echo message="Generating uIR parser from ${uir-rule} to ${uir-parser-generated}" />
<mkdir dir="${uir-parser-generated}" />
<java jar="${antlr-jar}" fork="true" failonerror="true">
<arg value="${uir-rule}" />
<arg line="-no-listener" />
<arg line="-package ${uir-parser-package}" />
<arg line="-o ${uir-parser-generated}/${uir-parser-path}/" />
</java>
</target>
<target name="clean">
<delete dir="${uir-parser-generated}" />
</target>
<target name="build" depends="build-uir-parser">
</target>
</project>
resolvers += "simplytyped.com" at "http://simplytyped.com/repo/releases"
addSbtPlugin("com.simplytyped" % "sbt-antlr4" % "0.7.2")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment