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 218726 - Adding JS files to existing project fails
Summary: Adding JS files to existing project fails
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-21 06:33 UTC by Vladimir Riha
Modified: 2012-09-24 11:24 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-09-21 06:33:03 UTC
To reproduce:
- create a new HTML/JavaScript project (all default)
- invoke Project Properties and add some JS file to the project
(note that default location is js/libs)
- confirm it and press OK
=> nothing happens, no warning message, no exception etc.



Product Version: NetBeans IDE Dev (Build 201209210001)
Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01
System: Linux version 3.2.0-30-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2012-09-21 06:34:41 UTC
unless there is a easy workaround, I think this is a stopper for beta. User has no feedback about what happened (IDE log also does not contain any exception)
Comment 2 Tomas Mysik 2012-09-21 07:11:40 UTC
I am really sorry, should be fixed now.

http://hg.netbeans.org/web-main/rev/c678da6ca68d

Láďo, please verify:
- new project with JS libraries; and
- adding JS libs via projects properties

Ideally both with some failing JS library.

Thanks a lot.
Comment 3 Vladimir Riha 2012-09-21 08:43:18 UTC
Tested case:
- new project with online template and valid JS libraries => OK
- existing project and add js VALID libraries => OK
- existing project and add js INVALID libraries => OK, but library directory and empty file was created any way, minor issue and will report it later
- existing project and add both VALID AND INVALID js libraries at the same time => OK (valid ones downloaded, and dialog with msg for invalid one)


verified, please backport



Product Version: NetBeans IDE Dev (Build 20120921-5ed37588c5fc)
Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01
System: Linux version 3.2.0-30-generic-pae running on i386; UTF-8; en_US (nb
Comment 4 Tomas Mysik 2012-09-21 09:14:51 UTC
Backported to the beta branch in releases repo.

http://hg.netbeans.org/releases/rev/f77c635d1486
Comment 5 Quality Engineering 2012-09-22 02:15:43 UTC
Integrated into 'main-golden', will be available in build *201209220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c678da6ca68d
User: Tomas Mysik <tmysik@netbeans.org>
Log: #218726 - Adding JS files to existing project fails
Comment 6 Vladimir Riha 2012-09-24 11:24:22 UTC
verified in Beta

Product Version: NetBeans IDE 7.3 Beta (Build 201209232010)
Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01
System: Linux version 3.2.0-30-generic-pae running on i386; UTF-8; en_US (nb)