Riverside-Software / pct

Build automation for OpenEdge ABL
Apache License 2.0
96 stars 62 forks source link

pct:compile - stopping Ant should stop AVM #78

Closed GoogleCodeExporter closed 7 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?

  1. have a build job that will take some time (1 hour in my case)
  2. see errors flowing in to the Ant console (since I'm in the setup phase)
  3. stop the Ant build

What is the expected output? What do you see instead?

The Ant build stops fine, but the _progres.exe that was launched for the pct:compile task keeps running until it has finished.

If the task is connected to databases in single user mode then subsequent builds fail until the task is killed.

Work-around: kill the task

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by `stefan.d...@gmail.com` on 24 Nov 2014 at 8:09
GoogleCodeExporter commented 9 years ago

As PCT relies on Ant exec task, I'll have a look if it's possible to include this kind of behavior.

Original comment by `g.quer...@gmail.com` on 24 Nov 2014 at 8:29
GoogleCodeExporter commented 9 years ago

Maybe the following link can help: http://mail-archives.apache.org/mod_mbox/ant-user/201202.mbox/%3CD81DB5ADDC5C3B4484C581AF3D8EFF9D1A5D91F8@ex2a.awr.local%3E

You have the temp name for PCT params file so the taskkill could be safe. I am new to Ant and have enjoyed everything so far - that something this basic is lacking surprises me.

Original comment by `stefan.d...@gmail.com` on 24 Nov 2014 at 10:34
stefandrissen commented 1 year ago

Since Progress OpenEdge 12.6, PDSOE is a lot better at killing what it started. A stop in the console will now also kill Ant, resolving this issue.

Hopefully this will not be broken when OCTA-51843 is fixed.