stevel 02/05/07 16:08:35
Modified: src/main/org/apache/tools/ant/taskdefs/optional/dotnet Tag:
ANT_15_BRANCH CSharp.java
Log:
slighlty more helpful error message
Revision Changes Path
No revision
No revision
1.23.2.1 +2 -1
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java
Index: CSharp.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java,v
retrieving revision 1.23
retrieving revision 1.23.2.1
diff -u -r1.23 -r1.23.2.1
--- CSharp.java 15 Apr 2002 14:56:31 -0000 1.23
+++ CSharp.java 7 May 2002 23:08:35 -0000 1.23.2.1
@@ -753,7 +753,8 @@
targetType.equals("module") || targetType.equals("winexe")) {
targetType = targetType;
} else {
- throw new BuildException("targetType " + targetType + " is not a
valid type");
+ throw new BuildException("targetType " + targetType
+ + " is not one of 'exe', 'module', 'winexe' or
'library'" );
}
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>