Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
April 12, 2006 [Bug 103] New: -Dd does not generate subdirectories | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/bugzilla/show_bug.cgi?id=103 Summary: -Dd does not generate subdirectories Product: D Version: 0.150 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: benoit@tionex.de => Error: Error writing file '....../..html' I think this is a bug, because without creating subdirectories this option is useless. -- |
April 13, 2006 Re: [Bug 103] New: -Dd does not generate subdirectories | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | d-bugmail@puremagic.com wrote: > http://d.puremagic.com/bugzilla/show_bug.cgi?id=103 > > Summary: -Dd does not generate subdirectories > Product: D > Version: 0.150 > Platform: PC > OS/Version: Windows > Status: NEW > Severity: normal > Priority: P2 > Component: DMD > AssignedTo: bugzilla@digitalmars.com > ReportedBy: benoit@tionex.de > > > => Error: Error writing file '....../..html' > I think this is a bug, because without creating subdirectories this option is > useless. > > The same can be said of other options, such as -od . I don't think this is a bug, it's more of a (mis)feature. Yes, I think it should create the dirs, but it can be fully worked around with some shell scripting. -- Bruno Medeiros - CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D |
April 13, 2006 Re: [Bug 103] New: -Dd does not generate subdirectories | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bruno Medeiros |
> The same can be said of other options, such as -od . I don't think this is a bug, it's more of a (mis)feature. Yes, I think it should create the dirs, but it can be fully worked around with some shell scripting.
>
Right, but with this argument you can drop the whole option and move the html with your shell script to the right place.
|
April 13, 2006 Re: [Bug 103] New: -Dd does not generate subdirectories | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bruno Medeiros | On Fri, 14 Apr 2006 00:48:48 +1000, Bruno Medeiros <brunodomedeirosATgmail@SPAM.com> wrote: > d-bugmail@puremagic.com wrote: >> http://d.puremagic.com/bugzilla/show_bug.cgi?id=103 >> Summary: -Dd does not generate subdirectories >> Product: D >> Version: 0.150 >> Platform: PC >> OS/Version: Windows >> Status: NEW >> Severity: normal >> Priority: P2 >> Component: DMD >> AssignedTo: bugzilla@digitalmars.com >> ReportedBy: benoit@tionex.de >> => Error: Error writing file '....../..html' >> I think this is a bug, because without creating subdirectories this option is >> useless. >> > > The same can be said of other options, such as -od . I don't think this is a bug, it's more of a (mis)feature. Yes, I think it should create the dirs, but it can be fully worked around with some shell scripting. > I'll put that into Build ... if it sees -D<path> it will ensure the path exists before calling the compiler. -- Derek Parnell Melbourne, Australia |
April 13, 2006 Re: [Bug 103] New: -Dd does not generate subdirectories | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek Parnell | Derek Parnell wrote:
> On Fri, 14 Apr 2006 00:48:48 +1000, Bruno Medeiros <brunodomedeirosATgmail@SPAM.com> wrote:
>
>> d-bugmail@puremagic.com wrote:
>>> http://d.puremagic.com/bugzilla/show_bug.cgi?id=103
>>> Summary: -Dd does not generate subdirectories
>>> Product: D
>>> Version: 0.150
>>> Platform: PC
>>> OS/Version: Windows
>>> Status: NEW
>>> Severity: normal
>>> Priority: P2
>>> Component: DMD
>>> AssignedTo: bugzilla@digitalmars.com
>>> ReportedBy: benoit@tionex.de
>>> => Error: Error writing file '....../..html'
>>> I think this is a bug, because without creating subdirectories this option is
>>> useless.
>>>
>>
>> The same can be said of other options, such as -od . I don't think this is a bug, it's more of a (mis)feature. Yes, I think it should create the dirs, but it can be fully worked around with some shell scripting.
>>
>
> I'll put that into Build ... if it sees -D<path> it will ensure the path exists before calling the compiler.
This would be great. As it stands now I have to do a "recursive copy, build tree but don't actually copy anything" before generating documentation remotely.
Sean
|
April 13, 2006 Re: [Bug 103] New: -Dd does not generate subdirectories | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek Parnell | > I'll put that into Build ... if it sees -D<path> it will ensure the path exists before calling the compiler.
>
> --Derek Parnell
> Melbourne, Australia
Only to clarify. The problem is not only the named path from -Dd<path>, the bug report should show, dmd is not generating the directory tree beneath that path, representing all packages.
|
April 14, 2006 Re: [Bug 103] New: -Dd does not generate subdirectories | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek Parnell | Derek Parnell wrote: > On Fri, 14 Apr 2006 00:48:48 +1000, Bruno Medeiros <brunodomedeirosATgmail@SPAM.com> wrote: > >> d-bugmail@puremagic.com wrote: >>> http://d.puremagic.com/bugzilla/show_bug.cgi?id=103 >>> Summary: -Dd does not generate subdirectories >>> Product: D >>> Version: 0.150 >>> Platform: PC >>> OS/Version: Windows >>> Status: NEW >>> Severity: normal >>> Priority: P2 >>> Component: DMD >>> AssignedTo: bugzilla@digitalmars.com >>> ReportedBy: benoit@tionex.de >>> => Error: Error writing file '....../..html' >>> I think this is a bug, because without creating subdirectories this option is >>> useless. >>> >> >> The same can be said of other options, such as -od . I don't think this is a bug, it's more of a (mis)feature. Yes, I think it should create the dirs, but it can be fully worked around with some shell scripting. >> > > I'll put that into Build ... if it sees -D<path> it will ensure the path exists before calling the compiler. > > --Derek Parnell > Melbourne, Australia While you're at it, you might as well do the same for the other options too, like -od, right ? ;) -- Bruno Medeiros - CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D |
Copyright © 1999-2021 by the D Language Foundation