Hi all,
I am just quite a newbie to Progress. I am packaging Progress Project using PCT and ANT build and I am coming up against with the ****ing following problem under Linux box 2.x, PCT 0.8 and ANT 1.6.5
============================================
Buildfile: build.xml
init:
initialise:
[delete] Deleting directory /home/thanhhm/build
[delete] Deleting directory /home/thanhhm/package
[mkdir] Created dir: /home/thanhhm/build
[mkdir] Created dir: /home/thanhhm/package
mycompile:
[PCTCompile] PCTCompile - Progress Code Compiler
[PCTCompile] ** "pct/pctCompile.p" was not found. (293)
============================================
For more detail on how I have placed code and build, please see the followings
/home/thanhhm/src/helloworld.p: is where I've placed my helloworld.p
/home/thanhhm/src/antscripts/build/build.xml: is where I've placed my build.xml
Under Linux box I've done the followings
cd /home/thanhhm/src/antscripts/build
ant -f build.xml
The following is my build.xml's content
<?xml version="1.0" encoding="utf-8"?>
<project name="icabs" default="init" basedir="../../..">
<property environment="env" />
<taskdef resource="PCT.properties" classpath="${PCT_HOME}/lib/PCT.jar"/>
<target name="init" description="Builds source files">
<antcall target="initialise" />
<antcall target="mycompile" />
</target>
<target name="mycompile" description="My PCTCompile">
<PCTCompile graphicalMode="false" destDir="build" dlcHome="${env.DLC}" stackSize="80" inputChars="32000" compileUnderscore="true" token="5000" forceCompile="true" cpInternal="${env.CODEPAGE}" cpStream="${env.CODEPAGE}">
<fileset dir="src">
<include name="**/*.p"/>
</fileset>
<propath>
<pathelement path="src" />
</propath>
</PCTCompile>
<PCTConnection dbName="myDB" singleUser="false" dbPort="${env.myDB_PORT}" HostName="${env.HOST_NAME}" LogicalName="core" />
</target>
.....
Note that: I've executed "PCTRun" successfully meaning you are not worried about the connection to my progress Database.
I've wanted to compile my helloworld.p, no pctCompile.p is in my code and I've searched for pctCompile.p on the internet as I think I may lack the file from my pct build box but no relevant data found unfortunately.
When I play with PCTCompile task, this ****ing stupid error keeps happening.
I don't really know why.
Please please help me get it sorted out.
Many thanks
Thanh
I am just quite a newbie to Progress. I am packaging Progress Project using PCT and ANT build and I am coming up against with the ****ing following problem under Linux box 2.x, PCT 0.8 and ANT 1.6.5
============================================
Buildfile: build.xml
init:
initialise:
[delete] Deleting directory /home/thanhhm/build
[delete] Deleting directory /home/thanhhm/package
[mkdir] Created dir: /home/thanhhm/build
[mkdir] Created dir: /home/thanhhm/package
mycompile:
[PCTCompile] PCTCompile - Progress Code Compiler
[PCTCompile] ** "pct/pctCompile.p" was not found. (293)
============================================
For more detail on how I have placed code and build, please see the followings
/home/thanhhm/src/helloworld.p: is where I've placed my helloworld.p
/home/thanhhm/src/antscripts/build/build.xml: is where I've placed my build.xml
Under Linux box I've done the followings
cd /home/thanhhm/src/antscripts/build
ant -f build.xml
The following is my build.xml's content
<?xml version="1.0" encoding="utf-8"?>
<project name="icabs" default="init" basedir="../../..">
<property environment="env" />
<taskdef resource="PCT.properties" classpath="${PCT_HOME}/lib/PCT.jar"/>
<target name="init" description="Builds source files">
<antcall target="initialise" />
<antcall target="mycompile" />
</target>
<target name="mycompile" description="My PCTCompile">
<PCTCompile graphicalMode="false" destDir="build" dlcHome="${env.DLC}" stackSize="80" inputChars="32000" compileUnderscore="true" token="5000" forceCompile="true" cpInternal="${env.CODEPAGE}" cpStream="${env.CODEPAGE}">
<fileset dir="src">
<include name="**/*.p"/>
</fileset>
<propath>
<pathelement path="src" />
</propath>
</PCTCompile>
<PCTConnection dbName="myDB" singleUser="false" dbPort="${env.myDB_PORT}" HostName="${env.HOST_NAME}" LogicalName="core" />
</target>
.....
Note that: I've executed "PCTRun" successfully meaning you are not worried about the connection to my progress Database.
I've wanted to compile my helloworld.p, no pctCompile.p is in my code and I've searched for pctCompile.p on the internet as I think I may lack the file from my pct build box but no relevant data found unfortunately.
When I play with PCTCompile task, this ****ing stupid error keeps happening.
I don't really know why.
Please please help me get it sorted out.
Many thanks
Thanh