blob: 8e93171f7084d47b9316019c1912e4f57f1928dc [file] [log] [blame]
package org.eclipse.jst.server.websphere.core;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
public class AntPublisher extends org.eclipse.jst.server.generic.core.internal.publishers.AntPublisher {
public static final String PUBLISHER_ID="org.eclipse.jst.server.generic.websphere.antpublisher"; //$NON-NLS-1$
protected void setupAntLaunchConfiguration(ILaunchConfigurationWorkingCopy wc) {
String wasProfile = (String)this.getServerRuntime().getServerInstanceProperties().get("wasProfile");
wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS,"-Duser.install.root="+wasProfile);
}
}