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 40971 - Use build/javadoc/ subdir of modules rather than javadoc/
Summary: Use build/javadoc/ subdir of modules rather than javadoc/
Status: CLOSED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on: 58591
Blocks: 42680
  Show dependency tree
 
Reported: 2004-03-12 17:26 UTC by Jesse Glick
Modified: 2006-03-24 10:22 UTC (History)
3 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-03-12 17:26:40 UTC
So that all build products are kept together.

Changes in:

- nbbuild/build.xml
- nbbuild/javadoctools/template.xml
- nbbuild/templates/projectized.xml
- random module build scripts not using javadoctools
- apisupport/apidocs/build.xml
- anything else?
Comment 1 Jiri Skrivanek 2004-08-13 08:34:33 UTC
For standard j2se project javadoc is generated to dist/javadoc. It
should be somehow unified. Either build/javadoc or dist/javadoc for
all project types.
Comment 2 Jaroslav Tulach 2004-08-13 10:59:15 UTC
Imho the actual dist dir is under nbbuild. The directories in the
modules are just by products to the global javadoc. 

Right now everything ends up in nbbuild/modules_javadoc, but I suggest
to change this to nbbuild/build/javadoc or nbbuild/dist/javadoc if you
want. Only necessary thing is to let Ruda know, as he is uploading
this directory to website.

Btw. it might be reasonable to build the javadoc directly to
nbbuild/build/javadoc to prevent copying. But this is not at all high
priority.
Comment 3 Jesse Glick 2004-08-13 19:52:46 UTC
Changing dest in nbbuild might be useful, though I have no opinion
about it; someone else can do it. This is just about having one build
dir $module/build/ rather than both $module/build/ and
$module/javadoc/ which is silly. Should have no effect on publishing.

To Jirka - there is no need to "unify" anything in particular between
j2seproject and apisupport/project. Entirely separate questions for
the two project types.
Comment 4 Jesse Glick 2005-04-27 16:20:57 UTC
Looks like Yarda is already doing this, right?

I think it would be great to build all Javadoc into nbbuild/build/javadoc/ by
default, which seems to be happening in the trunk now. (Not sure if
projectized.xml has been updated accordingly.) If so, we should remove "javadoc"
from all */{,*/,*/*/}.cvsignore as it will no longer be needed.
Comment 5 Jaroslav Tulach 2005-04-28 15:39:59 UTC
Everything is done, except the removal from .cvsignore. 
Comment 6 Jesse Glick 2005-04-28 16:15:27 UTC
Please double-check in projectized.xml (or now common.xml I think) that e.g.
javadoc-nb is using the right path, etc.
Comment 7 Jaroslav Tulach 2005-04-28 16:45:51 UTC
"javadoc-nb opens javadoc from the new location"  
 
/cvs/nbbuild/templates/projectized.xml,v  <--  projectized.xml 
new revision: 1.48; previous revision: 1.47 
 
Comment 8 Jaroslav Tulach 2005-05-10 06:18:32 UTC
issue 58591 is fixed, closing this one as well. 
Comment 9 Jesse Glick 2005-05-10 17:18:29 UTC
Yep, thanks.