Showing posts with label development. Show all posts
Showing posts with label development. Show all posts

Thursday, August 27, 2015

Getting started with IBM Liberty in your Eclipse in 10 minutes.

A strictly developer’s steps to get started with Liberty and Eclipse development environment. Removing the long documentation, below are the steps that should get you started under 10 minutes.



1. Get the latest eclipse ( Kepler, I used SR2 release )

2. Install Liberty in eclipse
    2.1 Open this url in browser : https://www.ibmdw.net/wasdev/downloads/liberty-profile-using-eclipse/
    2.2 Drag and drop Install icon on this page on your eclipse, that should automatically trigger the install

3. Once this is done and eclipse has been restarted you would need to create a server instance
    3.1 Go to server view and select new server
    3.2 From the options select WebSphere Liberty and then select  install liberty runtime
    3.3 Choose the folder where runtime would be downloaded
    3.4 That should be it wrt liberty.

4. Click on server and select add/remove your web in workspace should show up.

A Nifty little search trick in IBM RAD/Eclipse


If you have worked development team of a large project as IBM RAD or Eclipse as the development, you would know how long it takes to search through tens of projects.

Suppose you are trying to figure out the view or action classes having a specific string that you saw on UI. Now this string could be coming in from a json, xml, java, jsp and the list goes on and on. What increases the duration of this search is the fact that it would search in underlying dependencies as well ( jars and wars ).
What you can do to restrict the searches to loaded projects and not to underlying jar and wars ?





You can use the famous not operator ( ! ) in search box of RAD or eclipse. For example if you want search not to include underlying jars and wars enter this in File name patterns box of search dialog
!*.jar, !*.war

Merging and Splitting PDF files

We all use and rely on PDF's. There are occasions though when you want to edit certain portions of a pdf and merge the edited version ba...