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 109483 - Cannot build some modules when using 'ant merge'
Summary: Cannot build some modules when using 'ant merge'
Status: CLOSED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: REGRESSION
Depends on:
Blocks: 105324
  Show dependency tree
 
Reported: 2007-07-12 10:27 UTC by Martin Krauskopf
Modified: 2007-07-13 08:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
failed-verbose.txt (121.62 KB, text/plain)
2007-07-12 10:28 UTC, Martin Krauskopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2007-07-12 10:27:28 UTC
0) cd $NB_CVS
1) ant -f nbbuild/build.xml -Dcluster.config=basic real-clean
2) ant -f nbbuild/build.xml -Dcluster.config=basic
3) ant -f nbbuild/build.xml -Dmoduleconfig=ruby -Dcluster.config=basic merge
4) Run NetBeans, open "$NB_CVS/ruby/debugger" module, try to Build it (F11)

You will got assertion at the end of attached log of 'debug' and build.
Any workaround (without having to build full IDE)?
Might be those steps are wrong but they've worked for me for some time.
Comment 1 Martin Krauskopf 2007-07-12 10:28:06 UTC
Created attachment 44998 [details]
failed-verbose.txt
Comment 2 Martin Krauskopf 2007-07-12 12:15:24 UTC
Might be workarounded by adding ruby cluster to nbbuild/cluster.properties#clusters.config.basic.list
Comment 3 Jesse Glick 2007-07-12 16:14:56 UTC
Why do you have

  -Dmoduleconfig=ruby -Dcluster.config=basic

? These seem to be contradictory. For the most part moduleconfig no longer works and should not be used.
Comment 4 Martin Krauskopf 2007-07-12 16:32:36 UTC
I don't know. I've copy-pasted it from somewhere (http://wiki.netbeans.org/wiki/view/RubyBuildInstructions?) into my
builder script. It worked. I've added '-Dcluster.config=basic' recently to get rid of the need to checkout cnd,
visualweb, mobility, uml, ... All just worked. What is the right way if I want to build just basic clusters and later
merge e.g. ruby cluster?
Comment 5 Jesse Glick 2007-07-12 16:32:51 UTC
Have a patch I am testing.
Comment 6 Jesse Glick 2007-07-12 16:51:52 UTC
I'm not sure but I think you want to always use cluster.config (or clusters.list directly), never moduleconfig. Anyway
the error you mention is from a separate stage so that is not the issue here. I think it is a cache consistency problem.
Comment 7 Martin Krauskopf 2007-07-12 16:56:09 UTC
I've also tried to delete the cache in hope it will be regenerated together with new (Ruby) modules, but it was not and
I was not able to build then any module (not just Ruby ones).
Comment 8 Jesse Glick 2007-07-12 16:58:02 UTC
What do you mean you were not able to build any module after deleting the cache?
Comment 9 Martin Krauskopf 2007-07-12 17:04:46 UTC
Before I deleted the cache I was not able to build modules from merged Ruby cluster. But I still could clean/build
modules like debuggercore. Then I tried to delete the cache (nbbuild/nbproject/private/scan-cache-standard.ser). But
after the deletion I was not able to build even the debuggercore.
Comment 10 Jesse Glick 2007-07-12 17:05:19 UTC
Checking in ModuleListParser.java;
/shared/data/ccvs/repository/nbbuild/antsrc/org/netbeans/nbbuild/ModuleListParser.java,v  <--  ModuleListParser.java
new revision: 1.44; previous revision: 1.43
done
Comment 11 Martin Krauskopf 2007-07-13 08:45:53 UTC
v/c