Mistrake!

<echo message="And the mystery file is ${mystery.file.id}"/>

should be:

<echo message="And the mystery file is ${mystery.file}"/>


On Jan 8, 2008 9:00 PM, David Weintraub <[EMAIL PROTECTED]> wrote:
> Something like this:
>
> <path id="mystery.file.id">
>     <fileset dir="logs">
>         <include name="log.*.txt"/>
>      </fileset.
> <path>
>
> <property name="mystery.file" refid="mystery.file.id"/>
> <echo message="And the mystery file is ${mystery.file.id}"/>
>
>
> On Jan 8, 2008 2:01 PM, me youdonwannaknow <[EMAIL PROTECTED]> wrote:
> >
> > My apologies if my searching the manual, faq(s), and mail archive didn't 
> > return the answer to this question.
> >
> > I know there'll be a single file matching a search criteria, say, "dir 
> > logs/log.*.txt".  I want to get the file name as a property value -- but 
> > w/out the wild card.
> >
> > My attempts using , , and filesets and filelists did not work.  I suppose I 
> > can use  and the 'dir' or 'ls' commands, and parse their output.  But that 
> > seems like a kludge.  Surely there is a better 'Ant' way of doing this.
> >
> > tia,
> > - Brad G.
> >
> > _________________________________________________________________
> > Put your friends on the big screen with Windows Vista(R) + Windows Liveā„¢.
> > http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_012008
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> --
> David Weintraub
> [EMAIL PROTECTED]
>



-- 
--
David Weintraub
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to