Re: replaceregexp issues...

2008-02-15 Thread jonese
Got it needed to use Unicode Equivilent \p{IsCntrl} FYI for those who need it: http://perldoc.perl.org/perlre.html jonese On Feb 15, 2008 3:01 PM, jonese <[EMAIL PROTECTED]> wrote: > Ok i have this: > > > > and i keep getting this error when i run my ant task

replaceregexp issues...

2008-02-15 Thread jonese
\0){1,} [\0]{1,} same thing. anyone? i tought this was supposed to allow for PERL5 syntax?? jonese - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

conditional statements

2008-02-14 Thread jonese
How would i do something like if x = true{ stuff }else{ other stuff } in ant? basically i want to see if a property is true and if it is do x instructions, if it's false do y. jonese - To unsubscribe, e-mail: [

Re: Copy content of file only?

2008-02-13 Thread jonese
Got it. i was on the right track with concat. just needed to add the loadfile to get my data, put that into a propery and then use the value of that property to build my new file! whew talk about going around your arse to get to your elbow! Thanks all! jonese On Feb 13, 2008 11:36 AM

Re: Copy content of file only?

2008-02-13 Thread jonese
e contents and input them into another file. i'm on Windows XP if i need to toss this off to some command line stuff. jonese On Feb 13, 2008 10:53 AM, Scot P. Floess <[EMAIL PROTECTED]> wrote: > Are you simply trying to copy file A to file B? Or take the contents of > A and app

Copy content of file only?

2008-02-13 Thread jonese
Hey all i need to take the content of file A and place it into File B. anyone know the best way to accomplish this? jonese - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Am i doing this right RE: ReplaceRegExp

2008-02-12 Thread jonese
t; Here is the result: > > USE [100] > /** Object: Default [DF_formEnvironment_adminonly]Script > Date: 01/29/2008 20:15:03 **/ > IF EXISTS (SELECT * FROM sys.default_constraints WHERE object_id = > OBJECT_ID(N'[100].[DF_formEnvironment_adminonly]'

Re: Am i doing this right RE: ReplaceRegExp

2008-02-12 Thread jonese
e eric On Feb 12, 2008 1:03 PM, Scot P. Floess <[EMAIL PROTECTED]> wrote: > Are you sure the reg ex is working? If not, nothing will be changed in > the file... > > Can you send the sql file or some snippet of it? > > > > jonese wrote: > > I have a simple

Am i doing this right RE: ReplaceRegExp

2008-02-12 Thread jonese
I have a simple build file and i'm trying to change some text in a .SQL file. in my build file i have the following target I know the regex is good but every time i run it nothing happens to my .SQL file. am i missing something? Running ant 1.7.x on Windows XP Pro eric