ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Apply is looking in wrong place for target
Date Tue, 24 Jul 2001 15:15:18 GMT

Something I must not be understanding about the Apply task. It always
Applys the command to every source file, telling me the destination
doesn't exist. However I don't know where it is getting this destination
from, it doesn't follow from the dest attribute. An example from the
verbose output file is:

jetweb/login/login.jsp added as
F/classes/jetweb/login/login.class doesn't exist.

However the file actually does exist, but it is at
b/login/login.class . So where is it getting that extra war/jetweb-app
from? Here is the full task def.

<target name="test">
      <apply executable="/sbcimp/run/pd/perl/prod/bin/perl"
parallel="true" dest="${src.dir.root}/JSPC/WEB-INF/classes"
            <arg line="/home/echlinja/"/>
            <arg value="java"/>
            <arg value="-classpath"/>
            <arg value="JSPC"/>
            <arg value="-v"/>
            <arg value="-d" />
            <arg value="WEB-INF/classes" />
            <fileset dir="${src.dir.root}/JSPC" includes="**/*.jsp"
excludesfile="${src.dir.root}/JSPC/exclusions.txt" />
            <mapper type="glob" from="*.jsp" to="*.class"/>

Oh yes, next problem is to find a regexp mapper type to convert from
jrun__jetweb__tradeentry__StraightBondTradeEntry2ejsp2d.class to

Thanks as always for your help.

Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

View raw message