|
|
ea7e64 |
Index: plexus-components/trunk/plexus-cli/src/main/java/org/codehaus/plexus/tools/cli/AbstractCli.java
|
|
|
ea7e64 |
===================================================================
|
|
|
ea7e64 |
diff -u -N -r7725 -r8335
|
|
|
ea7e64 |
--- plexus-components/trunk/plexus-cli/src/main/java/org/codehaus/plexus/tools/cli/AbstractCli.java (.../AbstractCli.java) (revision 7725)
|
|
|
ea7e64 |
+++ plexus-components/trunk/plexus-cli/src/main/java/org/codehaus/plexus/tools/cli/AbstractCli.java (.../AbstractCli.java) (revision 8335)
|
|
|
ea7e64 |
@@ -1,5 +1,21 @@
|
|
|
ea7e64 |
package org.codehaus.plexus.tools.cli;
|
|
|
ea7e64 |
|
|
|
ea7e64 |
+/*
|
|
|
ea7e64 |
+ * Copyright 2006 The Codehaus Foundation.
|
|
|
ea7e64 |
+ *
|
|
|
ea7e64 |
+ * Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
ea7e64 |
+ * you may not use this file except in compliance with the License.
|
|
|
ea7e64 |
+ * You may obtain a copy of the License at
|
|
|
ea7e64 |
+ *
|
|
|
ea7e64 |
+ * http://www.apache.org/licenses/LICENSE-2.0
|
|
|
ea7e64 |
+ *
|
|
|
ea7e64 |
+ * Unless required by applicable law or agreed to in writing, software
|
|
|
ea7e64 |
+ * distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
ea7e64 |
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
ea7e64 |
+ * See the License for the specific language governing permissions and
|
|
|
ea7e64 |
+ * limitations under the License.
|
|
|
ea7e64 |
+ */
|
|
|
ea7e64 |
+
|
|
|
ea7e64 |
import org.apache.commons.cli.CommandLine;
|
|
|
ea7e64 |
import org.apache.commons.cli.CommandLineParser;
|
|
|
ea7e64 |
import org.apache.commons.cli.GnuParser;
|
|
|
ea7e64 |
@@ -23,7 +39,7 @@
|
|
|
ea7e64 |
|
|
|
ea7e64 |
/**
|
|
|
ea7e64 |
* @author jason van zyl
|
|
|
ea7e64 |
- * @version $Id: AbstractCli.java 7025 2007-10-27 00:36:10Z jvanzyl $
|
|
|
ea7e64 |
+ * @version $Id: AbstractCli.java 8335 2009-08-12 13:55:32Z bentmann $
|
|
|
ea7e64 |
* @noinspection UseOfSystemOutOrSystemErr,ACCESS_STATIC_VIA_INSTANCE
|
|
|
ea7e64 |
*/
|
|
|
ea7e64 |
public abstract class AbstractCli
|
|
|
ea7e64 |
Index: plexus-components/trunk/plexus-cli/src/main/java/org/codehaus/plexus/tools/cli/Cli.java
|
|
|
ea7e64 |
===================================================================
|
|
|
ea7e64 |
diff -u -N -r7725 -r8335
|
|
|
ea7e64 |
--- plexus-components/trunk/plexus-cli/src/main/java/org/codehaus/plexus/tools/cli/Cli.java (.../Cli.java) (revision 7725)
|
|
|
ea7e64 |
+++ plexus-components/trunk/plexus-cli/src/main/java/org/codehaus/plexus/tools/cli/Cli.java (.../Cli.java) (revision 8335)
|
|
|
ea7e64 |
@@ -1,5 +1,21 @@
|
|
|
ea7e64 |
package org.codehaus.plexus.tools.cli;
|
|
|
ea7e64 |
|
|
|
ea7e64 |
+/*
|
|
|
ea7e64 |
+ * Copyright 2006 The Codehaus Foundation.
|
|
|
ea7e64 |
+ *
|
|
|
ea7e64 |
+ * Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
ea7e64 |
+ * you may not use this file except in compliance with the License.
|
|
|
ea7e64 |
+ * You may obtain a copy of the License at
|
|
|
ea7e64 |
+ *
|
|
|
ea7e64 |
+ * http://www.apache.org/licenses/LICENSE-2.0
|
|
|
ea7e64 |
+ *
|
|
|
ea7e64 |
+ * Unless required by applicable law or agreed to in writing, software
|
|
|
ea7e64 |
+ * distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
ea7e64 |
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
ea7e64 |
+ * See the License for the specific language governing permissions and
|
|
|
ea7e64 |
+ * limitations under the License.
|
|
|
ea7e64 |
+ */
|
|
|
ea7e64 |
+
|
|
|
ea7e64 |
import org.codehaus.plexus.PlexusContainer;
|
|
|
ea7e64 |
import org.apache.commons.cli.Options;
|
|
|
ea7e64 |
import org.apache.commons.cli.CommandLine;
|
|
|
ea7e64 |
Index: plexus-components/trunk/plexus-cli/src/test/java/org/codehaus/plexus/tools/cli/CliTest.java
|
|
|
ea7e64 |
===================================================================
|
|
|
ea7e64 |
diff -u -N -r7725 -r8335
|
|
|
ea7e64 |
--- plexus-components/trunk/plexus-cli/src/test/java/org/codehaus/plexus/tools/cli/CliTest.java (.../CliTest.java) (revision 7725)
|
|
|
ea7e64 |
+++ plexus-components/trunk/plexus-cli/src/test/java/org/codehaus/plexus/tools/cli/CliTest.java (.../CliTest.java) (revision 8335)
|
|
|
ea7e64 |
@@ -1,5 +1,21 @@
|
|
|
ea7e64 |
package org.codehaus.plexus.tools.cli;
|
|
|
ea7e64 |
|
|
|
ea7e64 |
+/*
|
|
|
ea7e64 |
+ * Copyright 2006 The Codehaus Foundation.
|
|
|
ea7e64 |
+ *
|
|
|
ea7e64 |
+ * Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
ea7e64 |
+ * you may not use this file except in compliance with the License.
|
|
|
ea7e64 |
+ * You may obtain a copy of the License at
|
|
|
ea7e64 |
+ *
|
|
|
ea7e64 |
+ * http://www.apache.org/licenses/LICENSE-2.0
|
|
|
ea7e64 |
+ *
|
|
|
ea7e64 |
+ * Unless required by applicable law or agreed to in writing, software
|
|
|
ea7e64 |
+ * distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
ea7e64 |
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
ea7e64 |
+ * See the License for the specific language governing permissions and
|
|
|
ea7e64 |
+ * limitations under the License.
|
|
|
ea7e64 |
+ */
|
|
|
ea7e64 |
+
|
|
|
ea7e64 |
import org.codehaus.plexus.PlexusTestCase;
|
|
|
ea7e64 |
import org.codehaus.plexus.util.FileUtils;
|
|
|
ea7e64 |
|
|
|
ea7e64 |
Index: plexus-components/trunk/plexus-cli/src/test/java/org/codehaus/plexus/tools/cli/TestCli.java
|
|
|
ea7e64 |
===================================================================
|
|
|
ea7e64 |
diff -u -N -r7725 -r8335
|
|
|
ea7e64 |
--- plexus-components/trunk/plexus-cli/src/test/java/org/codehaus/plexus/tools/cli/TestCli.java (.../TestCli.java) (revision 7725)
|
|
|
ea7e64 |
+++ plexus-components/trunk/plexus-cli/src/test/java/org/codehaus/plexus/tools/cli/TestCli.java (.../TestCli.java) (revision 8335)
|
|
|
ea7e64 |
@@ -1,5 +1,21 @@
|
|
|
ea7e64 |
package org.codehaus.plexus.tools.cli;
|
|
|
ea7e64 |
|
|
|
ea7e64 |
+/*
|
|
|
ea7e64 |
+ * Copyright 2006 The Codehaus Foundation.
|
|
|
ea7e64 |
+ *
|
|
|
ea7e64 |
+ * Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
ea7e64 |
+ * you may not use this file except in compliance with the License.
|
|
|
ea7e64 |
+ * You may obtain a copy of the License at
|
|
|
ea7e64 |
+ *
|
|
|
ea7e64 |
+ * http://www.apache.org/licenses/LICENSE-2.0
|
|
|
ea7e64 |
+ *
|
|
|
ea7e64 |
+ * Unless required by applicable law or agreed to in writing, software
|
|
|
ea7e64 |
+ * distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
ea7e64 |
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
ea7e64 |
+ * See the License for the specific language governing permissions and
|
|
|
ea7e64 |
+ * limitations under the License.
|
|
|
ea7e64 |
+ */
|
|
|
ea7e64 |
+
|
|
|
ea7e64 |
import org.codehaus.plexus.PlexusContainer;
|
|
|
ea7e64 |
import org.codehaus.plexus.util.FileUtils;
|
|
|
ea7e64 |
import org.apache.commons.cli.Options;
|