One step ahead of you Gert :) I just made a small fix to correct this issue. The task was resolving relative paths from the build file dir rather than from the dir containing the vbp file.

Please give it a try Terry and let us know if it works fine on your system.

I agree with Gert that an "alwaysCompile" attribute should not be needed. You can always use the touch task before using <vb6> to get the same behaviour.

Ian

Gert Driesen wrote:

Hi Terry,

I would actually prefer to fix the original issue.  I'll look into
installing VB6 on one of my system to track the issue down and test a fix.

Gert

----- Original Message ----- From: "Terry Austin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 22, 2004 6:11 PM
Subject: [NAntC-Dev] VB6 Task





All,

I was working with the vb6 task in a build file and found that the logic
that determines if the project should be compiled seems broken unless the
project file exists in the same directory as the build file. I don't


really


have time to debug that issue right now, but as a quick fix I added a new
"alwayscompile" task attribute that, when true, insures that the project
gets compiled, regardless of the outcome of the NeedsCompiling() method.


I


like this solution because I generally always want to rebuild all projects
during the build, and it's nice to be able to force a rebuild when you


want.


The modified task is attached.  If any maintainers wish to add this
modification to the source tree, feel free.

Terry Austin
Progressive Partnering
[EMAIL PROTECTED]







-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer




--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to