import org.argeo.slc.deploy.DeployEnvironment;
public abstract class MavenDeployEnvironment implements DeployEnvironment {
-/* private static final Log log = LogFactory
+ private static final Log log = LogFactory
.getLog(MavenDeployEnvironment.class);
private MavenManager mavenManager;
URL antUrl = getClass().getClassLoader().getResource(
"org/argeo/slc/support/deploy/ant/build.xml");
-// if (type == null || type.equals("zip")) {
-// new AntRunner(antUrl, "deployZip", props).run();
-// } else if (type.equals("tar.gz")) {
-// new AntRunner(antUrl, "deployTarGz", props).run();
-// } else {
-// throw new SlcException("Unknow package type " + type);
-// }
+ // if (type == null || type.equals("zip")) {
+ // new AntRunner(antUrl, "deployZip", props).run();
+ // } else if (type.equals("tar.gz")) {
+ // new AntRunner(antUrl, "deployTarGz", props).run();
+ // } else {
+ // throw new SlcException("Unknow package type " + type);
+ // }
throw new SlcException("Not implemented.");
} catch (SlcException e) {
throw e;
public void setMavenManager(MavenManager mavenManager) {
this.mavenManager = mavenManager;
}
-*/
+
}