package org.osgl;

/*-
 * #%L
 * Java Tool
 * %%
 * Copyright (C) 2014 - 2018 OSGL (Open Source General Library)
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */

/**
 * Alias of {@link Lang}.
 *
 * This class is deprecated. Please use {@link Lang} or `$` instead
 */
@Deprecated
public class Osgl extends Lang {

    // debug javadoc generating.
    // Note if you get `Illegal group reference` issue then make sure
    // you do not have `$` in the `{@link}` tag
    public static void main(String[] args) throws Exception {
        // run `mvn javadoc:javadoc -Prelease -Ddebug=true` to generate options and packages file
        args = new String[]{"@target/site/apidocs/options", "@target/site/apidocs/packages"};
        com.sun.tools.javadoc.Main.execute(args);
    }
}

@@ -1046,16 +1046,154 @@
 ption %7B%0A
+        args = new String%5B%5D%7B%22@target/site/apidocs/options%22, %22@target/site/apidocs/packages%22%7D;%0A        // uncomment the following line and%0A
         
@@ -1294,102 +1294,10 @@
     
-args = new String%5B%5D%7B%22@target/site/apidocs/options%22, %22@target/site/apidocs/packages%22%7D;%0A        
+//
 com.

fix javadoc issue