|
|
|
@@ -1,7 +1,7 @@ |
|
|
|
/* |
|
|
|
* The Apache Software License, Version 1.1 |
|
|
|
* |
|
|
|
* Copyright (c) 2000-2002 The Apache Software Foundation. All rights |
|
|
|
* Copyright (c) 2000-2003 The Apache Software Foundation. All rights |
|
|
|
* reserved. |
|
|
|
* |
|
|
|
* Redistribution and use in source and binary forms, with or without |
|
|
|
@@ -533,8 +533,8 @@ public class PropertyFile extends Task { |
|
|
|
+ "properties (key:" + key + ")"); |
|
|
|
} |
|
|
|
if (value == null && defaultValue == null) { |
|
|
|
throw new BuildException("value and/or default must be " |
|
|
|
+ "specified (key:" + key + ")"); |
|
|
|
throw new BuildException("\"value\" and/or \"default\" " |
|
|
|
+ "attribute must be specified (key:" + key + ")"); |
|
|
|
} |
|
|
|
if (key == null) { |
|
|
|
throw new BuildException("key is mandatory"); |
|
|
|
|