| [news.eclipse.tools.jdt] Re: createCompilationUnit() -- new class is created in default package...? |
this directory is designated as a source entry (using JavaCore.newSourceEntry)... that all seems fine, but:How do you create it?
1. I get a target package fragment using IJavaProject.findPackageFragment(new Path("/project/structures"));
2. then I create an ICompilationUnit myNewClass that includes the declaration "packages structures;" within that package fragment,