Quoting Jeffrey E Care <[EMAIL PROTECTED]>: > I don't see you setting @from; that is probably the problem. >
OK, i added the from, and that fixed my NPE. But now the property seems to be always set to true, even when it shouldn't. I must say i'm puzzled as to the format of the uptodate task. It doesn't make sense, to my little brain. I have now: <target name="check_schema_uptodate" description="checks to see if the schema files need to be regenerated"> <uptodate property="schema.uptodate"> <srcfiles dir="${dir.source.schema}" includes="*.xml" /> <mapper type="glob" from="${dir.source.schema}/*.xml" to="../../foo/*.java"/> </uptodate> <echo message="UPTODATE: ${schema.uptodate}"/> </target> What is the point of srcfiles, if mapper holds the information needed? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]