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 222679 - Possible IDE build failure
Summary: Possible IDE build failure
Status: VERIFIED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@apisupport
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-23 21:39 UTC by Michel Graciano
Modified: 2012-11-26 10:46 UTC (History)
3 users (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 Michel Graciano 2012-11-23 21:39:04 UTC
[ JDK VERSION : 1.7.9 ]

I was trying to build the IDE by myself, as usual, and I am experiencing an
error below. I have built it for so long years and it looks like we had some
module which was moved from/to contrib to/from main trunk and when I try to
build it, I have the issue as follow.

The command line I use is it: cd projetos/netbeans/main/contrib && hg pull -u
&& cd .. && hg pull -u && ant -Dhg.unknown.files= clean && ant
-Dcluster.config=standard

/home/mgraciano/projetos/netbeans/main/nbbuild/build.xml:173:
java.io.IOException: Duplicated module
org.netbeans.modules.apisupport.tc.cobertura: found in
/home/mgraciano/projetos/netbeans/main/apisupport.tc.cobertura and
/home/mgraciano/projetos/netbeans/main/contrib/apisupport.tc.cobertura
	at
org.netbeans.nbbuild.ModuleListParser.scanPossibleProject(ModuleListParser.java:
520)
	at
org.netbeans.nbbuild.ModuleListParser.scanNetBeansOrgSources(ModuleListParser.ja
va:245)
	at org.netbeans.nbbuild.ModuleListParser.<init>(ModuleListParser.java:801)
	at
org.netbeans.nbbuild.InsertModuleAllTargets.execute(InsertModuleAllTargets.java:
144)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:
41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.Main.runBuild(Main.java:809)
	at org.apache.tools.ant.Main.startAnt(Main.java:217)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Comment 1 Marian Mirilovic 2012-11-25 23:02:27 UTC
Yes, I think org.netbeans.modules.apisupport.tc.cobertura was just recently moved from main repository ...
Comment 2 Ondrej Vrabec 2012-11-26 09:50:07 UTC
moved to contrib: #73e937bad8df. Run 'hg purge' before 'ant build', that will remove all untracked files from the working copy.
Comment 3 Michel Graciano 2012-11-26 10:46:35 UTC
Thanks. I tried it again yesterday with success, so I guess I was just unlucky to get the repository unstable.