|Rename Java Package programmatically [message #668168]
||Wed, 04 May 2011 09:56
| Alexander Mack
Registered: July 2009
I am trying to rename a java package programmatically.
Everything works fine so far, except the renaming of subpackages.
Lets assume the following package structue:
If I rename the package classmodel.test to classmodel.testing I want the package subtest to be renamed to this path as well. The new structure should be
Any suggestions how to handle this?
ISourceManipulation lPackage = getPackageToRename(lPath);
lPackage.rename(lNewName, false, lProgressMonitor);
renames the package but doesn't rename the subpackage test.subtest to testing.subtest...
[Updated on: Wed, 04 May 2011 09:56]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.06456 seconds