ensure that the scala entities are in a file near to the java ones