Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005937OCamltools (ocaml{lex,yacc,dep,debug,...})public2013-03-03 14:412017-03-07 14:23
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005937: Support for passing more parameters from external files
DescriptionA tool like "ocamldoc 3.12.1" expects so far that it gets some parameters passed on the command line. The command line length might be limited. [^]

I suggest to improve the way in which more data can be optionally passed by external files.
- Response files
- I am particularly interested in efficient data exchange for file names and paths from the tool "find" (and corresponding variants) which might be (temporarily) stored in other text files.

Which command option should indicate a switch to a different data source?
TagsNo tags attached.
Attached Files

- Relationships
related to 0007050resolvedadministrator An "-args <path>" option to pass command-line flags in a file 

-  Notes
guesdon (manager)
2013-08-05 11:13

I put it in the "OCaml general" category, as ocamldoc is not the only tool of the suite who could be added such a command line option, and the code could obviously be shared among the various compilers and tools.
gasche (developer)
2013-08-05 11:25

Between 3.12 and 4.00 we went in the *other* direction: there was limited for response files for Windows and we removed it, feeling that command-line length limitations were large enough now for all relevant platforms that this cruft wasn't needed anymore -- removing code is one way to decrease maintenance costs.

It might be the case that a portable general-purpose mechanism for option-passing from a text-file could be useful for OCaml. You would have to propose very convincing use-cases for this to be considered for inclusion, though.
elfring (viewer)
2013-08-05 14:30

I would like to avoid line length limitations in a portable way. I would appreciate if it will become safer to pass a long list of file names also for OCaml commands.
ygrek (reporter)
2013-08-06 04:47

Do you really experience command line length limitation? Can you please share the details - what platform, which command?
elfring (viewer)
2013-08-06 11:11

How likely is it to keep file lists and corresponding parameters within bounds?

Do you care for the configuration setting "ARG_MAX"? [^]
doligez (administrator)
2017-03-02 14:38

Note: this is implemented by GPR#843 and GPR#890 for:

Unfortunately, ocamldoc is not in this list. See GPR#843 for the list of missing tools.

GPR#843: [^]
GPR#890: [^]

- Issue History
Date Modified Username Field Change
2013-03-03 14:41 elfring New Issue
2013-03-03 14:41 elfring Status new => assigned
2013-03-03 14:41 elfring Assigned To => guesdon
2013-08-05 11:13 guesdon Note Added: 0010105
2013-08-05 11:13 guesdon Status assigned => acknowledged
2013-08-05 11:13 guesdon Category OCamldoc => OCaml general
2013-08-05 11:14 guesdon Assigned To guesdon =>
2013-08-05 11:25 gasche Note Added: 0010108
2013-08-05 14:30 elfring Note Added: 0010114
2013-08-06 04:47 ygrek Note Added: 0010122
2013-08-06 11:11 elfring Note Added: 0010123
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-02 11:51 doligez Relationship added related to 0007050
2017-03-02 14:38 doligez Note Added: 0017532
2017-03-02 14:38 doligez Priority normal => high
2017-03-02 14:38 doligez Severity feature => minor
2017-03-02 14:38 doligez Category -OCaml general => tools (ocaml{lex,yacc,dep,debug,...})
2017-03-07 14:23 frisch Severity minor => feature

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker