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                  [EMAIL PROTECTED]

Reply via email to