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 245994 - Go to declaration fails from main file with baseUrl
Summary: Go to declaration fails from main file with baseUrl
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: RequireJS (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-25 11:43 UTC by Vladimir Riha
Modified: 2015-04-28 02:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (22.42 KB, application/zip)
2014-07-25 11:43 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-07-25 11:43:44 UTC
Created attachment 148311 [details]
sample project

Please check the attached project and try Ctrl+Click on "loader" in main.js. It works fine if baseUrl is only 

 baseUrl: './js'

but not when it points to "./js/qpp".

Thanks


Product Version: NetBeans IDE Dev (Build 201407250001)
Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Comment 1 Roman Svitanic 2015-04-15 15:20:12 UTC
Changeset: 7a836067885c
Author:    Roman Svitanic <rsvitanic@netbeans.org>
Date:      2015-04-15 17:20
Message:   #245994: Go to declaration fails from main file with baseUrl - fixed
Comment 2 Quality Engineering 2015-04-16 06:36:18 UTC
Integrated into 'main-silver', will be available in build *201504160452* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7a836067885c
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #245994: Go to declaration fails from main file with baseUrl - fixed
Task #245994 - Go to declaration fails from main file with baseUrl
Comment 3 Vladimir Riha 2015-04-26 07:20:57 UTC
Thank you, but unfortunately does not work for me, no matter what baserUrl is (even when I commented it out)


Product Version: NetBeans IDE Dev (Build 201504240001)
Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 4 Roman Svitanic 2015-04-27 08:14:44 UTC
Changeset: f1b70060b528
Author:    Roman Svitanic <rsvitanic@netbeans.org>
Date:      2015-04-27 10:15
Message:   #245994: Matching pattern for RequireJS config interceptor extended to handle require.config(...) as well
Comment 5 Roman Svitanic 2015-04-27 08:16:40 UTC
It worked only for case requirejs.config(...). I have extended the interceptor's pattern to match require.config(...) as well. Now it should work correctly in both cases, please verify. Thanks.
Comment 6 Quality Engineering 2015-04-28 02:57:54 UTC
Integrated into 'main-silver', will be available in build *201504280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f1b70060b528
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #245994: Matching pattern for RequireJS config interceptor extended to handle require.config(...) as well
Task #245994 - Go to declaration fails from main file with baseUrl