ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maris Orbidans" <M.Orbid...@datapro.lv>
Subject RE: Ant book review in JavaPro July 2003
Date Tue, 01 Jul 2003 14:08:07 GMT

Hello

I created a task to deploy JSP files, however it's not working as I expect.

If I use <fileset> with <include> or <exclude> tag, than sometimes files
aren't copied.

For example, this task doesnt copy JSP files properly.

<target name="deployJSPfiles">
    <copy todir="${tomcat.home}/webapps/iaks">
        <fileset dir="${webapp.root}" includes="*.jsp">
            <include name="*.jsp"/>
        </fileset>
    </copy>
</target>

Sometimes there is a new JSP file in ${webapp.root}/tiles which doesnt exist in ${tomcat.home}/webapps/iaks/tiles,
however the task doesnt copy the file.

could someone help me ?

Maris Orbidans



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message