Using DTS Eclipse, PyDev, and Python 2.7

Red Hat intended for developers to integrate Developer Toolset 2.0 (DTS) and Red Hat Software Collections 1.0 (RHSCL). As you may not realize, inside the DTS is a copy of Eclipse and you can use that with any software collection. In other words, you can use PyDev, with the Python 2.7 Software Collection from RHSCL in the Eclipse from DTS. Let’s find out how.

Continue reading “Using DTS Eclipse, PyDev, and Python 2.7”

Share

Separating IDE workspaces from code repositories

As I’ve been using Git, SVN (with git-svn) and Hg for quite a long time now, I’ve adapted my way to handle the local repositories created with those tools. Especially, I quickly found out that it is quite crucial to separate those repositories from your IDE workspaces. Some explanation of why and how are in this entry.


(Photo credit by motjetom)

Continue reading “Separating IDE workspaces from code repositories”

Share

OpenJDK, AArch64, and Fedora

For the really impatient reader: OpenJDK for AArch64 on Fedora is now available. Skip to the end of this blog for information about how you can get it.

For everyone else:
This is the first of my AArch64 OpenJDK blogs. I’m the project lead of the AArch64 OpenJDK port, and I’ll be blogging here from time to time. There may not be many people reading this blog who don’t know what AArch64 is, but it’s the new 64-bit version of the wildly popular ARM processor. General availability of real AArch64 hardware isn’t going to be for a while yet, but we really want OpenJDK to be ready as soon as it is.

Oh, and OpenDK is the reference implementation – the gold standard – of the Java system and programming language.

We’ve been porting the OpenJDK implementation of Java to the new AArch64 processor architecture for a while now, and it’s starting to come together.

Continue reading “OpenJDK, AArch64, and Fedora”

Share

Shared Development with Red Hat Software Collections

Mike Guerette recently posted an announcement on the Developer Blog that Red Hat Software Collections 1.0 is now generally available.

What is Software Collections and what value does it provide to developers?

In a nutshell, Software Collections allows multiple versions of a software ecosphere to be installed on a machine. For example, with Software Collections you can have Perl 5.10, Perl 5.14, and Perl 5.18 installed on a RHEL 6 system. Perl 5.10 is the version that comes with the Linux distribution while  Perl 5.16 is available via Software Collections.

While RHEL is a very stable platform, it receives some criticism for lagging behind other Linux distributions in what versions of developer tools are available for various programming languages. This forces developers using RHEL 6 to develop and deploy software with an old, or some would say “ancient,” version of their language tools. Software Collections now provides an easy mechanism for alleviating the pain associated with working with older tools.

Continue reading “Shared Development with Red Hat Software Collections”

Share

Released! Red Hat Software Collections now GA!

[EDITOR’s Note:  This article introduces V1.0 of Red Hat Software Collections, but we are now at 2.0.  Read about the latest here.]

We’ve had so much interest in Red Hat Software Collections during beta testing and now here they are!

Red Hat has announced the general availability of Red Hat Software Collections 1.0!

“Available via select Red Hat Enterprise Linux subscriptions, Red Hat Software Collections delivers the newest, most stable versions of open source runtime components to subscribers on a lifecycle that is separate from Red Hat Enterprise Linux. By providing a more frequent release cadence of these developer oriented technologies, Red Hat has responded to the need for access to rapid language and database innovation while also continuing to deliver the stability of the Red Hat Enterprise Linux platform.”

So now you have two choices for selecting tools and/or databases that align with your applications’ lifecycle:  1) those that are in “base” Red Hat Enterprise Linux with a 10-year lifecycle, and now 2), those in Red Hat Software Collections with major releases every approximately 18 months (minor releases @ 9 months) and a 3-year lifecycle.

Continue reading “Released! Red Hat Software Collections now GA!”

Share

Red Hat Developer Toolset 2.0 is now Generally Available!

gcc developers – this is what you’ve been asking for!

Red Hat Developer Toolset V2.0 is now generally available.

Red Hat has “announced the general availability of Red Hat Developer Toolset 2.0.  Available to all Red Hat customers with an active Red Hat Enterprise Linux Developer subscription, Red Hat Developer Toolset provides access to the latest stable versions of open source development tools on a separate, accelerated life cycle.”

Continue reading “Red Hat Developer Toolset 2.0 is now Generally Available!”

Share

Using Git with SVN


Factory

(Photo credit by Crystalline Radical)

Nowadays, while most people in our industry know about DVCS tools, such as Git and Mercurial, and what they can do, not all are aware that git can be used with SVN. It is, of course, quite a shame as on top of being the best way to learn how to use git – this feature also enables one to use all the nice tricks of DVCS (offline commit, local history rewriting, commit search, bisect…) while still being stuck with a remote SVN server…

Some years ago, I had already done a quick overview of this feature in my personal blog, so I decided to update and move content here – especially, as I’ve, even recently, run into fellow Red Hatters who did not know about it also !

This HowTo was, and still is, driven by uses cases, which is a good thing because most of those use cases match what any developer do on a daily basis with SVN. Hopefully, this will help readers relate to the tool, but will also make this blog entry a nifty reference page for later on. (In this regard, the DZone Refcardz on Git will also be an excellent reference material).

Cloning

As for SVN, the very first step one will do with git-svn, is to get the sources from the remote server. If with SVN, one only checks out the latest version of the source code – hence calling this step a checkout, with a DVCS one retrieves the entire project history. Therefore, this step is no longer called a checkout but a clone.

Continue reading “Using Git with SVN”

Share

A Puppet Module for tuned-adm

Some months ago, I developed and released a small Puppet module for tuned-adm. As this tool is a nice feature of RHEL, I think it is only fair from me to advertise about it here, on the Red Hat developer blog.

Quick overview of ‘tuned-adm’

(Photo credit: Accretion Disc)

To make this brief, this command will take care of tuning the operating system for you, based on the usage you want to make of it. For instance, if you want this system to be a regular server, you’ll use the ‘throughput-performance’ profile, while if you are running your Linux kernel on a laptop, you might prefer the ‘powersave’ profile, to protect your battery, and make it last longer.

To have a better idea of what options are available on your system, you can simply run the following command:

$ tuned-adm list
Available profiles:
- virtual-guest
- latency-performance
- powersave
- balanced
- throughput-performance
- virtual-host
Current active profile: /usr/lib/tuned/powersave/tuned.conf

And with the command ‘active’, you can quickly check, which profile has been activated:

Continue reading “A Puppet Module for tuned-adm”

Share