Adding resolve="false" seemed to fix my issue.

Thanks again,
Cameron


On Thu, 21 Oct 2004 01:39:32 +0200, Stephen McConnell
<[EMAIL PROTECTED]> wrote:
> 
> 
> 
> 
> > -----Original Message-----
> > From: Cameron Taggart [mailto:[EMAIL PROTECTED]
> > Sent: 21 October 2004 00:04
> > To: [EMAIL PROTECTED]
> > Subject: magic bug,
> >
> > I often need to use the version number of the project that I'm
> > building within the Ant build.xml file.  I'm not sure if this is the
> > best way, but it has been working for me until I installed Magic
> > yesterday on my new Mac.
> >
> >   <x:home index="."/>
> >   <import file="${magic.templates}/standard.xml"/>
> >   <x:property name="version" feature="version"/>
> >
> > The project build fails because it tries to download the jar for the
> > project which hasn't been build yet.  Is this a bug or did I do
> > something wrong?
> 
> It's a bug.
> 
> Some changes were made to the property task but it looks like the cases
> of 'self' properties are not being handled correctly. Magic will moved
> over to the DPML shortly - but in the meantime you can try the
> following:
> 
>    <x:property name="version" feature="version" resolve="false"/>
> 
> Please let me know if this solves the problem.
> 
> Cheers, Steve.
> 
> > Cameron
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to