Matt Benson wrote:
Thank you much. It works great! I have learned a bit more about glob mapper in the process, as well.--- Nat Gross <[EMAIL PROTECTED]> wrote:
Matt Benson wrote:[SNIP]
<pathconvert property="pleaseHelp" pathsep=" ">/>
<path>
<dirset dir="${projectPath}" includes="**/ejb"
Aye, thanks much. It works 99%. It returns the</path> <mapper type="glob" from="*ejb" to="*" /> </pathconvert> <echo>$${pleaseHelp}=${pleaseHelp}</echo>
-Matt
correct path but it also includes a dir separator at the end. How do I drop
that?
-nat
Probably the most reliable way, without moving to a snapshot Ant build (globmapper handledirchar="true"), would be to make your mapper:
<mapper type="glob" from="*${file.separator}ejb" to "*" />
-Matt
-nat
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]