Hi,
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
/view/jetpac_echlinja_unix/vobs/LDN_JETPAC_APP/Web/war/jetweb-app/WEB-IN
F/classes/jetweb/login/login.class doesn't exist.
However the file actually does exist, but it is at
/view/jetpac_echlinja_unix/vobs/LDN_JETPAC_APP/Web/WEB-INF/classes/jetwe
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"
dir="${src.dir.root}/JSPC">
<arg line="/home/echlinja/mkRelative.pl"/>
<arg value="java"/>
<arg value="-classpath"/>
<arg
path="${classpath}:/sbcimp/run/tp/sun/jdk/v1.3.0/lib/tools.jar:/home/ech
linja/allaire.jar"/>
<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"/>
</apply>
</target>
Oh yes, next problem is to find a regexp mapper type to convert from
jrun__jetweb__tradeentry__StraightBondTradeEntry2ejsp2d.class to
jetweb/tradeentry/StraightBondTradeEntry.jsp...
Thanks as always for your help.
Jamie
Visit our website at http://www.ubswarburg.com
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.