Project

General

Profile

Bug #2609

Modify conversion processing so that basename can be specified with a trailing /

Added by Sergey Ivanovskiy almost 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version:

History

#1 Updated by Sergey Ivanovskiy almost 9 years ago

if ~/projects/testcases/uast/cfg/p2j.cfg.xml sets the "basepath" parameter with a trailing "/"(for example, <parameter name="basepath" value="./src/widgets/" />), then a generated ast file with .ast extension has a left one char trimmed annotation with key "relative-name".
For example, for ./src/widgets/radioSets.p a generated file radioSets.p.ast has a trimmed annotation <annotation datatype="java.lang.String" key="relative-name" value="adioSet.p"/>

Also available in: Atom PDF