[jbosstools-issues] [JBoss JIRA] (JBIDE-17944) BrowserSim: Use http: protocol instead of file: for accessing local files

André Dietisheim (Jira) issues at jboss.org
Tue Jul 2 16:28:00 EDT 2019


    [ https://issues.jboss.org/browse/JBIDE-17944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754985#comment-13754985 ] 

André Dietisheim commented on JBIDE-17944:
------------------------------------------

[~jeffmaury] given that cordovasim was deprecated, shouldnt we close this as WONTDO or OUTDATED?

> BrowserSim: Use http: protocol instead of file: for accessing local files
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-17944
>                 URL: https://issues.jboss.org/browse/JBIDE-17944
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: browsersim, cordovasim
>    Affects Versions: 4.2.2.Final
>            Reporter: Alexey Kazakov
>            Assignee: Ilya Buziuk
>            Priority: Major
>             Fix For: 4.12.x
>
>         Attachments: ripple.png
>
>
> Currently, BrowserSim works through file: protocol but this protocol doesn't work well with paths relative to the webroot (which start with "/").
> So if a local file contains any links to local resources (css, js, ...) via relative paths then these resources are not available in BrowserSim.
> For example all official ionic example projects use such paths. It makes "open with BrowserSim" feature useless for those projects.
> It would be great if BrowserSim uses http: as our HTML5 preview does.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jbosstools-issues mailing list