Hi folks,
As part of our ongoing incubation process at Apache, we're going to be
renaming the core wicket package from "wicket" to "org.apache.wicket"
shortly (not quite sure when yet, but soon).
If you're developing against the subversion wicket-1.x branch, you'll
need to change your imports accordingly.
If you're on a box with find and sed (i.e. Linux, MacOSX, BSD, etc.)
then you should be able to execute this in your project's directory:
find . -name "*.java" -exec \
sed -i -e 's/import wicket\./import org.apache.wicket./' {} \;
If you use Eclipse you can do something like this(*):
- Make sure your project is backed up, etc.
- Select the project you wish to update in the navigator.
- Go to the "Search" menu and click "File".
- Type "import wicket." (without the quotes) into the
"Containing text:" field.
- Click "Replace..."
- Set the "With:" field to "import org.apache.wicket."
- Click "Replace All".
If someone feels like telling IDEA/NetBeans/ other IDE users how best to
accomplish this, by all means tell us. :-)
You may need to fix some imports back if you use contrib modules from
wicket-stuff or elsewhere.
Best regards,
Alastair
(*) I tried to cook up a refactoring script for this, but it seems
that's not really supported in a project-independent way for package
renames, which is a pity.