I've been using C2J http://tech.novosoft-us.com/product_c2j.jsp to convert C code to almost unreadable but compileable Java code.
All the generated classes inherit from c2jrt which is a compiled class in /programs/novosoft/c2j/bin/c2jruntime.zip. I put this file into the classpath (java build path) which is project wide NOT package wide.
For some reason I set it up so all the Android classes I wrote myself are in my own package biz.dialgenie.android.genie wherease the generated classes are in the default package.
If I move the generated classes to my package they can no longer find c2jrt. "import c2jruntime;" doesn't help, its a compiler error itself. I can see the classes in the zip file, but there's no obvious package name for an import statement.
So yes I can compile the generated classes in the default package, but then can't access from my own code in my package. As I mentioned above the classpath is project wide so its not a problem that the classpath is only set for one package.
Assuming somebody has a solution to this, is it philosophically good to keep my stuff in one package, and the generated stuff (from my C code) in another package?
I've attached c2jruntime.zip


[/align]
