try :
line.replaceAll("\\{","");

----- Original Message ----- 
From: "erixtekila" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Open Source Flash Mailing List" 
<[email protected]>
Sent: Tuesday, January 17, 2006 12:53 PM
Subject: Re: [osflash] Create intrinsics with Ant


>> If it works for you, please keep me informed, it will only be good
>> news :)
>
> Hep, the only error compiling for 1.4 is String.replace (char, char);
>
> this line doesn't compile line.replace("{", "");
> It seems that the char type needs single quotes.
> So I did a change :
> line.replace('{', '');
>
> BTW, I got an error.
> I assume that there is no empty char available, so '' is not valid.
>
> Any idea to fix this.
>
> FYI, SexieR compile well under 1.4 with this commented.
>
> -----------
> erixtekila
> http://blog.v-i-a.net/
>
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
> 

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to