Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

sharing web resources across modules

$
0
0

I've tried a couple of approaches with no success. Would appreciate some help.

 

I have several modules (web apps) in my intellij 11.1.5 project. I would like to share selected source (js, jsp, css) from one of my modules as web resources in other modules. For instance:

 

Mod1     /mod1

   src

         ...

   web

     shared

          my.js

          my.jsp

          my.css

 

 

Mod2     /mod2

   src

         ...

   web

     mod2_js

          mod2.js

 

 

I would like to make the contents of Mod1's shared directory available under the Mod2 web root (minimally at runtime) so that the following URLs work:

 

     http://local/mod1/shared/my.js

     http://local/mod2/shared/my.js

 

 

Thanks for your help.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>