How to configure resources root for web project in IntelliJ IDEA -


i working project single "static web" module in intellij idea 13.1.4 php plugin (not phpstorm).

given following directory structure:

-projectx --application --www 

i marked "www" folder "resources root". "projectx" folder "content root".

html references resources correctly resolved in files within "www" folder, not when "application" folder. annotated screenshots:

enter image description here

enter image description here

this works in phpstorm, not intellij idea. how desired behavior in intellij references resolve project folders?

after playing while, may have solution.

it appears both "projectx" , "www" have marked in order work. if first mark "www" resources root, , mark parent/content-root folder resources root, reference resolve.

if obvious out there, please explain. or there more appropriate solution?

screenshot: enter image description here


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -