package rhogenwizard.sdk.task.liveupdate;
import org.eclipse.core.runtime.IPath;
import rhogenwizard.SysCommandExecutor;
import rhogenwizard.sdk.task.RubyExecTask;
public class LiveUpdateTask extends RubyExecTask
{
public LiveUpdateTask(IPath iPath, boolean isEnable)
{
super(iPath.toOSString(), SysCommandExecutor.RUBY_BAT, "rake",
isEnable == true ? "dev:update:auto" : "dev:update:auto:stop");
}
//dont remove this override, this task should stopped by dev:update:auto:stop call
@Override
protected void stop() {
}
}