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