ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lefevre" <eric.lefe...@valtech.co.uk>
Subject RE: Problems when using the filter function with copy
Date Fri, 03 Nov 2000 15:39:37 GMT
You need one space before the token:

  weblogic.ejb.deploy= @JAR_PATH@

Of course, it may produce a bogus result for you because of the additional
space... if you find a way of getting rid of it, let me know!

Eric

> -----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
> _________________________________________________
>
>
>


Mime
View raw message