sbt - Import class from Mainprojekt in subproject -


i have play application following structure:

-mainapp  -app    - controllers    - models    - services    - views  -test  -modules ... 

and have subproject in modules folder. want use class test.class in "services"-folder in class of submodule (called "listadmin"). thought it's possible import:

import services.test; 

but doesn't work. error (if compile) system don't know package service. how import class of main-project in subproject?

thanks help!

i think way can have sub-project dependon main project. of course, main project dependon subproject, i'm not sure gain creating sub-project. i'm having similar issue. i'm trying separate big project self-contained smaller projects, need info big project (the main template file views fit in rest of application, default url send pages when users don't have permission see pages, etc.) if can't find has asked question, i'm going to, keep eye out.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -