]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/AboutCCTask.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Java / Source / Cpptasks / net / sf / antcontrib / cpptasks / AboutCCTask.java
diff --git a/Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/AboutCCTask.java b/Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/AboutCCTask.java
new file mode 100644 (file)
index 0000000..67757bb
--- /dev/null
@@ -0,0 +1,49 @@
+/*\r
+ * \r
+ * Copyright 2001-2004 The Ant-Contrib project\r
+ *\r
+ *  Licensed under the Apache License, Version 2.0 (the "License");\r
+ *  you may not use this file except in compliance with the License.\r
+ *  You may obtain a copy of the License at\r
+ *\r
+ *      http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ *  Unless required by applicable law or agreed to in writing, software\r
+ *  distributed under the License is distributed on an "AS IS" BASIS,\r
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ *  See the License for the specific language governing permissions and\r
+ *  limitations under the License.\r
+ */\r
+package net.sf.antcontrib.cpptasks;\r
+\r
+/**\r
+ * The equivalent of a Help About\r
+ *    run "java -jar cpptasks.jar" to read\r
+ *\r
+ *  @author Curt Arnold\r
+ */\r
+public class AboutCCTask {\r
+    /**\r
+     * display identification message and exit\r
+     *\r
+     * @param args ignored\r
+     */\r
+    public static void main(String args[]) {\r
+      System.out.println("CCTask: Compile and link task for Apache Ant 1.5 or later\n");\r
+      System.out.println("Copyright (c) 2002-2004, The Ant-Contrib project.\n");\r
+      System.out.println("http://sf.net/projects/ant-contrib\n");\r
+      System.out.println("Licensed under the Apache Software License 2.0");\r
+      System.out.println("available at http://www.apache.org/licenses/LICENSE-2.0\n");\r
+      System.out.println("This software is not a product of the");\r
+      System.out.println("of the Apache Software Foundation and no");\r
+      System.out.println("endorsement or promotion is implied.\n");\r
+      System.out.println("THIS SOFTWARE IS PROVIDED 'AS-IS', See");\r
+      System.out.println("http://www.apache.org/LICENSE for additional");\r
+      System.out.println("disclaimers.\n");\r
+      System.out.println("To use:");\r
+      System.out.println("\tPlace cpptasks.jar into lib directory of Ant 1.5 or later.");\r
+      System.out.println("\tAdd <taskdef resource=\"cpptasks.tasks\"/> and");\r
+      System.out.println("\t\t<typedef resource=\"cpptasks.types\"/> to build.xml");\r
+      System.out.println("Add <cc/>, <compiler/>, <linker/>, <assembler/> and <aslcompiler> elements.");\r
+    }\r
+}\r