Bugs item #1205594, was opened at 2005-05-20 13:57
Message generated for change (Comment added) made by dogu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1205594&group_id=54790

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: olivier anguenot (oanguenot)
Assigned to: Nobody/Anonymous (nobody)
Summary: VB6 task not taking into account resource file

Initial Comment:
Hello,

I use a <vb6> tasks in my nant build file.
I want to compile a vbp project witch contains a
reference to an external resource PhoneRes.res".

In the vbp file, there is the line :
ResFile32="PhoneRes.res"

But when the file Phoneres.res is updated, the project
is not recompiled.

So, how can I force my vbp project to be compiled ?

Thanks.
Olivier

----------------------------------------------------------------------

>Comment By: Dominik Guder (dogu)
Date: 2011-09-25 21:26

Message:
Take "ResFile32" files into account when checking for recompilation.

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2006-01-17 21:09

Message:
Logged In: YES 
user_id=707851

Can you please attach a small VB6 project (including 
sources) that contains a resource file to this bug report 
(or send it to me by email) ?

----------------------------------------------------------------------

Comment By: Giscard (giscard)
Date: 2006-01-16 04:15

Message:
Logged In: YES 
user_id=1428237

Edit the file NAnt.Contrib.Tasks... 

1) protected bool ProjectNeedsCompiling(string projectFile) :

     Needs to be updated. There's a big conditional branch
there starting with this code: "if (key == "Class" || key ==
"Module") {". Add an if/else for your "ResFile32" key, and
inside the brackets make it store the value for that key. 

2) protected bool ProjectNeedsCompiling(string projectFile) :

     Needs to be updated too. Here, find the comment "//
look for a changed project file." This part of the code
checks the project file, source files, and project
references. Add similar four lines to compare the timestamp
of the file in the private instance var you created in step 1.

----------------------------------------------------------------------

Comment By: Dominik Guder (dogu)
Date: 2005-06-16 12:03

Message:
Logged In: YES 
user_id=437335

Hi,

I took a short look into and it seems that only class and
module files are checked for actuality. But there are some
more filetypes like ResFile32. 

Here I found a list of VB Project Filetypes
http://www.vbaccelerator.com/home/VB/Utilities/VBPZip/VBPZip_Source_Code_zip_cVBFileTypes_cls.asp

maybe some could take a closer look into

so far
Dominik

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1205594&group_id=54790

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to