Browse files

release

  • Loading branch information...
1 parent e455645 commit 579cab6aaa8409a68d03777fe271b2adefb79710 @purplefox purplefox committed Jul 31, 2012
View
7 vertx-examples/src/main/modtest/mods/barmod/app.js
@@ -1,7 +0,0 @@
-load('vertx.js')
-
-console.log("barmod loaded");
-
-function vertxStop() {
- console.log("barmod unloaded");
-}
View
3 vertx-examples/src/main/modtest/mods/barmod/mod.json
@@ -1,3 +0,0 @@
-{
-"main":"app.js"
-}
View
11 vertx-examples/src/main/modtest/mods/foomod/app.js
@@ -1,11 +0,0 @@
-load('vertx.js')
-
-console.log("in foomod");
-
-vertx.deployModule('barmod', null, 1, function(depID) {
- vertx.setTimer(1000, function() {
- vertx.undeployModule(depID);
- })
-});
-
-
View
3 vertx-examples/src/main/modtest/mods/foomod/mod.json
@@ -1,3 +0,0 @@
-{
-"main":"app.js"
-}
View
3 vertx-examples/src/main/modtest/mods/foomod/mod.json~
@@ -1,3 +0,0 @@
-{
-main:"app.js"
-}
View
3 ...ng/vertx-lang-java/src/main/java/org/vertx/java/deploy/impl/java/JavaVerticleFactory.java
@@ -61,8 +61,6 @@ private boolean isJavaSource(String main) {
public Verticle createVerticle(String main, ClassLoader loader) throws Exception {
- System.out.println("creating verticle " + main);
-
ClassLoader cl = loader;
String className = main;
if (isJavaSource(main)) {
@@ -84,7 +82,6 @@ public Verticle createVerticle(String main, ClassLoader loader) throws Exception
}
return verticle;
-
}
public void reportException(Throwable t) {
View
7 vertx-platform/src/main/java/org/vertx/java/deploy/impl/cli/Starter.java
@@ -51,6 +51,8 @@
private static final String CP_SEPARATOR =
System.getProperty("os.name").startsWith("Windows") ? ";" : ":";
+ private static final String VERSION = "vert.x-1.2.3.final";
+
public static void main(String[] args) {
new Starter(args);
}
@@ -59,22 +61,21 @@ public static void main(String[] args) {
private VerticleManager mgr;
private Starter(String[] sargs) {
- String vertxVersion = String.format("vert.x %s", System.getProperty("vertx.version", "0.0.0-UNKNOWN!"));
if (sargs.length < 1) {
displaySyntax();
} else {
String command = sargs[0].toLowerCase();
Args args = new Args(sargs);
if ("version".equals(command)) {
- log.info(vertxVersion);
+ log.info(VERSION);
} else {
if (sargs.length < 2) {
displaySyntax();
} else {
String operand = sargs[1];
switch (command) {
case "version":
- log.info(vertxVersion);
+ log.info(VERSION);
break;
case "run":
runVerticle(false, operand, args);

0 comments on commit 579cab6

Please sign in to comment.