Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » thread from ant build does not exit
thread from ant build does not exit [message #468349] Wed, 05 August 2009 08:17
Michael Fliegner is currently offline Michael FliegnerFriend
Messages: 2
Registered: July 2009
Junior Member
Hello there!

When have an ant-skript that intermittently lets a java thread alive,
which is annoying, as the thread holds a file lock on a newly built class
file. Subsequent clean builds fail with "could not delete ..." until I
kill the thread using the debug perspective.

This happens both with script execution in the workspace jvm and an in
external one.

In bugzilla I have only found bug 43618 regarding child jvms not exiting
which is resolved.

What the script is doing is:

<target name="enhance" description="Aufruf des openjpa-Enhancers">
<java classname="org.apache.openjpa.enhance.PCEnhancer">
<arg line="-directory bin" />
<pathelement path="${bin}" />
<fileset dir="${openjpa}">
<include name="**/*.jar" />
<jar destfile="${bin}/VTMPersistence.jar">
<fileset dir="${bin}" includes="**/*.class" />
<fileset dir="${source}" includes="**/*" />

Eclipse build 20090621-0832
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)

Should this become a bug report?
Previous Topic:Checkstyle "hides a field" strategy.
Next Topic:Compare Project Roadmap
Goto Forum:

Current Time: Sat Apr 21 19:39:09 GMT 2018

Powered by FUDForum. Page generated in 0.01714 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software