No offense to men practicing nursing. I admire you.
I just find it absurd that the people who are nice enough to send me free subscriptions to really cool magazines (Dr. Dobbs Journal, PC Magazine, to name two) think that if I like computers I will be interested in something like ‘Men in Nursing’ or magazines about fishing, yachting or the chemical industry. Like, I appreciate it, but isn’t it time to sharpen the focus of your data extraction script? People who work with computers are not necessarily into nursing.
Class diagrams are great. RAD 7 has them and it generates and updates code based on them. Lovely.
The forward and reverse engineering capabilities, the works.
Now if you refactor the classes and change package names… then you’re in trouble. The class diagram is like, oblivious to the change and being unable to find the classes the diagram is based on it just chokes. So just be aware of this possible problem.
How to fix this:
- Open the dnx class file with RAD’s XML editor.
- Search for the term “srcfolder” – this is where the diagram looks for your source code
- Do a replace all for the value srcfolder is set to – e.g. srcfolder=src%5B (the %5B stands for the URL encoded ‘]’ character – and set the replacement value to the new refactored package name – e.g. srcfolder=src/java%5B
Now open the diagram again using the DNX file viewer and voila – your diagram is back!
I arrived at work today and meant to fire up Rational Application Developer 7, the truly-so-much-improved-Eclipse-based IDE from IBM that I have to use because the client mandates it.
Really, it is so much better than version 6, run faster, 10 times more stable, everything – seriously better. And I am like, all ‘Go IBM!’ and telling other co-workers using version 6 that 7 is like, just great. And we look at each other and say together – ‘Just wait…’.
So today the wait is over.
RAD refused to start, crashing with a java.lang.VerifyError. Java errors mean the world had just come to an end, and on behalf of Java and the rest of the development team, they wish you all the luck. And yeah, F- you. I looked online – nothing really other than this. I tried starting up RAD with a -clean parameter which did absolutely nothing (that works in Eclipse, normally). I then looked at the eclipse.ini file and the moment I saved it, RAD not only did not start, it popped a window saying “Could Not Start JVM”. Sweet.
Final attempt: renamed eclipse.ini to eclipse-old.ini and wham – everything started again…
I copied another instance of the ini file to my machine and restarted again and it still worked.
Nonetheless, a waste of 3 hours.
So after it gained my faith, I am back feeling a bit shaky with my RAD….
