PCT for dummies - Forum - OpenEdge Development - Progress Community
 Forum

PCT for dummies

This question is not answered

11.7.5

I have start using PCT and Wonder how to do this:

     <PCTCompile  destDir="${env.RCODEDIR}" dlcHome="${env.DLC}" graphicalMode="True" debugPCT="true" progPerc="1" displayFiles="1" assemblies="${env.ASSEMBLIES}">
        
        <PCTConnection dbName="myDB" dbDir="${env.DBDIR}" singleUser="false">
         </PCTConnection>
        
       <fileset dir=".">
         <include name="winsrc/**/*.w" />
         <include name="winsrc/**/*.p" />
         <include name="winsrc/**/*.cls" />
         <include name="enum/**/*.cls" />
         <include name="oo/**/*.cls" />
         <include name="server/**/*.p" />

:

When I compile some of the *.cls, they are put into root Directory instead of the Directory they are placed. I know this has to do With the way they are named, but I am not able to fix all classes. Is there a way I can tell to Place the code into correct Directory?

All Replies
  • If you have a class named company.package.util.MyClass located in winsrc/company/package/util/MyClass.cls, then you'll have to use <fileset dir="winsrc" includes="**/*.cls" />

    You can use as many filesets as you want in pctCompile.

  • If you have a class named company.package.util.MyClass located in winsrc/company/package/util/MyClass.cls, then you'll have to use <fileset dir="winsrc" includes="**/*.cls" />

    You can use as many filesets as you want in pctCompile.