diff --git a/commands.py b/commands.py index c1cfaae..5fd5615 100644 --- a/commands.py +++ b/commands.py @@ -41,8 +41,7 @@ def execute(**kargs): if command == "cargo:redeploy": cargo_args.append("redeploy") - print cargo_args - + java_cmd = app.java_cmd(java_args, None, "play.modules.cargo.Cargo", cargo_args) try: diff --git a/commands.pyc b/commands.pyc index a44ed58..4323931 100644 Binary files a/commands.pyc and b/commands.pyc differ diff --git a/conf/dependencies.yml b/conf/dependencies.yml index 2d8788b..02a2302 100644 --- a/conf/dependencies.yml +++ b/conf/dependencies.yml @@ -2,4 +2,5 @@ self: play -> cargo 0.1 require: - play - - org.codehaus.cargo ->cargo-core-container-tomcat 1.1.2 \ No newline at end of file + - org.codehaus.cargo ->cargo-core-container-tomcat 1.1.2 + - org.codehaus.cargo ->cargo-core-api-generic 1.1.2 \ No newline at end of file diff --git a/src/play/modules/cargo/Cargo.java b/src/play/modules/cargo/Cargo.java index 03e8c3a..30099fd 100644 --- a/src/play/modules/cargo/Cargo.java +++ b/src/play/modules/cargo/Cargo.java @@ -61,7 +61,6 @@ public static void main(String [] args) throws Exception { //DeployableMonitor monitor; - deployer. if (command.equals("deploy")){ deployer.deploy(war); }