| //------------------------------------------------------------------------------ |
| // Copyright (c) 2005, 2006 IBM Corporation and others. |
| // All rights reserved. This program and the accompanying materials |
| // are made available under the terms of the Eclipse Public License v1.0 |
| // which accompanies this distribution, and is available at |
| // http://www.eclipse.org/legal/epl-v10.html |
| // |
| // Contributors: |
| // IBM Corporation - initial implementation |
| //------------------------------------------------------------------------------ |
| package org.eclipse.epf.publisher.services; |
| |
| import org.eclipse.epf.publishing.services.PublishManager; |
| import org.eclipse.epf.publishing.services.PublishOptions; |
| import org.eclipse.epf.uma.MethodConfiguration; |
| |
| /** |
| * The EPF publishing manager. |
| * |
| * @author Jinhua Xi |
| * @since 1.0 |
| * |
| */ |
| public class EPFPublishManager extends PublishManager { |
| |
| public void init(String pubDir, MethodConfiguration config, PublishOptions options) { |
| |
| super.init(pubDir, config, options); |
| } |
| |
| protected void copyDocRootFiles() throws Exception { |
| |
| super.copyDocRootFiles(); |
| |
| // // copy the publisher specific files |
| // URL plugin_url = PublisherPlugin.getDefault().getInstallURL(); |
| // URL url = new URL(plugin_url, DOC_ROOT); |
| // String fromPath = Platform.resolve(url).getPath(); |
| // |
| // String includes = "*.*, **/"; //$NON-NLS-1$ |
| // String excludes = null; |
| // |
| // LayoutResources.copyDir(fromPath, pubDir, includes, excludes); |
| } |
| |
| protected void copyLocalizedFiles() throws Exception { |
| super.copyLocalizedFiles(); |
| } |
| |
| protected void copyCustomizedFiles() throws Exception { |
| super.copyCustomizedFiles(); |
| } |
| |
| |
| |
| } |