title: Scala/Java subdirectories with dots in names
body: <p>By some reasons I need to use long names of the packages in my project. Like:</p>
  
  <pre><code>com.example.foo.bar.bazz.anotherlongsubpart.andfinallytheactualpackagname
  </code></pre>
  
  <p>So considering the name convention(at least what I know about name convention in Java), I have to create appropriate directory structure replacing dots with slashes:</p>
  
  <pre><code>com/example/foo/bar/bazz/anotherlongsubpart/andfinallytheactualpackagname
  </code></pre>
  
  <p>As for me it looks too ugly :) So I tried instead to replace with slashes only the part of dots:</p>
  
  <pre><code>com.example.foo.bar.bazz.anotherlongsubpart/andfinallytheactualpackagname
  </code></pre>
  
  <p>In other words I have here one package/directory with long name "com.example.foo.bar.bazz.anotherlongsubpart" and another one with "andfinallytheactualpackagname". Is it legal to do that? I tried to compile all this stuff using Simple Build Tool, and run my unit tests on it. And it works well. As I would name it in more ordinary fashion with slashes.</p>
  
  <p>So as my experiment shows it works well at least with SBT. But I'm not sure whether such practice may lead to further issues? Maybe in different environments with different kind of class loaders etc?</p>