Hello all,
I sent the message below about three weeks ago and I am wondering if
anyone had a chance to look into it. The EnglishSD.bin file is a model
file that was part of the UIMA examples. I am calling it from a
descriptor that my application is using using. However, I can't deploy
the application unless I hard-code the path to point to an absolute
path. This is an annoying problem that has been hunting me for over a
year now. I would appreciate any help that ride me of it.
Thanks!
Ahmed


---------- Forwarded message ----------
From: Ahmed Abdeen Hamed <[email protected]>
Date: Mon, Aug 17, 2009 at 5:21 PM
Subject: Error specifying a relative path while using PEAR installer
To: [email protected]


Hello,
I am receiving an error while specifying a relative path in
configurationParameterSettings as follows:
        <configurationParameterSettings>
            <nameValuePair>
                <name>ModelFile</name>
                <value>
                    <string>../../../models/EnglishSD.bin</string>
                </value>
            </nameValuePair>
        </configurationParameterSettings>

The error happens because the string value is read verbatim as the
PEAR installer fails to replace it by absolute path. Is there a way to
use a different tag such as <fileUrl> where you still can specify a
relative path?

I would appreciate any assistance.
Best wishes,
Ahmed

Reply via email to