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 14755 - update_tracking.xml file not found exception while building NBM
Summary: update_tracking.xml file not found exception while building NBM
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: nbbuild-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-24 00:53 UTC by Michael Ottati
Modified: 2001-08-24 12:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Java file which causes the problem (4.74 KB, text/plain)
2001-08-24 01:25 UTC, Michael Ottati
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Ottati 2001-08-24 00:53:19 UTC
When executing the build scripts from an arbitrary directory (not nbbuild and 
not from the module directory) there is a file not found exception when looking 
for the update_tracking.xml file.

This has worked in the past. It seems to have been recently introduced. This 
trace was taken from a 3.3 dev build with a CVS update performed at Thu Aug 23 
22:20:15  2001 UTC.


$ ant -f classfile/build.xml
Buildfile: classfile\build.xml

compile:

jars:

netbeans:
  [genlist] Generating information about the NBMs
java.io.FileNotFoundException: ..\openide\netbeans\update_tracking.xml (The 
system cannot find the path specified)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
        at org.netbeans.nbbuild.UpdateTracking.write(UpdateTracking.java:277)
        at org.netbeans.nbbuild.MakeListOfNBM.execute(MakeListOfNBM.java:114)
        at org.apache.tools.ant.Target.execute(Target.java:153)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
        at org.apache.tools.ant.Project.executeTargets(Project.java:510)
        at org.apache.tools.ant.Main.runBuild(Main.java:421)
        at org.apache.tools.ant.Main.main(Main.java:149)

BUILD SUCCESSFUL

Total time: 1 second

ottati@PLACERVILLE /src/nb_all
$

ottati@PLACERVILLE /src/nb_all
$ cd classfile/

ottati@PLACERVILLE /src/nb_all/classfile
$ ant
Buildfile: build.xml

compile:

jars:

netbeans:
  [genlist] Generating information about the NBMs

BUILD SUCCESSFUL

Total time: 1 second
Comment 1 Michael Ottati 2001-08-24 01:25:08 UTC
Created attachment 2292 [details]
Java file which causes the problem
Comment 2 Michael Ottati 2001-08-24 01:28:04 UTC
Ignore attachment, I attached this to the wrong bug. 
Comment 3 Michal Zlamal 2001-08-24 11:53:07 UTC
I'll look for a fix
Comment 4 Michal Zlamal 2001-08-24 12:16:18 UTC
Fixed by simple patch.