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 250091 - propagate change from CDT with vhost use
Summary: propagate change from CDT with vhost use
Status: RESOLVED WONTFIX
Alias: None
Product: web
Classification: Unclassified
Component: Inspection (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-29 11:10 UTC by Altenalson
Modified: 2015-03-12 16:42 UTC (History)
0 users

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 Altenalson 2015-01-29 11:10:03 UTC
Hello,

As a web developper, one of my favorite features is the netbeans connector with chrome and the "propagate change" option.

Until now, I never got any problem. But as my project got more complex, I created vhost on my machine. So my local url goes from http://localhost/project/dev/www to http://dev.project.loc and http://localhost/project/trunk/www to http://trunk.project.loc which is super convenient. But now, change made in the CDT don't propagate anymore.

It would be really great if this can work that way (or any other).

My httpd.conf look like :
<VirtualHost 127.0.0.1:80>
  DocumentRoot C:\wamp\www\project\dev\www
  ServerName dev.loc
  ServerAlias *.dev.loc
  <Directory C:\wamp\www\project\dev\www>
    allow from all
    Options +FollowSymLinks
  </Directory>
</VirtualHost>

Navigator: Chrome 40.0.x with netbeans connector plugin
Run conf: Chrome with netbeans connector
Comment 1 Jan Stola 2015-03-12 16:42:53 UTC
The propagation of changes works only when we are able to map the modified URL to its source file in the project. This mapping is based on the directory structure of the project and the URL for the context root (in Web Application projects) or URL for the site root folder (in HTML5 project) - these URLs are specified (or derived from the information set) in Run section of the project properties.

Unfortunately, you use a different type of mapping that NetBeans is not aware of. Hence the propagation of the changes doesn't work.