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 11175 - Jumbo patch - compilability with extra binaries
Summary: Jumbo patch - compilability with extra binaries
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Michal Zlamal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-07 18:14 UTC by Jesse Glick
Modified: 2001-06-04 16:23 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Suggested patch to various build scripts (24.23 KB, patch)
2001-04-07 18:15 UTC, Jesse Glick
Details | Diff
Desired additional patches for trunk version (1.40 KB, patch)
2001-04-20 12:42 UTC, Jesse Glick
Details | Diff
Patch to correct further errors in apisupport/build.xml (already committed to trunk) (1.18 KB, patch)
2001-04-22 09:49 UTC, Jesse Glick
Details | Diff
Further patch to correct more errors (not applied in trunk yet) (2.00 KB, patch)
2001-04-22 09:52 UTC, Jesse Glick
Details | Diff
Proposed patch for release32 RC4 (6.41 KB, patch)
2001-04-25 16:49 UTC, Michal Zlamal
Details | Diff
Alternate patch, similar to above one (19.71 KB, patch)
2001-04-25 18:03 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2001-04-07 18:14:35 UTC
Using Apr 6 release32 sources, I noticed many problems with classpaths when
running from inside the IDE, and using a separated binroot. It seems that a
number of modules assume that ant.jar, tools.jar, and DOM and SAX and JAXP APIs
will be in their classpath without having to ask for it.

Note that the patch to nbbuild/build.xml is not appropriate for the trunk: in
the trunk, it should rather use pathelement="${binroot}/nbbuild/lib/ant.jar" to
compile against Ant.

Also avoiding cleaning test directories for ant & apisupport during general
clean, in practice this is undesirable (and they do not affect a complete build
anyway).

Also for ant/build.xml, assuming that Ant 1.3 is running the build--this is now
a safe assumption, correct?

Also splitting apart test targets for apisupport, no effect on regular build.
Comment 1 Jesse Glick 2001-04-07 18:15:34 UTC
Created attachment 1039 [details]
Suggested patch to various build scripts
Comment 2 Jesse Glick 2001-04-20 12:41:34 UTC
This seems to have been applied in the trunk.

Michal, do you use the patch command? It looks like you applied the patch by
hand, because there are some typos and omissions in it. Much safer to apply
patches using patch(1) or Emacs' Ediff or something like this.

I am checking in an emergency patch to apisupport/build.xml because after the
last commit it is not even valid XML.

Will attach desired extra patches for ant/build.xml and nbbuild/build.xml. For
Ant, the patch needs to be slightly different for the trunk version. For
nbbuild, my comment below was ignored, so attaching patch for that.
Comment 3 Jesse Glick 2001-04-20 12:42:14 UTC
Created attachment 1179 [details]
Desired additional patches for trunk version
Comment 4 Jesse Glick 2001-04-22 09:49:17 UTC
Created attachment 1199 [details]
Patch to correct further errors in apisupport/build.xml (already committed to trunk)
Comment 5 Jesse Glick 2001-04-22 09:53:00 UTC
Created attachment 1200 [details]
Further patch to correct more errors (not applied in trunk yet)
Comment 6 Michal Zlamal 2001-04-24 12:49:28 UTC
Patched attachment id=1200 commited to trunk
Comment 7 Michal Zlamal 2001-04-25 16:49:39 UTC
Created attachment 1250 [details]
Proposed patch for release32 RC4
Comment 8 Jesse Glick 2001-04-25 18:03:02 UTC
Not all of this patch is correct, I think. I will attach an unapplied patch
against 3.2 I have been working with; this may not be perfect either, but shows
that there are some diffs missing at least in apisupport and autoupdate scripts,
perhaps in others too. The test of course is to run with
-Dbuild.sysclasspath=ignore and make sure everything works.
Comment 9 Jesse Glick 2001-04-25 18:03:40 UTC
Created attachment 1252 [details]
Alternate patch, similar to above one
Comment 10 Jan Chalupa 2001-05-06 14:14:39 UTC
Target milestone -> 3.3
Comment 11 Milan Kubec 2001-06-04 16:23:59 UTC
Fixed in trunk.
ant extensions are compiled against nbbuild/lib/ant.jat from extra binaries,
autoupdate compilation classpath fixed too (added xerces.jar)