SF.net SVN: ant-contrib: [141] cpptasks/trunk/src/main/java/net/sf/ antcontrib/cpptasks
[email protected] Thu, 23 Aug 2007 11:18:31 -0700
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 141
http://ant-contrib.svn.sourceforge.net/ant-contrib/?rev=141&view=rev
Author: darius42
Date: 2007-08-23 11:18:30 -0700 (Thu, 23 Aug 2007)
Log Message:
-----------
Fix bug 1573193. Update usage information to reflect the current
package name and XML namespace usage. Update documentation for
warning levels to reflect actual names.
Modified Paths:
--------------
cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/CCTask.java
cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/CompilerDef.java
cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/WarningLevelEnum.java
Modified: cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/CCTask.java
===================================================================
--- cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/CCTask.java 2007-08-22 23:50:24 UTC (rev 140)
+++ cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/CCTask.java 2007-08-23 18:18:30 UTC (rev 141)
@@ -51,9 +51,8 @@
* Resource files.
* </p>
*
- *
* <p>
- * Copyright (c) 2001-2006, The Ant-Contrib project.
+ * Copyright (c) 2001-2007, The Ant-Contrib project.
* </p>
*
* <p>
@@ -67,23 +66,54 @@
* </p>
*
* <p>
- * THIS SOFTWARE IS PROVIDED 'AS-IS', See http://www.apache.org/licenses/LICENSE-2.0 for
- * additional disclaimers.
+ * THIS SOFTWARE IS PROVIDED 'AS-IS', See
+ * http://www.apache.org/licenses/LICENSE-2.0 for additional disclaimers.
* </p>
*
* To use:
* <ol>
- * <li>Place cpptasks.jar into Ant's classpath by placing in Ant's lib directory,
- * adding to CLASSPATH environment variable or using the -lib command line option.</li>
- * <li>Add type and task definitions in build file:
- * <ul><li>Ant 1.6 or later: add xmlns:cpptasks="antlib:org.sf.net.antcontrib.cpptasks" to <project> element.</li>
- * <li>Ant 1.5 or later: Add <taskdef resource="cpptasks.tasks"/> and <typedef
- * resource="cpptasks.types"/> to body of <project> element.</li></ul></li>
- * <li>Add <cc/>, <compiler/> and <linker/> elements to
- * project.</li>
- * <li>Set path and environment variables to be able to run compiler from
- * command line.</li>
- * <li>Build project.</li>
+ * <li>
+ * Place cpptasks.jar into Ant's classpath by placing it in Ant's lib
+ * directory, adding it to the CLASSPATH environment variable or by using the
+ * -lib command line option.
+ * </li>
+ * <li>
+ * Add type and task definitions to the build file:
+ * <ul>
+ * <li>
+ * Ant 1.6 or later:
+ * <ul>
+ * <li>Add xmlns:cpptasks="antlib:net.sf.antcontrib.cpptasks" to
+ * <project> element.
+ * </li>
+ * <li>
+ * Add <cpptasks:cc/>, <cpptasks:compiler/> and
+ * <cpptasks:linker/> elements to the project.
+ * </li>
+ * </ul>
+ * </li>
+ * <li>
+ * Ant 1.5 or later:
+ * <ul>
+ * <li>Add <taskdef resource="cpptasks.tasks"/> and
+ * <typedef resource="cpptasks.types"/> to body of <project>
+ * element.
+ * </li>
+ * <li>
+ * Add <cc/>, <compiler/> and <linker/> elements to the
+ * project.
+ * </li>
+ * </ul>
+ * </li>
+ * </ul>
+ * </li>
+ * <li>
+ * Set the path and environment variables to be able to run compiler from
+ * command line.
+ * </li>
+ * <li>
+ * Build the project.
+ * </li>
* </ol>
*
* @author Adam Murdoch
@@ -1337,7 +1367,7 @@
/**
* Enumerated attribute with the values "none", "severe", "default",
- * "production", "diagnostic", and "failtask".
+ * "production", "diagnostic", and "aserror".
*/
public void setWarnings(WarningLevelEnum level) {
compilerDef.setWarnings(level);
Modified: cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/CompilerDef.java
===================================================================
--- cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/CompilerDef.java 2007-08-22 23:50:24 UTC (rev 140)
+++ cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/CompilerDef.java 2007-08-23 18:18:30 UTC (rev 141)
@@ -483,7 +483,7 @@
}
/**
* Enumerated attribute with the values "none", "severe", "default",
- * "production", "diagnostic", and "failtask".
+ * "production", "diagnostic", and "aserror".
*/
public void setWarnings(WarningLevelEnum level) {
warnings = level.getIndex();
Modified: cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/WarningLevelEnum.java
===================================================================
--- cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/WarningLevelEnum.java 2007-08-22 23:50:24 UTC (rev 140)
+++ cpptasks/trunk/src/main/java/net/sf/antcontrib/cpptasks/WarningLevelEnum.java 2007-08-23 18:18:30 UTC (rev 141)
@@ -19,7 +19,7 @@
/**
* Enumerated attribute with the values "none", "severe", "default",
- * "production", "diagnostic", and "failtask".
+ * "production", "diagnostic", and "aserror".
*/
public final class WarningLevelEnum extends EnumeratedAttribute {
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/