[jbosstools-issues] [JBoss JIRA] (JBIDE-16931) Support for linked folders in cordovasim

Ilya Buziuk (JIRA) issues at jboss.org
Mon May 5 13:02:56 EDT 2014


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

Ilya Buziuk commented on JBIDE-16931:
-------------------------------------

< doesn't the CS use a embedded server to serve its content ? how else do you navigate the workspace content ?
Yep, that's right. We create a server with a bunch of handlers for any occasion - [ServerCreator|https://github.com/jbosstools/jbosstools-aerogear/blob/master/cordovasim/plugins/org.jboss.tools.vpe.cordovasim/src/org/jboss/tools/vpe/cordovasim/ServerCreator.java]. So we can host any folder in the file system.

<eclipse linked folders can be more than that
Didn't know that. Could you give a for instance?
I have partly implemented linked folder support - [JBIDE-16931|https://github.com/ibuziuk/jbosstools-aerogear/compare/JBIDE-16931], but I can't find a solution to one problem. Mapping folder's name to location works only for for urls like _/*linked_folder_name*/index.html_, but not for _/sub_folder/*linked_folder_name*/index.html_. The problem is that reg ex / wildcards can't be used for servlet's url-pattern. Seems to be a dead-end with my idea :-(

<Seems easier to just run the CS serving side inside eclipse and let CS connect to it?
Do yo mean moving server in cordovasim.eclipse and passing port as a parameter? 

> Support for linked folders in cordovasim
> ----------------------------------------
>
>                 Key: JBIDE-16931
>                 URL: https://issues.jboss.org/browse/JBIDE-16931
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: aerogear-hybrid, browsersim
>    Affects Versions: 4.2.0.Alpha2
>            Reporter: Gorkem Ercan
>            Assignee: Ilya Buziuk
>             Fix For: 4.2.0.Beta2
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> Linked folders are not honored when project is run on CordovaSim



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list