Blog Archives

IBM RSA rational software architect eclipse plugin rename change project location

This one evaded me at first and is very simple. Experienced Eclipse users are already familiar with its’ small intricacies, but for a Microsoft Visual Studio Developer who is not on Eclipse often, it is easy to forget your way weaving through the maze of perspectives, windows and views.

Lets say you created a new model, and accidentally placed it in the wrong location.

I’ve used Eclipse quite a bit in the past with PHP, so my first thought was to simply “refactor”/”move”. However, this would not solve my problem.

The resolution is quite simple. First, right click on the project, close it, then delete it.

After deleting. Select file->import->existing projects into workspace->(next).

Browse to the new root location and then continue through (finish).

That’s it! Hope this helped! 8)

Advertisements

Silverlight Toolkit Default Path

Quick google search turned up nothing for this, so did a little digging on my own.

This path is useful/necessary if you want to manually utilize anything in the toolkit outside of Hilverlight, such as the themes, which are also compatible with WPF.

C:\Program Files\Microsoft SDKs\Silverlight\v4.0\Toolkit

Get Current URL in Javascript

JS (JQuery):

$(document).ready(function() {
    $(location).attr('href');
});

JS (standard):

function CurrentURL() {
    var currenturl = window.location.pathname;
return currenturl;
}