/src/org/ooc/frontend/CompilerVersion.java
http://github.com/nddrylliog/ooc · Java · 25 lines · 10 code · 7 blank · 8 comment · 2 complexity · 657ed6a49c8339cbed5abc3d67e4b2e8 MD5 · raw file
- package org.ooc.frontend;
- /**
- * Contain versioning information about the compiler.
- *
- * @author Amos Wenger
- */
- public class CompilerVersion {
- /**
- * Print a line of information about the compiler
- */
- public static void printVersion() {
- Object prop = System.getProperty("ooc.version");
- if(prop == null) {
- prop = CompilerVersion.class.getPackage().getImplementationVersion();
- }
-
- System.out.println("ooc v"+prop);
-
- }
-
- }