001/*
002 * (C) Copyright 2010-2015 Nuxeo SA (http://nuxeo.com/) and contributors.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the GNU Lesser General Public License
006 * (LGPL) version 2.1 which accompanies this distribution, and is available at
007 * http://www.gnu.org/licenses/lgpl-2.1.html
008 *
009 * This library is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012 * Lesser General Public License for more details.
013 *
014 * Contributors:
015 *     Julien Carsique
016 *
017 */
018
019package org.nuxeo.runtime.deployment.preprocessor;
020
021import org.nuxeo.launcher.config.ConfigurationException;
022
023/**
024 * Builder for server configuration and datasource files from templates and properties.
025 *
026 * @author jcarsique
027 * @deprecated Since 5.4.1. Use {@link org.nuxeo.launcher.config.ConfigurationGenerator}
028 */
029@Deprecated
030public class ConfigurationGenerator {
031
032    /**
033     * Delegate call to {@link #org.nuxeo.launcher.config.ConfigurationGenerator.main(String[])}
034     *
035     * @param args
036     * @throws ConfigurationException
037     */
038    public static void main(String[] args) throws ConfigurationException {
039        throw new RuntimeException(ConfigurationGenerator.class + " is deprecated."
040                + " Use org.nuxeo.launcher.config.ConfigurationGenerator "
041                + "(org.nuxeo.runtime:nuxeo-launcher-commons)");
042    }
043
044}