Skip to main content

alphaWorks  >  Forums  >  Unstructured Information Management Architecture SDK  >  developerWorks

Using environment varibles in CPE Descriptor    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 1 - Pages: 1 - Last Post: Jan 28, 2009 12:09 PM Last Post By: Le_Coeur Threads: [ Previous | Next ]
Le_Coeur

Posts: 2
Registered: Jan 27, 2009 12:08:22 PM
Using environment varibles in CPE Descriptor
Posted: Jan 27, 2009 12:26:41 PM
Click to report abuse...   Click to reply to this thread Reply
Hi!
I have a following Problem with CPE Descriptor: i have set environment variable PRJ_HOME, as my porject folder,
and I want to use it in my CPE Descriptor. In tag
<include href="${PRJ_HOME}/desc/reader/FileSystemReader.xml"/>
all is ok, but in Parameter InputDirectory it interprets it as String... and throws en exception
---- directory "${PRJ_HOME}/desc/data/input/text" does not exist

Have you some ideas about that?

<collectionIterator>
            <descriptor>
                <include href="${PRJ_HOME}/desc/reader/FileSystemReader.xml"/>
            </descriptor>
            <configurationParameterSettings>
                <nameValuePair>
                    <name>InputDirectory</name>
                    <value>
                        <string>${PRJ_HOME}/desc/data/input/text</string>
                    </value>
                </nameValuePair>
Le_Coeur

Posts: 2
Registered: Jan 27, 2009 12:08:22 PM
Re: Using environment varibles in CPE Descriptor
Posted: Jan 28, 2009 12:09:39 PM   in response to: Le_Coeur in response to: Le_Coeur's post
Click to report abuse...   Click to reply to this thread Reply
I have solved this problem ) via <envVarRef>

Point your RSS reader here for a feed of the latest messages in all forums