]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/AboutCCTask.java
Added code to check if "cmd" attribute is valid or not. This is to make error report...
[mirror_edk2.git] / Tools / Java / Source / Cpptasks / net / sf / antcontrib / cpptasks / AboutCCTask.java
CommitLineData
878ddf1f 1/*\r
2 * \r
3 * Copyright 2001-2004 The Ant-Contrib project\r
4 *\r
5 * Licensed under the Apache License, Version 2.0 (the "License");\r
6 * you may not use this file except in compliance with the License.\r
7 * You may obtain a copy of the License at\r
8 *\r
9 * http://www.apache.org/licenses/LICENSE-2.0\r
10 *\r
11 * Unless required by applicable law or agreed to in writing, software\r
12 * distributed under the License is distributed on an "AS IS" BASIS,\r
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
14 * See the License for the specific language governing permissions and\r
15 * limitations under the License.\r
16 */\r
17package net.sf.antcontrib.cpptasks;\r
18\r
19/**\r
20 * The equivalent of a Help About\r
21 * run "java -jar cpptasks.jar" to read\r
22 *\r
23 * @author Curt Arnold\r
24 */\r
25public class AboutCCTask {\r
26 /**\r
27 * display identification message and exit\r
28 *\r
29 * @param args ignored\r
30 */\r
31 public static void main(String args[]) {\r
32 System.out.println("CCTask: Compile and link task for Apache Ant 1.5 or later\n");\r
33 System.out.println("Copyright (c) 2002-2004, The Ant-Contrib project.\n");\r
34 System.out.println("http://sf.net/projects/ant-contrib\n");\r
35 System.out.println("Licensed under the Apache Software License 2.0");\r
36 System.out.println("available at http://www.apache.org/licenses/LICENSE-2.0\n");\r
37 System.out.println("This software is not a product of the");\r
38 System.out.println("of the Apache Software Foundation and no");\r
39 System.out.println("endorsement or promotion is implied.\n");\r
40 System.out.println("THIS SOFTWARE IS PROVIDED 'AS-IS', See");\r
41 System.out.println("http://www.apache.org/LICENSE for additional");\r
42 System.out.println("disclaimers.\n");\r
43 System.out.println("To use:");\r
44 System.out.println("\tPlace cpptasks.jar into lib directory of Ant 1.5 or later.");\r
45 System.out.println("\tAdd <taskdef resource=\"cpptasks.tasks\"/> and");\r
46 System.out.println("\t\t<typedef resource=\"cpptasks.types\"/> to build.xml");\r
47 System.out.println("Add <cc/>, <compiler/>, <linker/>, <assembler/> and <aslcompiler> elements.");\r
48 }\r
49}\r