[jbosstools-issues] [JBoss JIRA] (JBIDE-17994) HTML preview should support projects with no webroot defined (i.e. non-wtp projects)

Alexey Kazakov (JIRA) issues at jboss.org
Tue Jul 29 16:56:29 EDT 2014


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

Alexey Kazakov commented on JBIDE-17994:
----------------------------------------

Cordova projects may have either *org.eclipse.thym.core.HybridAppNature* or *org.jboss.tools.aerogear.hybrid.core.HybridAppNature* nature. So for such projects we can use "www" folder (if it exists) as a webroot. I guess we can't depend on Thym plugins so we have to hardcode these nature IDs in common (the util class which searches for webroot is placed in common module).

But what about projects w/o cordova natures? Users may import cordova projects as a plain eclipse project. Should we look for config.xml in the project root and "www" folder (if exists) for such projects?

[~maxandersen], [~gercan], what do you think?

> HTML preview should support projects with no webroot defined (i.e. non-wtp projects)
> ------------------------------------------------------------------------------------
>
>                 Key: JBIDE-17994
>                 URL: https://issues.jboss.org/browse/JBIDE-17994
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: visual-page-editor-core
>            Reporter: Alexey Kazakov
>            Assignee: Konstantin Marmalyukov
>             Fix For: 4.2.0.CR1
>
>
> 1. We should support cordova projects (www folder) automatically
> 2. Understand VPE  properties for defining/override web root



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list