How can i have multiple source folders in a play project? I am using play 1.2.4 and the eclipse plugin. What I want to do is use a source folder from another project (e.g. a normal java project) in the play project.
The normal way by adding the folder as a source folder via properties->java build path->link source does not work. So where do i have to add the dependencies to tell play what i want? I know that if I want to link a jar file i have to write it in the dependencies.yml file, so can i do the same for a folder full of normal java files?
And is it possible to add a third source folder to a play project, so “1. app 2. test 3. mysoucefolder” for example.
You can create the package hierarchy you want in
app/.For example :
MyClasscan be accessed in your play project withimport org.myproject.MyClassIf what you re trying to do deals with constraints on folders hierarchy, you can give a try to symbolic links.