I'm trying to use a globmapper with uptodate task.
such as
<target name="-check_proxy_uptodate">
<uptodate property="proxy.uptodate" srcfile="${qproxy.src.dir}/${cls}">
<globmapper from="${qproxy.src.dir}/*.java"
to="${qproxy.src.dir}/qproxy/*.java"/>
</uptodate>
</target>
<target name="-buildproxy" depends="-check_proxy_uptodate"
unless="proxy.uptodate" description="build a qproxy class from a regular
class using the QProxyParser">
<java classname="${qproxy.parser}" fork="no">
<classpath refid="classes.classpath"/>
<arg value="${qproxy.src.dir}/${cls}"/>
</java>
</target>
Used like:
<property name="qproxy.src.dir" value="${src.dir}/com/acme/bo/remotable"/>
<antcall target="-buildproxy"><param name="cls"
value="AsyncJobSvcHdlr.java"/></antcall>
basically, it takes as input a simple java class in the remotable directory,
and builds a proxy in a sub directory 'qproxy'.
when i run it with -v, it says
-check_proxy_uptodate:
[uptodate]
E:\pv\projects\BO\src\com\primavera\bo\remotable\AsyncJobSvcHdlr.java
skipped - don't know how to handle it
Any ideas what i am doing wrong? thanks!
-dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]