ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimitris Mouchritsas" <>
Subject help with uptodate and hibernate doclet
Date Tue, 20 Nov 2007 10:35:03 GMT
Hi folks, I'm trying to create a condition task so as not to run a
hibernatedoclet target.
The problem is the target does not produce .hbm.xml files for all the
classes. So
for example if we have 3 classes in the src dir say,,,
the resulting files in the build dir might look like:

So not all classes have a hibernate configuration file. My problem is how
can I use uptodate
to check these? I've tried this:
  <srcfiles dir="${src.dir}">
    <include name="**/mypackage/domain/**/*.java" />

    <globmapper from="*" to="${}" />
      <globmapper from="*.java" to="*.class" />
      <globmapper from=".java" to="*.hbm.xml" />

But I guess this mapper needs every class to have a corresponding .hbm.xml

Dimitris Mouchritsas
Computer Services

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message