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 198492 - Cannot build IDE if NB 7.0 is open
Summary: Cannot build IDE if NB 7.0 is open
Status: RESOLVED DUPLICATE of bug 197927
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 7.0
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 19:39 UTC by Vince Kraemer
Modified: 2011-06-02 12:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the exception that I get from ant (10.44 KB, text/plain)
2011-05-10 19:39 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Kraemer 2011-05-10 19:39:49 UTC
Created attachment 108218 [details]
the exception that I get from ant

Product Version: NetBeans IDE 7.0 (Build 201104080000)
Java: 1.6.0_25; Java HotSpot(TM) Client VM 20.0-b11
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
Userdir: S:\Users\vbk\.netbeans\7.0

I have the IDE open.  I have no projects open.  I have the favorites window open and have 'exposed' source directory in that window... (expanded the tree into o.mozilla.rhino.patched and selected the node/directory patched sources)

I did an 'ant clean' before I started the IDE.

I started the IDE.

I ran ant in the root of the repo and ended up with an exception.

If I do 'the same thing' with NB 6.9.1 open... the build completes successfully.
Comment 1 pgebauer 2011-05-24 15:53:07 UTC
> I ran ant in the root of the repo and ended up with an exception.
 Which ant target did you run?
Comment 2 Vince Kraemer 2011-05-24 16:14:55 UTC
(In reply to comment #1)
> > I ran ant in the root of the repo and ended up with an exception.
>  Which ant target did you run?

The default target.  I tried ant 1.8.1 and 1.8.2.

Note: I am running ant from a DOS command window/shell, not from inside the IDE.
Comment 3 pgebauer 2011-05-26 10:53:18 UTC
> Note: I am running ant from a DOS command window/shell, not from inside the
> IDE.

I'm sorry but I'm confused. You wrote about IDE in the description, now, you write about running ant from a DOS command window/shell.

Could you please provide steps to reproduce? Thank you.
Comment 4 Vince Kraemer 2011-05-26 15:19:44 UTC
steps to reproduce...

open a command shell window
cd to the top of a buildable repo (web-main in my case)
hg pull -u
ant clean

start NB 7.0 FCS with a clean userdir by double-clicking the desktop icon
Open the Favorites window
drill down into the repo that you are about to build...
  I went to web-main\o.mozilla.rhino.patched\patched_source

Go back to the command shell window
ant

The build fails with an exception...

close the ide

ant clean
ant

the build is successful.

So... having NB 7.0 open interfers with the ability to create a dev build.

Note: If I open NB 6.9.1 and do 'the same thing', the build is successful the first time I call ant.

I hope that clarifies the situation.
Comment 5 Jesse Glick 2011-06-02 12:14:54 UTC
Sounds like bug #197927 and its duplicates.

*** This bug has been marked as a duplicate of bug 197927 ***