Share sourcecode between android- and javaprojects
<p>There is a class, that compiles with the <code>android platform</code> and the <code>jdk</code>. Now, the idea is, to use that class in two projects, one is a android one and the other result in a java application.</p>

<p>So, I cretae a project with two modules, one for the android and one for the java solution. All works fine, with copy&amp;paste the class-source between the two modules, but that is not very comfortable to use.</p>

<p>So, the question is, how it can be done without copy&amp;paste. I would prefer a intellij solution, but I am willing to change to eclipse if needed.</p>

<p>Thanks for all answers.</p>
