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 229327 - Remote Files node in Java EE and PHP projects
Summary: Remote Files node in Java EE and PHP projects
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 7.3.1
Hardware: All All
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks: 229313
  Show dependency tree
 
Reported: 2013-05-03 12:38 UTC by Petr Jiricka
Modified: 2014-10-08 11:45 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2013-05-03 12:38:57 UTC
HTML5 project has the Remote Files node, listing JavaScript files referenced remotely. Java EE (Ant, Maven) and PHP projects could have an analogous node.
Comment 1 David Konecny 2013-08-05 22:45:05 UTC
I fixed this for Ant and Maven Web. Still needs to be done for PHP - Tomas could you do it please?

Fix reveals one problem though: Remote Files node is using html.editor.api.index.HtmlIndex to retrieve list of all required JS/CSS resources; this does not cover JSP, JSF, and likely PHP.
Comment 2 Quality Engineering 2013-08-07 02:24:29 UTC
Integrated into 'main-silver', will be available in build *201308062300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/70c6603029f5
User: David Konecny <dkonecny@netbeans.org>
Log: #229327 - Remote Files node in Java EE and PHP projects
Comment 3 Tomas Mysik 2013-08-12 06:35:01 UTC
Will have a look it for PHP. Thanks.
Comment 4 Tomas Mysik 2013-08-12 09:46:47 UTC
PHP part is done, it works for me in PHP files. BTW I had to reopen my project after adding a reference to a remote file (Remote Files node was not visible).

Thanks.

http://hg.netbeans.org/web-main/rev/870f1354e03e
Comment 5 David Konecny 2013-08-12 18:28:48 UTC
(In reply to Tomas Mysik from comment #4)
> BTW I had to reopen my
> project after adding a reference to a remote file (Remote Files node was not
> visible).

This should happen automatically - it depends on indexing infrastructure to notice a change and fire event. My usual test which works: add some remote reference to some html file and save it; type a character in the editor and Remote Nodes comes up.
Comment 6 Tomas Mysik 2013-08-13 07:11:27 UTC
> add some remote reference to some html file and save it

This is what I did.

> type a character in the editor and Remote Nodes comes up.

Aha, I did not do this.

Thanks.
Comment 7 Tomas Mysik 2014-10-08 11:45:21 UTC
Just noticed that this issue is already fixed. Please reopen if I am wrong, thanks.