ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject RE: Problems when using the filter function with copy
Date Fri, 03 Nov 2000 18:52:03 GMT
--- Eric Lefevre <eric.lefevre@valtech.co.uk> wrote:
> You need one space before the token:
>   weblogic.ejb.deploy= @JAR_PATH@

I use:
 public static final boolean ASSERT=@SANE@ ;
 public static final boolean DEBUG=@SANE@ ;
and copy/filter:
    <filter token="SANE" value="${sane}"/>
    <copy file="${sanity.dir}/SanityState.tmpl"
          tofile="${sanity.dir}/SanityState.java"
          overwrite="yes" filtering="on"/>
which works just fine.

Diane

> > -----Original Message-----
> > From: Johan Adel÷w [mailto:johan.adelow@corustechnologies.com]
> > Sent: 03 November 2000 15:35
> > To: ant user mailing list
> > Subject: Problems when using the filter function with copy
> >
> > I am trying to use filtering with copy but cant make it work. Am I
> > missing someting here?
> >
> > 	<filter token="tmp_file_dir" value=" ${TMP_FILE_DIR}" />
> > 	<copy file="${exec_file}"
> > tofile="${TMP_FILE_DIR}/tmp_run_file.sql" overwrite="yes "
> > filtering="yes"/>
> >
> >
> > exec_file:
> >
> > ...
> >
> > INSERT INTO OGO_GEN_PARAMS VALUES ('OX_DEFAULT',
> >                                    '@tmp_file_dir@',
> >                                    'pub_%s_cliapt',
> >                                    'sub_%s_cliapt',
> > ...
> >
> >
> > /Johan
> >
> > _________________________________________________
> >
> > E-mail: johan.adelow@corustechnologies.com
> > Direct: +46-8-678 80 60
> > Mobile: +46-70-563 13 97
> > Office: +46-8-4403860 (Always open)
> > Home page: www.corustechnologies.com
> > _________________________________________________
> >
> >
> >
> 


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Mime
View raw message