Thread overview
[Issue 6102] New: [RDMD] Changing a string import file doesn't trigger a rebuild
Jun 04, 2011
Nick Sabalausky
Aug 03, 2011
Nick Sabalausky
Aug 03, 2011
Nick Sabalausky
Sep 27, 2011
Nick Sabalausky
June 04, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6102

           Summary: [RDMD] Changing a string import file doesn't trigger a
                    rebuild
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: cbkbbejeap@mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2011-06-04 00:03:36 PDT ---
1. Build some program with RDMD
2. Modify a string import file your program uses.
3. Run RDMD again.

RDMD will use the cached executable instead of rebuilding it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 04, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6102


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei@metalanguage.com


--- Comment #1 from Andrei Alexandrescu <andrei@metalanguage.com> 2011-06-04 15:19:53 PDT ---
I talked to Walter about adding support for this in the compiler.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 03, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6102



--- Comment #2 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2011-08-02 19:41:01 PDT ---
The string import files are already in the .deps file, they're just marked "file" instead of "import". (At least in 2.054 anyway.)

The .deps entries marked "binary", "config" and "library" should also be checked.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 03, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6102



--- Comment #3 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2011-08-02 22:34:06 PDT ---
Pull request fixing this issue:

https://github.com/D-Programming-Language/tools/pull/6

That fixes the issue for "file" (ie string imports), "binary" and "config". Fixing it for "library" is more difficult since the path to the library has to be figured out (rather than scraped from the deps file), so I've made a separate issue for that: issue 6431

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 27, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6102


Nick Sabalausky <cbkbbejeap@mailinator.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #4 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2011-09-27 15:30:14 PDT ---
Pull request was accepted and issue is fixed as of 2.055

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------