Decomment is not a core ant task, you will have to ask the author of that
task for help.

http://andariel.uworks.net/

I noticed this comment in the javadoc

Warning!! The decomment process uses regular expressions. There's not a
syntactic analysis, so there might be unexpected results if there are quoted
comment symbols. Never overwrite your original source code without making a
backup first!


> -----Original Message-----
> From: Venkatesh Babu [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 06, 2006 5:17 AM
> To: [email protected]
> Subject: Ant decomment task problem
> 
> 
> Hello All,
> 
> I'm using the decomment task, to decomment my JavaScript 
> files. There seems to be problem in that: it is removing // 
> characters present inside strings. For ex: I have a function 
> where I'm constructing URL:
> 
> function f1() {
>     var url = "http://"; ....;
> }
> 
> the decomment task is removing the // present after "http:" string!
> 
> Can anybody tell me about how to overcome this problem.
> 
> Thank you,
> Venkatesh
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to