ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Task to remove a method from .java file
Date Tue, 06 Aug 2002 20:27:29 GMT
What is your purpose in removing a method from a Java
source file?

-Matt

--- "Luis N. Polasek" <lpolasek@sichile.cl> wrote:
> Quoting Erik Hatcher
> <jakarta-ant@ehatchersolutions.com>:
> 
> > This sounds like a pretty crazy thing to want to
> do, and there are 
> > certainly better patterns, but.... check out the
> trick I applied to 
> > Cactus testing, which got documented on their FAQ:
> > 
> > <http://jakarta.apache.org/cactus/faq.html#faq2>
> > 
> > You could have a filtered copy that commented out
> a section of code if 
> > desired.  Keep in mind that I do not endorse this
> type of thing, merely 
> > letting you know its possible!  :)
> > 
> > 	Erik
> 
>        That approach itīs ok for xml files, but it
> is difficult to implement in .java source files,
> since the commentaries are different you can use
> "//" to comment a single line, or "/*"  and "*/" to
> comment in multiple lines. and another problem in
> commenting its that you can have already set a
> commentari in the method you want to comment out.
> 
>         Anyway, thanks for the tip.
> 
> 
>                           Best  regards.
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

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


Mime
View raw message