ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Lynch" <b...@coolservlets.com>
Subject filter task problem
Date Mon, 09 Apr 2001 16:35:10 GMT
All,

I'm using Ant 1.2.

I'm running into a problem with filter task. I have a simple task to copy
some JSP and HTML pages around:

<target name="deployskin">
  <filter filtersfile="skin_tokens.properties" />
  <copy
    todir="${deploy.skin.dir}/${skin}"
    filtering="yes"
  >
    <fileset dir="${local.skins.src.dir}/foo/sites/${skin}/branding">
      <include name="**/*.jsp" />
      <include name="**/*.html" />
    </fileset>
  </copy>
</target>

My skin_tokens.properties looks like:

# skin_tokens.properties
page.tile=This is the title...

In one of my JSP pages (included in the fileset), I have the token
@page.title@ -- it's clearly not getting filtered. Do I need to do something
different to get the filtering right?

Thanks in advance,
--Bill

-------------------------------------------------------
CoolServlets Inc                  bill@coolservlets.com


Mime
View raw message