I finally got around to testing this.  Relative paths do seem to work much better for the C++ includes and the bost build event.  Thanks!
 
There is one place relative paths still appear broken, however.  That is in Resources->General->Additional Include Directories.  Again, I can work around the problem by putting in $(InputDir) in front of the relative path.  I'm guessing you just need to add the same logic int he resource module as you had to in the other areas.  However, if you need a better repro let me know.
 
Ray


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen
Sent: Thursday, March 31, 2005 9:04 PM
To: [EMAIL PROTECTED]; 'Sandeep'; nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] Post-build event problem with solution task

Ray,
 
Relative paths should work too. If you have stil have issues with this, then please submit a bug report.
 
Gert


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Johnson
Sent: vrijdag 1 april 2005 6:28
To: 'Sandeep'; nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] Post-build event problem with solution task

 
Are you using relative paths in your commands?  We had problems when we did that.  Try basing it off a macro so it has an absolute path.  Of course, changing the "copy" to an "echo" will help you debug the problem...
 
ray


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep
Sent: Thursday, March 31, 2005 7:29 PM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] Post-build event problem with solution task

Hi,

 

I am using VS.Net solution task to build a solution that contains 18-20 projects. Everything is working fine except that the post build event is not doing its job. NAnt log shows that post build event was successful however, when I see the bin folders there are no additional files are there (post build event copies some files to bin folder).

 

[solution] PostBuildEvent succeeded (exit code = 0)

 

I checked that PostBuildEvent.bat file is present in the bin folder and if I run that file myself, it copies the desired files.

 

Earlier, I tried post build event on a POC project (single project in a solution) and it worked fine with Nant.

 

Has anyone come across this issue? Please provide me some pointers as I am stuck at this point.

 

Thanks in Advance,

 

Regards,

Sandeep

 

Reply via email to