Apache OpenOffice (AOO) Bugzilla – Issue 27893
LIB: rtl_Bootstrap::expandMacrosFrom
Last modified: 2013-02-24 21:09:02 UTC
Bootstrap with 2 ini files, the executable named ini file contain a value: SOFROMVALUE=${rtlrc::SOVALUE} the nearby rtlrc contains: RTLVALUE=qadev17 If I do a getFrom() of 'SOFROMVALUE' I get '${rtlrc::SOVALUE}' this is given as an argument to expandMacrosFrom() but the expected result is not 'qadev17'
Change Targetmilestone
accepted.
works for me: when correcting your example (setting rtllc's SOVALUE=qadev17), I get "qadev17".
back to you, Lars.
Ok, the old description was not really good, here the new one. Bootstrap with 2 ini files, the executable named ini file contain a value: SOFROMVALUE=${rtlrc::SOVALUE} The second ini file (name rtl.ini) contain SOVALUE=src680_qadev Now, if getFrom("SOFROMVALUE") is called, the result is empty, but expected was 'src680_qadev' A second test show us(rtl_Bootstrap::expandMacrosFrom_002_2), that if SOVALUE exist in the test executable named ini file that SOVALUE is taken from there. Not from 'rtlrc' which is wrong.
At the moment the test (sal/qa/rtl/bootstrap/*) exist only in CWS qadev18 it is possible just to copy the directory in an other CWS/sal directory and start it from there.
SW->LLA: expandMacrosFrom_002 tries to expand a macro that contains a file-url, this doesn't work with the current implementation and expandMacrosFrom_002_2 uses a 'relative'-reference ... unfortunately this points to the current working directory which is 'sal/qa/rtl/bootstrap', but the rtl(.ini|rc) is where the testshl2 executable can be found. I adjusted the first in qadev18, the second is yours ;-)
ok, I mask the test expandMacrosFrom_002_2() and check in the last changes Test runs through.
Done