ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: cvs commit: jakarta-ant/src/main/org/apache/tools/ant Project .java
Date Mon, 10 Dec 2001 16:07:50 GMT
This was also a request from the Eclipse people in charge of the Ant
integration.

http://marc.theaimsgroup.com/?l=ant-dev&m=99859615332616&w=2

-- 
 St├ęphane Bailliez 
 Software Engineer, Paris - France 
 iMediation - http://www.imediation.com 
 Disclaimer: All the opinions expressed above are mine and not those from my
company. 



> -----Original Message-----
> From: bodewig@apache.org [mailto:bodewig@apache.org]
> Sent: Monday, December 10, 2001 4:39 PM
> To: jakarta-ant-cvs@apache.org
> Subject: cvs commit: jakarta-ant/src/main/org/apache/tools/ant
> Project.java
> 
> 
> bodewig     01/12/10 07:38:59
> 
>   Modified:    src/main/org/apache/tools/ant Project.java
>   Log:
>   We really want to look for a constructor taking a *Project* 
> argument,
>   not a possible subclass.
>   
>   PR: 2652
>   Submitted by:	Robert Watkins <robert.watkins@qsipayments.com>
>   
>   Revision  Changes    Path
>   1.86      +1 -1      
> jakarta-ant/src/main/org/apache/tools/ant/Project.java
>   
>   Index: Project.java
>   ===================================================================
>   RCS file: 
> /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Project.java,v
>   retrieving revision 1.85
>   retrieving revision 1.86
>   diff -u -r1.85 -r1.86
>   --- Project.java	2001/12/07 11:03:36	1.85
>   +++ Project.java	2001/12/10 15:38:59	1.86
>   @@ -769,7 +769,7 @@
>                    ctor = c.getConstructor(new Class[0]);
>                    noArg = true;
>                } catch (NoSuchMethodException nse) {
>   -                ctor = c.getConstructor(new Class[] {getClass()});
>   +                ctor = c.getConstructor(new Class[] 
> {Project.class});
>                    noArg = false;
>                }
>    
>   
>   
>   
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-dev-help@jakarta.apache.org>
> 

--
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