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 70876 - Permit relative source/Javadoc associations for platforms using relative binary locations
Summary: Permit relative source/Javadoc associations for platforms using relative bina...
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
Depends on:
Blocks: 89629
  Show dependency tree
 
Reported: 2005-12-31 19:32 UTC by Jesse Glick
Modified: 2009-03-09 15:49 UTC (History)
1 user (show)

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 Jesse Glick 2005-12-31 19:32:42 UTC
If you have specified netbeans.dest.dir using a relative path from suite.dir,
rather than using a named platform, it is currently impossible to specify source
and Javadoc associations for that platform. It should be made possible somehow -
a compatible format extension, plus some support in NbPlatform.java.

(In the special case that the platform is in fact
${cvs.netbeans.org}/nbbuild/netbeans, a fully functional source association is
automatic; and I think Javadoc association works insofar as you have built
Javadoc in place, though that would be unusual.)
Comment 1 tomwheeler 2007-05-23 18:49:34 UTC
I just came across this issue for the first time and would like to say it would
be a HUGE help to me as someone developing platform applications.
Comment 2 Jesse Glick 2008-11-10 22:24:21 UTC
Perhaps a special pair of property names that could be defined as part of the platform.
Comment 3 rmichalsky 2009-03-05 12:49:19 UTC
Seems to become obsolete after issue #152960, which permits to attach sources and javadoc to clusters using relative
path. netbeans.dest.dir should not be set at all in projects using 6.7 harness.
Comment 4 Jesse Glick 2009-03-05 20:35:37 UTC
So perhaps FIXED? I don't see a description in EnhancedConfigurationOfNBRCPProjectsImplementation but I haven't checked
README yet.

According to EnhancedConfigurationOfNBRCPProjectsUISpec there is a GUI to configure it.
Comment 5 rmichalsky 2009-03-09 14:43:57 UTC
It is not in fact fixed, only the situation cannot happen with projects using 6.7 harness, you must either use named
platform (with its own way of attaching src & javadoc) or no platform at all, only cluster.path with set of clusters,
which can have src & javadoc attached and which use relative paths by default.

What was the original use case for not having named platform? Was it to allow RCP developer to checkout sources together
with platform from VCS and use them without adding named platform in Platform Manager? If so, I should make this easier
using cluster.path, currently you have to add clusters from platform one by one if it isn't a named platform.

And README is not updated yet, I'm working on it.
Comment 6 Jesse Glick 2009-03-09 15:49:49 UTC
"to allow RCP developer to checkout sources together with platform from VCS and use them without adding named platform
in Platform Manager" - exactly.

"currently you have to add clusters from platform one by one if it isn't a named platform" - probably not an issue; most
RCP devs are going to be using 1-3 clusters only, and if the setup is kept in VCS then this needs to be done only once
anyway.