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 9962 - Main build script delegation targets
Summary: Main build script delegation targets
Status: RESOLVED WONTFIX
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: nbbuild-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-05 09:45 UTC by _ pkuzel
Modified: 2002-07-19 17:16 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2001-03-05 09:45:49 UTC
It would be useful if the main script defines some delegation targets like
"clean". I am looking forward "compile" target.
Comment 1 Jesse Glick 2001-03-05 15:04:35 UTC
Could you be more explicit about what you need? You can already run "firststart"
(or only "firststart-merge") to run the netbeans targets in all modules, and
"clean" to run the clean targets in all modules.
Comment 2 _ pkuzel 2001-03-05 16:00:13 UTC
I dislikes that default target does the first start. It in many cases kills
other JVMs or even X server. 

I would like to use following development cycle:
while(!coded()) {
  code_somehing()
  [ant clean]
  ant compile
}
ant clean
ant 
...
cvs commit  
Comment 3 rbalada 2001-03-05 16:10:53 UTC
I guess you would change your development cycle only on one line:

<!-- -->
while(!coded()) {
  code_somehing()
  [ant clean]
  ant firststart-merge
}
ant clean
ant 
...
cvs commit
<!-- -->

Target firststart-merge compiles all sources and merges compiled code to 
directory tree under nbbuild/netbeans.

Is that what you wanted?
Comment 4 rbalada 2001-03-05 16:13:21 UTC
I forgot to write, that first start is not run.

BTW: I'm curious about cases when firststart causes kill of JVMs or X server. 
Would you be more descriptive about that?
Comment 5 _ pkuzel 2001-03-05 16:41:48 UTC
Your suggestion is a step forward however I looking for primitive task: compile.
I do not want any compile plus something.

Regarding problems caused by first start at X server:
I seems that it is related to Netscape. It never occures if Netscape is not just
being used during the first start wants to hide its windows.
Comment 6 rbalada 2001-03-05 17:10:22 UTC
I guess that current version of NbMerge.java doesn't support it.
Talk to Jesse about your request on nbmerge ant task in firststart-merge target 
in nbbuild/build.xml.
I guess that nbmerge task does all the work (compilation and merging release 
directories together).
Comment 7 Jesse Glick 2001-03-06 15:32:45 UTC
Don't you want to simply compile one module? In that case just e.g.:

ant -f ...../core/build.xml compile

I don't see any real need to split apart firststart-merge even more; if you want
to check compilability of fresh code, do it per-module; if you want to check
whether build scripts work, use firststart-merge or per-module 'netbeans'
target; if you want to see if the IDE works, then firststart (or trybuild or
whatever).

I run firststart on Linux all the time and Netscape is unaffected, not sure what
is wrong with your installation, but anyway...
Comment 8 Jan Chalupa 2001-05-06 14:14:28 UTC
Target milestone -> 3.3
Comment 9 rbalada 2002-02-20 17:07:30 UTC
Petr,

do you still need this or can I resolve WONTFIX?
Comment 10 _ pkuzel 2002-02-21 09:32:31 UTC
I still miss this functionality in main build script. 

Lowering priority in flavor of other build enhancements such as cross
version building.
Comment 11 rbalada 2002-02-21 12:36:50 UTC
Resolving REMIND
Comment 12 Marek Grummich 2002-07-19 17:16:07 UTC
Target milestone was changed from not determined to TBD