ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0005093 | Part 01: TTCN-3 Core Language | Clarification | public | 20-04-2009 11:18 | 06-07-2009 17:27

Reporter | Ina Schieferdecker |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.2.1 (published 2010-07) | Fixed in Version | v4.2.1 (published 2010-07) |
Clause Reference(s) | D.2
Source (company - Author) | Hellen Griffiths, 3GPP

Summary | 0005093: __FILE__ macro

Description

I have (hopefully) a small request. The __FILE__ macro is currently defined to specify the filename in which the macro is used.
But since we already have a large number of files, and intend to have a lot more, we've already created a number of directories to organise these files.
Therefore would it be possible to extend the __FILE__ definition to provide the path, as well as the filename?

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |

Attached Files

CR5093_FILE_macro.doc (30,208) 22-04-2009 13:59
http://oldforge.etsi.org/mantis/file_download.php?file_id=2107&type=bug
CR5093_FILE_macro_v2.doc (135,680) 03-07-2009 17:28
http://oldforge.etsi.org/mantis/file_download.php?file_id=2165&type=bug
CR5093_FILE_macro_v3.doc (136,192) 03-07-2009 17:46
http://oldforge.etsi.org/mantis/file_download.php?file_id=2166&type=bug
CR5093_FILE_macro_v4.doc (139,264) 06-07-2009 17:26
http://oldforge.etsi.org/mantis/file_download.php?file_id=2172&type=bug

Issue History
Date Modified | Username | Field | Change
20-04-2009 11:18 | Ina Schieferdecker | New Issue |
20-04-2009 11:18 | Ina Schieferdecker | Status | new => assigned
20-04-2009 11:18 | Ina Schieferdecker | Assigned To | => Tibor CsÃ¶ndes
20-04-2009 11:18 | Ina Schieferdecker | Clause Reference(s) | => D.2
20-04-2009 11:18 | Ina Schieferdecker | Source (company - Author) | => Hellen Griffiths, 3GPP
20-04-2009 11:19 | Ina Schieferdecker | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
20-04-2009 11:19 | Ina Schieferdecker | Category | TTCN-3 Core Language => Clarification
20-04-2009 11:19 | Ina Schieferdecker | Target Version | => Edition 4.2.1 (not yet published)
22-04-2009 13:59 | Tibor CsÃ¶ndes | File Added: CR5093_FILE_macro.doc |
22-04-2009 14:08 | Tibor CsÃ¶ndes | Note Added: 0008536 |
22-04-2009 14:40 | Tibor CsÃ¶ndes | Assigned To | Tibor CsÃ¶ndes => Gyorgy Rethy
14-05-2009 10:17 | Jacob Wieland - Spirent | Note Added: 0008599 |
30-06-2009 15:56 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Tibor CsÃ¶ndes
30-06-2009 15:57 | Gyorgy Rethy | Note Added: 0008800 |
03-07-2009 17:10 | Tibor CsÃ¶ndes | File Added: CR5093_FILE_macro_v2.doc |
03-07-2009 17:14 | Tibor CsÃ¶ndes | Note Added: 0008837 |
03-07-2009 17:15 | Tibor CsÃ¶ndes | Assigned To | Tibor CsÃ¶ndes => Gyorgy Rethy
03-07-2009 17:22 | Tibor CsÃ¶ndes | File Deleted: CR5093_FILE_macro_v2.doc |
03-07-2009 17:28 | Tibor CsÃ¶ndes | File Added: CR5093_FILE_macro_v2.doc |
03-07-2009 17:46 | Gyorgy Rethy | File Added: CR5093_FILE_macro_v3.doc |
03-07-2009 17:47 | Gyorgy Rethy | Note Added: 0008839 |
03-07-2009 17:47 | Gyorgy Rethy | Status | assigned => resolved
03-07-2009 17:47 | Gyorgy Rethy | Resolution | open => fixed
06-07-2009 17:26 | Ina Schieferdecker | File Added: CR5093_FILE_macro_v4.doc |
06-07-2009 17:26 | Ina Schieferdecker | Note Added: 0008848 |
06-07-2009 17:27 | Ina Schieferdecker | Status | resolved => assigned
06-07-2009 17:27 | Ina Schieferdecker | Assigned To | Gyorgy Rethy => Ina Schieferdecker
06-07-2009 17:27 | Ina Schieferdecker | Status | assigned => closed
06-07-2009 17:27 | Ina Schieferdecker | Fixed in Version | => Edition 4.2.1 (not yet published)

Notes

(0008536)
Tibor CsÃ¶ndes
22-04-2009 14:08

New preprocessing __PATH__ macro introduced into D.5 which will give the full path of the directory where the file is located. Concatenation of __PATH_ and __FILE__ will give back the full path with filename.

(0008599)
Jacob Wieland - Spirent
14-05-2009 10:17

I think the standard is ambiguous here, it should state that __FILE__ already evaluates to the canonical full file path of the file, not just the base file name. This would be the same as a preprocessor evaluates __FILE__ and would of course solve the problem this CR is aimed at.

(0008800)
Gyorgy Rethy
30-06-2009 15:57

CR Resolution mtg has changed the STF proposal, draft to be aligned with the meeting decision

(0008837)
Tibor CsÃ¶ndes
03-07-2009 17:14

Based on the decision from CR resolution meeting new version has been uploaded. In v2 __FILE__ macro contains the absolute path and a new __BFILE__ macro has been introduced for basic file names (without path).

(0008839)
Gyorgy Rethy
03-07-2009 17:47

CR5093_FILE_macro_v3.doc: minor editorial changes. Otherwise OK with me.

(0008848)
Ina Schieferdecker
06-07-2009 17:26

editorial changes only