Expand Locale variables like ${trgLoc} in resourceParameters.dbDirectory of the PensieveTMConnector

Issue #429 resolved
Former user created an issue

Original issue 429 created by Uli.Laege... on 2014-12-18T10:01:05.000Z:

What steps will reproduce the problem?
Just enter the following text as name of tmx file in the settings of the leveraging step. In my case i use the PensieveTMConnector.

${rootDir}\${trgLang}.tmx

The line in the pipeline file looks like
resourceParameters.dbDirectory=${rootDir}\${trgLang}.tmx

What is the expected output? What do you see instead?
The ${trgLang} variable should be replaced by the real target locale

What version of the product are you using? On what operating system?


Okapi Tikal - Localization Toolset
Version: 2.0.26


Java version: 1.7.0_71
Platform: Windows 7, amd64, 6.1
Java VM memory: free=184.295 KB, total=187.904 KB
Tikal display encoding: cp850


Please provide any additional information below.

Comments (9)

  1. Former user Account Deleted

    Comment 1. originally posted by @ysavourel on 2014-12-18T12:24:11.000Z:

    The issue is that the dbDirectory of the PensieveTMConnector is processed for rootDir but not for locales variables.
    The documentation doesn't state any variable can be used.
    The fix is to add the code in the connector and update the documentation.

  2. Former user Account Deleted

    Comment 3. originally posted by Uli.Laege... on 2014-12-18T15:00:22.000Z:

    Hi Yves,

    the variable is replaced now but the value is blank.
    Note that i call this step in a pipeline which i invoke from the command line.
    I set the -sl de -tl en parameters on the command line

  3. Former user Account Deleted

    Comment 4. originally posted by @ysavourel on 2014-12-18T15:10:07.000Z:

    Thanks for the quick feedback.
    I guess i'll have to debug to see what is happening.

  4. Former user Account Deleted

    Comment 6. originally posted by Uli.Laege... on 2014-12-19T08:44:25.000Z:

    The snapshot does not contain any changes.

  5. Former user Account Deleted

    Comment 8. originally posted by Uli.Laege... on 2014-12-19T13:35:45.000Z:

    Perfect, now it works.
    Thanks.

  6. Log in to comment