diff options
Diffstat (limited to 'dice')
| -rw-r--r-- | dice/pom.xml | 30 | ||||
| -rw-r--r-- | dice/src/main/java/bjc/dicelang/App.java | 13 | ||||
| -rw-r--r-- | dice/src/test/java/bjc/dicelang/AppTest.java | 38 | ||||
| -rw-r--r-- | dice/target/classes/bjc/dicelang/App.class | bin | 0 -> 539 bytes | |||
| -rw-r--r-- | dice/target/dicelang-dice-1.0.0.jar | bin | 0 -> 2119 bytes | |||
| -rw-r--r-- | dice/target/maven-archiver/pom.properties | 5 | ||||
| -rw-r--r-- | dice/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst | 1 | ||||
| -rw-r--r-- | dice/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst | 1 | ||||
| -rw-r--r-- | dice/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst | 1 | ||||
| -rw-r--r-- | dice/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst | 1 | ||||
| -rw-r--r-- | dice/target/surefire-reports/TEST-bjc.dicelang.AppTest.xml | 63 | ||||
| -rw-r--r-- | dice/target/surefire-reports/bjc.dicelang.AppTest.txt | 4 | ||||
| -rw-r--r-- | dice/target/test-classes/bjc/dicelang/AppTest.class | bin | 0 -> 603 bytes |
13 files changed, 157 insertions, 0 deletions
diff --git a/dice/pom.xml b/dice/pom.xml new file mode 100644 index 0000000..9371b96 --- /dev/null +++ b/dice/pom.xml @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>bjc</groupId> + <artifactId>dicelang-Parent</artifactId> + <version>1.0.0</version> + </parent> + + <artifactId>dicelang-dice</artifactId> + <packaging>jar</packaging> + + <name>dicelang-dice</name> + <url>http://maven.apache.org</url> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + </dependencies> +</project> diff --git a/dice/src/main/java/bjc/dicelang/App.java b/dice/src/main/java/bjc/dicelang/App.java new file mode 100644 index 0000000..694bd75 --- /dev/null +++ b/dice/src/main/java/bjc/dicelang/App.java @@ -0,0 +1,13 @@ +package bjc.dicelang; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/dice/src/test/java/bjc/dicelang/AppTest.java b/dice/src/test/java/bjc/dicelang/AppTest.java new file mode 100644 index 0000000..6ffe98a --- /dev/null +++ b/dice/src/test/java/bjc/dicelang/AppTest.java @@ -0,0 +1,38 @@ +package bjc.dicelang; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/dice/target/classes/bjc/dicelang/App.class b/dice/target/classes/bjc/dicelang/App.class Binary files differnew file mode 100644 index 0000000..a05f7cf --- /dev/null +++ b/dice/target/classes/bjc/dicelang/App.class diff --git a/dice/target/dicelang-dice-1.0.0.jar b/dice/target/dicelang-dice-1.0.0.jar Binary files differnew file mode 100644 index 0000000..457f38b --- /dev/null +++ b/dice/target/dicelang-dice-1.0.0.jar diff --git a/dice/target/maven-archiver/pom.properties b/dice/target/maven-archiver/pom.properties new file mode 100644 index 0000000..eff7ed7 --- /dev/null +++ b/dice/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Wed Oct 25 12:21:45 ADT 2017 +version=1.0.0 +groupId=bjc +artifactId=dicelang-dice diff --git a/dice/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/dice/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..9bdb887 --- /dev/null +++ b/dice/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1 @@ +bjc/dicelang/App.class diff --git a/dice/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/dice/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..ef687ba --- /dev/null +++ b/dice/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1 @@ +/home/ben/projects/dice-lang/dice/src/main/java/bjc/dicelang/App.java diff --git a/dice/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/dice/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 0000000..51ca371 --- /dev/null +++ b/dice/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst @@ -0,0 +1 @@ +bjc/dicelang/AppTest.class diff --git a/dice/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/dice/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 0000000..a6af2d8 --- /dev/null +++ b/dice/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -0,0 +1 @@ +/home/ben/projects/dice-lang/dice/src/test/java/bjc/dicelang/AppTest.java diff --git a/dice/target/surefire-reports/TEST-bjc.dicelang.AppTest.xml b/dice/target/surefire-reports/TEST-bjc.dicelang.AppTest.xml new file mode 100644 index 0000000..e6907d0 --- /dev/null +++ b/dice/target/surefire-reports/TEST-bjc.dicelang.AppTest.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<testsuite tests="1" failures="0" name="bjc.dicelang.AppTest" time="0.021" errors="0" skipped="0"> + <properties> + <property name="java.runtime.name" value="OpenJDK Runtime Environment"/> + <property name="sun.boot.library.path" value="/opt/icedtea-bin-3.5.1/jre/lib/i386"/> + <property name="java.vm.version" value="25.144-b01"/> + <property name="java.vm.vendor" value="Oracle Corporation"/> + <property name="maven.multiModuleProjectDirectory" value="/home/ben/projects/dice-lang"/> + <property name="java.vendor.url" value="http://java.oracle.com/"/> + <property name="path.separator" value=":"/> + <property name="guice.disable.misplaced.annotation.check" value="true"/> + <property name="java.vm.name" value="OpenJDK Server VM"/> + <property name="file.encoding.pkg" value="sun.io"/> + <property name="user.country" value="US"/> + <property name="sun.java.launcher" value="SUN_STANDARD"/> + <property name="sun.os.patch.level" value="unknown"/> + <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/> + <property name="user.dir" value="/home/ben/projects/dice-lang"/> + <property name="java.runtime.version" value="1.8.0_144-b01"/> + <property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/> + <property name="java.endorsed.dirs" value="/opt/icedtea-bin-3.5.1/jre/lib/endorsed"/> + <property name="os.arch" value="i386"/> + <property name="java.io.tmpdir" value="/tmp"/> + <property name="line.separator" value=" +"/> + <property name="java.vm.specification.vendor" value="Oracle Corporation"/> + <property name="os.name" value="Linux"/> + <property name="classworlds.conf" value="/usr/share/maven-bin-3.3/bin/m2.conf"/> + <property name="sun.jnu.encoding" value="UTF-8"/> + <property name="java.library.path" value="/usr/java/packages/lib/i386:/lib:/usr/lib"/> + <property name="java.specification.name" value="Java Platform API Specification"/> + <property name="java.class.version" value="52.0"/> + <property name="sun.management.compiler" value="HotSpot Tiered Compilers"/> + <property name="os.version" value="4.12.12-gentoo"/> + <property name="user.home" value="/home/ben"/> + <property name="user.timezone" value="America/Halifax"/> + <property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/> + <property name="file.encoding" value="UTF-8"/> + <property name="java.specification.version" value="1.8"/> + <property name="user.name" value="ben"/> + <property name="java.class.path" value="/usr/share/maven-bin-3.3/boot/plexus-classworlds-2.5.2.jar"/> + <property name="java.vm.specification.version" value="1.8"/> + <property name="sun.arch.data.model" value="32"/> + <property name="java.home" value="/opt/icedtea-bin-3.5.1/jre"/> + <property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher clean compile install"/> + <property name="java.specification.vendor" value="Oracle Corporation"/> + <property name="user.language" value="en"/> + <property name="awt.toolkit" value="sun.awt.X11.XToolkit"/> + <property name="java.vm.info" value="mixed mode"/> + <property name="java.version" value="1.8.0_144"/> + <property name="java.ext.dirs" value="/opt/icedtea-bin-3.5.1/jre/lib/ext:/usr/java/packages/lib/ext"/> + <property name="securerandom.source" value="file:/dev/./urandom"/> + <property name="sun.boot.class.path" value="/opt/icedtea-bin-3.5.1/jre/lib/resources.jar:/opt/icedtea-bin-3.5.1/jre/lib/rt.jar:/opt/icedtea-bin-3.5.1/jre/lib/sunrsasign.jar:/opt/icedtea-bin-3.5.1/jre/lib/jsse.jar:/opt/icedtea-bin-3.5.1/jre/lib/jce.jar:/opt/icedtea-bin-3.5.1/jre/lib/charsets.jar:/opt/icedtea-bin-3.5.1/jre/lib/jfr.jar:/opt/icedtea-bin-3.5.1/jre/classes"/> + <property name="java.vendor" value="Oracle Corporation"/> + <property name="maven.home" value="/usr/share/maven-bin-3.3"/> + <property name="file.separator" value="/"/> + <property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/> + <property name="sun.cpu.endian" value="little"/> + <property name="sun.io.unicode.encoding" value="UnicodeLittle"/> + <property name="sun.cpu.isalist" value=""/> + </properties> + <testcase classname="bjc.dicelang.AppTest" name="testApp" time="0.021"/> +</testsuite>
\ No newline at end of file diff --git a/dice/target/surefire-reports/bjc.dicelang.AppTest.txt b/dice/target/surefire-reports/bjc.dicelang.AppTest.txt new file mode 100644 index 0000000..15dd4b9 --- /dev/null +++ b/dice/target/surefire-reports/bjc.dicelang.AppTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: bjc.dicelang.AppTest +------------------------------------------------------------------------------- +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec diff --git a/dice/target/test-classes/bjc/dicelang/AppTest.class b/dice/target/test-classes/bjc/dicelang/AppTest.class Binary files differnew file mode 100644 index 0000000..d625bbb --- /dev/null +++ b/dice/target/test-classes/bjc/dicelang/AppTest.class |
