Mike,

Please provide a repro for this issue (meaning actual build files without
unrelevant targets).

Thanks

Gert

----- Original Message -----
From: "Mike Stephens" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 04, 2004 4:24 PM
Subject: RE: [Nant-users] <nant> <include> relative paths are not correct.


> Is anyone else having this problem or am I doing something incorrectly?
>
> Thanks,
>
> Mike
>
>
> ----Original Message Follows----
> From: "Mike Stephens" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] <nant> <include> relative paths are not correct.
> Date: Wed, 28 Apr 2004 13:21:10 +0000
>
> I'm using NAnt and NAntContrib .85 from the last day or two from cvs and I
> have noticed over the last several days that the relative paths for the
> <nant> and <include> tasks are no longer what one would expect them to be.
> It seems that any build files that are launched by the <nant> or <include>
> tasks would have a relative path of the subdirectory of the include file
> instead of the path of the parent Default.build file.
>
> example:
> C:\builds\Default.build  //main build file
> in the Default.build file
> <property name="portlets.dir" value="portlets"> //portlets directory
> <includes name="portlets\announcement\ann.include" inheritall="true"/>
> C:\builds\portlets\announcement\ann.include //portlet build file
> The problem presents itself here when you try to access any properties
that
> were set by the parent build file.   All of the properties from the parent
> build file now are relative to the C:\builds\portlets\announcement
directory
> instead of from the C:\builds directory.
> So if i were to try to write something back to the C:\builds\portlets
> directory using the property set in the parent build file
> <copy todir="${portlets.dir}" overwrite="true">
>         <fileset basedir="${portlet.bin}">
> <includes name="*.dll" />
>         </fileset>
> </copy>
> the value of ${portlets.dir} from the parent directory should be equal to
> "C:\builds\portlets" but now the value is going do be returned as
> "C:\builds\portlets\announcments\portlets".
> I am not rewriting the value of ${portlets.dir} in my portlet build file,
> this value is only set in the parent directory.
>
> Any help would be appreciated,
>
> Thanks,
>
> Mike
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now!
> http://toolbar.msn.com/go/onm00200415ave/direct/01/
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
> _________________________________________________________________
> Watch LIVE baseball games on your computer with MLB.TV, included with MSN
> Premium!
>
http://join.msn.com/?page=features/mlb&pgmarket=en-us/go/onm00200439ave/dire
ct/01/
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to