JCAPS little boxes of hell - netbeans

Has anyone out there in SO land had to deal with this...when you go to build a new deployment profile in JCAPS, you have quite a few little boxes that you have to minimize before you can do the actual mapping (black boxes added to hide company specific info):
We've tried autohotkey and are looking into Sikuli - does anyone know of a good way to get around this silly UI design flaw?

You can build multiple environments that point to the same logical host. Just separate the resources into logical groups to make them more manageable.

I wrote a Netbeans plugin to take care of this. I can't publish the full source, but here is the main idea.

I've found that if you click on the "third" button in the deployment wizard that your logical hosts appear on the lower right. Other than that, the latest EAs you created are on the upper left.

Related

AWX job output box expand

I would like to know if there is a way increase the output box, as it is very complicated to debug enything only seeing 4 lines at the same time.
In older AWX versions there was a button to expand that box, but in the new interface it has disappeared.
A workaround is to download the output and debug it from local, but I would prefer to enhance the experience for all users.
Is there any way to expand it?

VBA hide form from menu

I'm trying to hide a form from the menu using VBA; I've Googled this, but everything is giving me the .visible option, however I want to hide it from the groups menu located on the left side. I could just as easily manually do this, however it's very tedious and I can't be going on other user's computers to do so.
Is this possible?
I might suggest normally you should only disable menus vs. removing them all together, might suggest doing an enable/disable menu item instead..
It should be possible but how much work is it and is it worth it to you? It isn't clear what your host application is just that you're using VBA. Might suggest the host application may already allow for customization if so use what it provides.
If the app doesn't allow customizing your menu you can still do it, just how much work is it worth for you? You'll need to look at the Win32 way of doing things. If not familiar with Win32 and menus take a look and start here looking here at MSDN to start learning about menus in Windows. After this you'll find Pinvoke will be handle to give you C#/VB sample to call what is needed. The VB should be useful but you will probably need to further translate the VB to VBA for your needs. FYI when starting out a a C/C++ developer back in the day 30 years ago it was anticipated anyone getting into windows might take them a few months, there is a lot you'll need to get up to speed on. Thus is this feature really worth it?

Is there a tool to explicitly organize files in Eclipse into groups without moving them into different packages?

Is there a plugin that lets you manually add files to lists/categories? Something like Mylyn but manual and more files--kind of the way Gmail manages mail--a tagging system.
If I let mylyn manage my windows it actually closes them without any way to shut off (Something I absolutely cannot tolerate, I use my open windows to remind me of what I'm working on--my memory absolutely NEEDS the help)--on top of that it automatically adds files to lists just because that list happens to be open when I start doing something else.
I guess I'm thinking of a plugin that offers a different version of the "Package Explorer", one that is organized by task instead of by package hierarchy, and allows you to move files around at will.
...or is there a way to adapt an existing tool to do this (without actually moving the files around, of course!) Bookmarks don't seem to offer a "Grouping" but using a common first word for the description in my bookmarks may work... Any other ideas?
After messing with it a bit more, it looks like bookmarks might do what I want. It is possible to filter bookmarks by searching the subject string, so as long as I put tags in the subject string I can select a sub-filter and have it bring up all the relevant files for a given task.
I won't accept this for a while in case someone has a better answer (a plugin perhaps?)

Learning Eclipse MDT-UML2 Sequence Diagrams

Are there any tutorials or documentation files for drawing Sequence Diagrams with Eclipse MDT-UML2?
I can't put a Lifeline on the page. It took me 10 minutes to figure out that I first have to make a big Iteraction, and then I can put Lifelines into it.
I can't figure out how to make the Participant box wider in the lifeline. Any name more than 4 characters is too wide for the box. When I do the obvious thing of clicking and dragging the handles, the box springs back to its original size.
I can add a Message by clicking "Message" in the pallette and click-dragging an arrow from line Lifeline to another. Now I have an arrow labeled "1: *". I've tried every way I can think of to change that name: double-clicking on it, shift-clicking, ctrl-clicking, changing Name in the properties.
Can anyone help?
As I understand it MDT-UML2 is in the very early stages, it may not work as it should always. Additionally, the sequence diagram is a newer one, see below. There were no tutorial I could find, but I did link to samples below. I also found a comment in the eclipse bug tracker for this feature:
Here are the most important issues from my side: moving of lifelines, create messages,
replies are causing strange behaviour (some kind of auto alignment). Moreover it
should be possible to give the messages names.
They say it is resolved, but you be the judge.
From the wiki (Note:What you want is UML2 Tools):
http://wiki.eclipse.org/MDT-UML2Tools
Interaction diagrams (in progress):
Sequence (new in Galileo)
This may not help, but here is a link to the samples: http://wiki.eclipse.org/images/3/3a/UML2Tools_samples.psf
The tutorial reference does not seem to cover the new stuff, just the class diagram.
http://www.vogella.de/articles/UML/article.html
Search stackoverflow for other open source tools to use. The MDT-UML2 is coming along and can be used for some stuff, especially simple DSMs/DSLs/UML Profiles, but for drawing easily there are a host of good tools. An ok thread: What's the best UML diagramming tool? or
https://stackoverflow.com/questions/390438/good-free-uml-tool-for-java-eclipse

TODO/FIXME plugin for Eclipse

In my project there are large no. of FIXME / TODO which are to addressed at some point of time. Actually there about 480 which can be seen from 'TASKS' list but not organised.
I googled and found the Task Tag Decorator plugin.
But unfortunately this is not working.
Can anyone suggest a plugin for FIXME/TODO
apart from this.
I would also wanted to hear from all how these situations are usually managed
What you don't want to hear is that how these situations are usually managed is by not letting them grow so big. But I'm afraid that is the case.
The Pragmatic Programmers advise us Don't live with broken windows. The point being, that if we leave something broken instead of fixing it then other things will be left and before we know it we have 480 items on our TODO list. Plus, there is a danger that some part of our application will come to rely on the "broken" behaviour, so when we address the TODO item we also have fix that as well.
Not everybody can live up to the Pragmatic Programmers' high standards. An alternative approach is to have a list of stuff which needs to be worked on (sometimes known as the Kaizen list). People who are blocked on their assigned work can pick up one of those tasks.
As for your current situation....
I have a rule of thumb which states that nothing can be done in less than half-a-day: not once you include source control, documentation, discussing the change with Bob, etc. Of course, my rule of thumb doesn't apply to truly trivial tasks, but if these tasks were truly trivial they would have been fixed on the spot, not marked as TODO, right?
So you're looking down the barrel of 240 days of effort. If lots of those tasks can be combined into a single fix then you can reduce the per task overhead. But first you've got a chunk of work just to sift through the tasks, categorising and prioritising them. This is why thay call it "technical debt": the longer we leave it the more it costs to fix, and it has the compound interest rate of the average doorstep loanshark.
Unless you have a very understanding project manager/paying customer I think you will have to accept that you aren't going to be able to clear all these items. So you need a brief triaging exercise: assign each TODO into one of three categories:
Stuff that is intolerable and needs
to be fixed right now
Stuff that ought to be fixed as and
when there is an opportunity
Stuff that you're just going to have
to live with
Good luck!
Just wanted to chime in and say that I was able to get the Task Tags Decorator working in eclipse 3.5.0. Here's how.
Install from the update site : Task Tags Decorator Update Site
In preferences: General->Appearance->Label Decorators->Task Tag Decorators
Set up your decorators there.
Then go to: General->Appearance->Label Decorators and check the "Task Tag Decorator" box and Apply
I found this very frustrating to figure out and I hope it helps others. I really like the plugin and have found it helpful for me to visually keep track of TODOs. I think it also helps me keep the TODO list short since it's not out-of-sight-out-of-mind.
In what way do you want them to be organised? More specifically what doesn't the Task View do that you want to do?
For information you can do the following with the standard tasks view:
Click each column header in the task view to sort by that column ascending/descending.
Select the View Menu (downward triangle in top right of view) and
Group tasks by type
Show only a particular task type
Select Configure Contents... then :
Select a Scope to restrict the tasks shown to your desired scope (I find On selected element and its children particularly handy).
Filter tasks by description text (using contains or does not contain)
Filter based on Priority and/or Completed status and Task Type
There are also a few other options you may find useful if you dig through the View Menu.
You might want to look into Mylyn.
It might also be worth considering what it means to use one of these tags.
The trouble is that if you have almost five hundred of these things it doesn't seem likely that you are going to be able to delete them as 'stuff to do' at any point soon. Thus, the impact of using the tag and the process implied therein is diminished, and you end up with the problem you are citing, that the data set has become unmanageable.
The point is that the code is the truth, not the comments, whether they are marked up with task tags or not. You have to have something measurable by which you improve the code.
As an example, when I do code reviews I use these tags in a first pass before the code review pairing begins. The aim is that by the time the code review is complete the tags do not exist.