Your code works for me. It takes a while to perform the refactoring through (a couple of minutes), a lot of changes have to performed.
Lukas
On 29 August 2010 12:54, Tudor Girba tudor.girba@gmail.com wrote:
On 29 Aug 2010, at 12:22, Lukas Renggli wrote:
On 29 August 2010 12:14, Tudor Girba tudor.girba@gmail.com wrote:
Thanks Lukas!
I used it successfully, so now we should have a better package naming for the moose tests and test resources.
Some more todos:
- Rename the two Glamour test packages
- Rename the SmallDude test packages
- Rename DSM packages with the same scheme
- Split Mondrian categories into own packages
I also started to slowly rename a bit the classes to have proper prefixes. This will probably take longer :).
Do you use Refactor | Class regex'? With this refactoring you can mass rename thousands of classes at once (best is to use it on a package scope).
Yes, indeed I would like to use that. It's just that I do not seem to manage to do it. Here is what I do:
- select a category
- select refactoring scope -> package
- in the spawned package I click on the category pane and select refactoring
/ class regex
- in the bottom pane I put something like:
ORClassRegexRefactoring new
renameClasses; replace: '^MO(.*)$' with: 'MAlgo$1' ignoreCase: false;
yourself
But nothing happens, although I have classes that start with MO. Any ideas?
Cheers, Doru
Lukas
-- Lukas Renggli www.lukas-renggli.ch _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"When people care, great things can happen."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev