Skip to main content


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" />
<classpath>
<pathelement path="${bin}" />
<fileset dir="${openjpa}">
<include name="**/*.jar" />
</fileset>
</classpath>
</java>
<jar destfile="${bin}/VTMPersistence.jar">
<fileset dir="${bin}" includes="**/*.class" />
<fileset dir="${source}" includes="**/*" />
</jar>
</target>

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

Should this become a bug report?
Previous Topic:Re: Confirm view closing.
Next Topic:Compare Project Roadmap
Goto Forum:
  


Current Time: Fri Mar 29 07:02:50 GMT 2024

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

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

Back to the top