ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adammurd...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/project Resources.properties AntCallTask.java
Date Tue, 25 Jun 2002 11:15:56 GMT
adammurdoch    2002/06/25 04:15:56

  Modified:    antlib/src/java/org/apache/antlib/project
                        Resources.properties AntCallTask.java
  Log:
  - Use the correct property name for project reference.
  - Fix error message.
  
  Revision  Changes    Path
  1.14      +2 -0      jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/project/Resources.properties
  
  Index: Resources.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/project/Resources.properties,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- Resources.properties	25 Jun 2002 07:20:33 -0000	1.13
  +++ Resources.properties	25 Jun 2002 11:15:56 -0000	1.14
  @@ -7,3 +7,5 @@
   param.too-many-values.error=Too many values for parameter.
   
   project.no-project-element.error=Project file must be enclosed in project element.
  +
  +antcall.missing-ref.error=Unknown project reference "{0}".
  \ No newline at end of file
  
  
  
  1.8       +3 -4      jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/project/AntCallTask.java
  
  Index: AntCallTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/antlib/src/java/org/apache/antlib/project/AntCallTask.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- AntCallTask.java	11 Jun 2002 03:59:48 -0000	1.7
  +++ AntCallTask.java	25 Jun 2002 11:15:56 -0000	1.8
  @@ -64,14 +64,13 @@
           String key = ProjectDescriptor.KEY;
           if( null != projectName )
           {
  -            key += "/" + projectName;
  +            key += "-" + projectName;
           }
           final ProjectDescriptor project = (ProjectDescriptor)getContext().getProperty(
key );
           if( null == project )
           {
               final String message =
  -                REZ.getString( "workspace.missing-ref.error",
  -                               projectName );
  +                REZ.getString( "antcall.missing-ref.error", projectName );
               throw new TaskException( message );
           }
           else
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message