Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cobol-dev] Questions concerning project in general and generated Ant Scripts

Title: Questions concerning project in general and generated Ant Scripts

Hi

I'm working for a company, which plans to build up a new Cobol development environment based on the Eclipse Workbench.
During this project, I came around the Eclipse Cobol project, at which I had a closer look, and therefore,
some questions came up.

1. Organization, Roadmap
As far as I have seen, there is no clear project organisation or a a kind of roadmap, which defines what is planned in the future. So far I've seen, this project was started by the company Fujits, but there are no regularly contributions to the project or plans, how to go on with this project in the future.

2. Generated Ant scripts
I had a look at the code, and recognized, that the compiler is started by Ant-Scripts. This Ant-Scripts are genereated.
What I don't understand:
- For every File, new targets are created in the build.xml
   E.g.
  <target name="cobol_buildtool-compile_abrkakadabra.OBJ" description="Compiling the source file abrkakadabra.cob ..."                      depends="cobol_buildtool-init,init,cobol_buildtool-check_abrkakadabra.OBJ"

            if="cobol_buildtool- abrkakadabra.OBJ_uptodate" >
      <exec dir="." executable="${cobol_buildtool-CobolCompiler}"  failonerror="${foe}" >
          <arg line=" ${cobol_buildtool-CompilerOptions} ${cobol_buildtool-CompilerOtherOptions} 
                           -NM &quot;abrkakadabra.cob&quot;" />
      </exec>
  </target>
  
    When are those file specific targets used? I've seen, that when the compile for a single file is started over its context menu, the

    generic compile target is started ("cobol_buildtool-FileCompile"). So, when is the filespecific compile target used?

   
-  Why is not the whole Ant-Srcipts based on generic targets? So they could be easily customized and adapted to users need.

    E.g. in order to add a specific precompile task directly in the ant-script itself.
   
TIA
Hansjoerg

   





Back to the top