ANT Script - PCTBinaryLoad

Posted by AutoMate on 22-May-2015 05:43

Does anybody sample code using PCTBinaryLoad?

I've tried the following:

<PCTBinaryLoad dlcHome="${DlcHome}">
        <fileset dir="${DevelopmentRetailDBData}" includes="**/*.bd"/>
        <PCTConnection dbName="retaildb"
                                        singleUser="true"
                                        logicalName="DevRet"
                                        dbDir="${DevelopmentRetailDB}"/>
</PCTBinaryLoad>

The build file fails with the following message:

[PCTBinaryLoad] Result: 255
[PCTBinaryLoad] proutil: _dbutil was not found.

Any Advice?

All Replies

Posted by Riverside Software on 22-May-2015 07:01

Are you sure the DlcHome variable is correctly set ?

Could you execute :

<PCTVersion />

<ProgressVersion dlcHome="${DLC}" fullVersion="dlc.version.full" />

<echo message="${dlc.version.full}" />

to verify the PCT version and Progress version ?

Posted by ChUIMonster on 22-May-2015 07:44


That proutil message often means that $DLC/bin is not in your PATH

PATH=$PATH:$DLC:$DLC/bin

[collapse]On 5/22/15 6:43 AM, AutoMate wrote:
Thread created by AutoMate

Does anybody sample code using PCTBinaryLoad?

I've tried the following:

<PCTBinaryLoad dlcHome="${DlcHome}">
        <fileset dir="${DevelopmentRetailDBData}" includes="**/*.bd"/>
        <PCTConnection dbName="retaildb"
                                        singleUser="true"
                                        logicalName="DevRet"
                                        dbDir="${DevelopmentRetailDB}"/>
</PCTBinaryLoad>

The build file fails with the following message:

[PCTBinaryLoad] Result: 255
[PCTBinaryLoad] proutil: _dbutil was not found.

Any Advice?



[/collapse]

Posted by cverbiest on 22-May-2015 08:16

You can add an info target to your build. You can then execute the info target (ant info) this will list all properties. You should verify that your dlcHome property (case sensitive) is valid

<target name="info" description="Show info">
    <echoproperties/>
</target>

This thread is closed