Skip to content

Instantly share code, notes, and snippets.

@cverbiest
Last active August 2, 2019 07:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cverbiest/adb0934d2b66c34ee497a21b2e2a7d3f to your computer and use it in GitHub Desktop.
Save cverbiest/adb0934d2b66c34ee497a21b2e2a7d3f to your computer and use it in GitHub Desktop.
build.xml to fix pdsoe
<?xml version="1.0"?>
<project name="Fix_PDSOE" default="build_launcher">
<taskdef resource="PCT.properties" />
<property environment="env"/>
<property name="DLC" value="${env.DLC}" />
<target name="build_launcher">
<mkdir dir="build" />
<mkdir dir="debugListing" />
<PCTCompile graphicalMode="true" destDir="plugins" dlcHome="${DLC}">
<fileset dir="plugins" includes="**/_debuglauncher.p" />
</PCTCompile>
</target>
</project>

Purpose

Fix Defect PSC00362399

ABL launch configurations with -rr, run-time only, fail to execute because _debuglauncher.p is not compiled, Defect PSC00362399. see https://knowledgebase.progress.com/articles/Article/Using-rr-with-Developer-Studio-Run-Configuration-raises-error-471-473-and-492 This build script will compile _debuglauncher.p. after that you can execute ABL launch configurations with -rr.

prerequistes

  • ant with PCT
  • PDSOE

How to

  • copy build.xml into the PDSOE directory
  • start proenv
  • cd into the PDSOE directory
  • ant

Example

eclipse located in c:\Progress\eclipse473oedtstudio1175

c:\Progress\eclipse473oedtstudio1175>ant
Buildfile: c:\Progress\eclipse473oedtstudio1175\build.xml

build_launcher:
    [mkdir] Created dir: c:\Progress\eclipse473oedtstudio1175\build
    [mkdir] Created dir: c:\Progress\eclipse473oedtstudio1175\debugListing
[PCTCompile] PCTCompile - Progress Code Compiler
[PCTCompile] 1 file(s) compiled

BUILD SUCCESSFUL
Total time: 1 second
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment