ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Another uptodate question
Date Thu, 31 Oct 2002 17:53:22 GMT
What you need is a 'regexp' mapper that changes the ${build.classes.dir}
prefix of the filename to ${build.ejb.dir} (I think).

A 'merge' mapper allows return the same file (not a pattern).
A 'glob' mapper does not take the same patterns as the ones used in
patternset/fileset. I can take at most one star (*) as indicated by the doc.

BTW, I'm no mapper expert myself... --DD


-----Original Message-----
From: Mike Dougherty [mailto:MDougherty@XIFIN.Com] 
Sent: Thursday, October 31, 2002 10:59 AM
To: 'Ant Users List'
Subject: RE: Another uptodate question

I didn't really give up on it. I just set it aside for now. I'd still like
to find a way to do it right.

The mappers I tried were:

  <mapper type="merge" to="${build.ejb.dir}/**/ejb/**/*.class" />

  <mapper type="glob" to="${build.ejb.dir}/**/ejb/**/*.class"
                      from="${build.classes.dir}/**/ejb/**/*.class" />

None of the other mapper's seemed to make sense in this context. I am still
open to suggestions.

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message