bndtools/bndtools — Issue #235: Builder still builds "forever" when buildpath errors exists
Author: psoreide
Created: 2011-10-26 08:15:39+00:00
State: open

While upgrading the old cnf to the new in my testworkspace the buildpath is temporarily very, very wrong. Still building after 30 mins.

"Worker-66" prio=5 tid=120e78000 nid=0x102f13000 runnable [102f11000]
java.lang.Thread.State: RUNNABLE
at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
at java.io.File.isDirectory(File.java:754)
at aQute.lib.deployer.FileRepo.versions(FileRepo.java:233)
at aQute.bnd.build.Project.getBundle(Project.java:964)
at aQute.bnd.build.Project.getBundles(Project.java:432)
at aQute.bnd.build.Project.parseBuildpath(Project.java:344)
at aQute.bnd.build.Project.prepare(Project.java:252)
- locked <7e04fd948> (a aQute.bnd.build.Project)
at aQute.bnd.build.Project.getSourcePath(Project.java:721)
at aQute.bnd.build.Project.prepare(Project.java:275)
- locked <7ddeabcf8> (a aQute.bnd.build.Project)
at aQute.bnd.build.Project.getSourcePath(Project.java:721)
at aQute.bnd.build.Project.prepare(Project.java:275)
- locked <7de021ab8> (a aQute.bnd.build.Project)
at aQute.bnd.build.Project.getSourcePath(Project.java:721)
at aQute.bnd.build.Project.prepare(Project.java:275)
- locked <7dd2d91f8> (a aQute.bnd.build.Project)
at aQute.bnd.build.Project.getTarget(Project.java:1217)
at aQute.bnd.build.Project.getOutputFile(Project.java:1393)
at aQute.bnd.build.Project.getDeliverable(Project.java:1779)
at aQute.bnd.build.Project.getBundleFromProject(Project.java:1061)
at aQute.bnd.build.Project.getBundle(Project.java:932)
at aQute.bnd.build.Project.getBundles(Project.java:403)
at aQute.bnd.build.Project.parseBuildpath(Project.java:344)
at aQute.bnd.build.Project.prepare(Project.java:252)
- locked <7de021ed8> (a aQute.bnd.build.Project)
at aQute.bnd.build.Project.getDependson(Project.java:667)
at aQute.bnd.build.Project.traverse(Project.java:298)
at aQute.bnd.build.Project.prepare(Project.java:272)
- locked <7dd608d10> (a aQute.bnd.build.Project)
at aQute.bnd.build.Project.getDependson(Project.java:667)
at aQute.bnd.build.Project.traverse(Project.java:298)
at aQute.bnd.build.Project.prepare(Project.java:272)
- locked <7de021a08> (a aQute.bnd.build.Project)
at aQute.bnd.build.Project.getDependson(Project.java:667)
at aQute.bnd.build.Project.traverse(Project.java:298)
at aQute.bnd.build.Project.prepare(Project.java:272)
- locked <7dd24ef40> (a aQute.bnd.build.Project)
at aQute.bnd.build.Project.getTarget(Project.java:1217)
at aQute.bnd.build.Project.getOutputFile(Project.java:1393)
at aQute.bnd.build.Project.getDeliverable(Project.java:1779)
at aQute.bnd.build.Project.getBundleFromProject(Project.java:1061)
at aQute.bnd.build.Project.getBundle(Project.java:926)
at aQute.bnd.build.Project.getBundles(Project.java:403)
at aQute.bnd.build.Project.parseRunbundles(Project.java:356)
at aQute.bnd.build.Project.prepare(Project.java:256)
- locked <7dd7b0368> (a aQute.bnd.build.Project)
at aQute.bnd.build.Project.getBuildpath(Project.java:672)
at bndtools.classpath.BndContainerInitializer.calculateProjectClasspath(BndContainerInitializer.java:177)
at bndtools.classpath.BndContainerInitializer.resetClasspaths(BndContainerInitializer.java:114)
at bndtools.classpath.BndContainerInitializer.resetClasspaths(BndContainerInitializer.java:107)
at bndtools.builder.NewBuilder.build(NewBuilder.java:80)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)