This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 178423 - Build script bails with "Cycle Detected" when executing multiple targets
Summary: Build script bails with "Cycle Detected" when executing multiple targets
Status: RESOLVED DUPLICATE of bug 174799
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milan Kubec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-10 06:14 UTC by jesterfred
Modified: 2009-12-10 06:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jesterfred 2009-12-10 06:14:39 UTC
Create an ant based project then try this from the command line:

ant compile test

It will fail with

.../build-impl.xml:381: Cycle detected: ProjectName was already built

You can, however, run the targets in separate invocations thusly:

ant compile
ant test

I use Hudson to maintain all my projects.  This change in behavior broke my Hudson configurations and requires that I invoke each ant target in a separate invocation.  This slows things down dramatically.
Comment 1 Jesse Glick 2009-12-10 06:31:07 UTC

*** This bug has been marked as a duplicate of bug 174799 ***