During my J2EE and .Net days, I was much dependent on the subversion repository. I had never thought my code without SVN. When I moved to Salesforce few years back, the first thing I missed is code repository to have better source code control. As svn creates either “.svn” or “_svn” folder, it was not supported by the force.com IDE and I struggled much to get it work out. Salesforce saves only real time information. So it is very difficult to know what was changed in past related to any issue as well as complete code backup.
Era of Git
Git has emerged as the most powerful source code repository and widely accepted by the developer communities. If I will talk about Git this article is going to be out of discussion scope.
Above figure describes Architect of Git. The one thing to notice in above figure is that Git has local repository as well as remote repository which make it better and more flexible than any other code repository tool.
As you can see in above diagram also, user can work on completely different branch which is stored on his local repository and when he thinks that he is ready to push the code on Git, just commit the changes on remote repository.
Step by Step tutorial of Salesforce Migration using ANT tool with Proxy settings and retrieving content from Salesforce Organization. Also fix some common errors like java.lang.OutOfMemoryError or unable to find tools.jar
Following are the many tools available for Salesforce deployment like
Change sets (From Salesforce site)
Eclipse (Using “Deploy to force.com server” option in Eclipse)
ANT (Java based tool)
We are going to discuss the ANT based migration, step by step:
Set Environment variable “ANT_HOME“. The path should be of parent folder of “bin”. Also add the “bin” folder to your path.
Check whether ANT is installed or not properly by running command “ant -version“. It might be possible that you receive message something like unable to find tools.jar. You can copy this jar from “JDK_HOME/lib/tools.jar” to “JRE/lib” folder.
Solve the force.com error of the eclipse while getting the refresh from server. “com.salesforce.ide.api.metadata.types.Metadata$JaxbAccessorF_fullName cannot be cast to com.sun.xml.bind.v2.runtime.reflect.Accessor”
This morning when i started the eclipse and tried to refresh the contents from salesforce server, i got an error something like “com.salesforce. ide.api.metadata.types. Metadata$JaxbAccessorF_fullName cannot be cast to com.sun.xml.bind.v2.runtime.reflect.Accessor“.
I started searching for the solution and found below solution on salesforce community.
Note – I was using Windows 7 operating system.
Use JRE v6 update 27 – 64bit (downgraded from JRE 7)
Use JDK v6 update 27 – 64 bit (downgraded from JDK 7)
Step By Step Hibernate (ORM Tool) Tutorial Using eclipse WTP
Hibernate is the ORM tool widely used in java community to persist the java object using Object Relational Mapping (ORM) concept. ORM reduces number of lines to interact with database with optimized query language which is Hibernate Query language (HQL).
In this example, we will create a simple login application using hibernate tool of eclipse. We will use eclipse WTP (Web Tools Platform), to install “Hibernate Tools”. Follow below steps :
In Eclipse IDE, menu bar, select “Help” >> “Install New Software …” put the Eclipse update site URL “http://download.jboss.org/jbosstools/updates/stable/helios”
How to Resolve Missing Builder error for eclipse in CC&B (ORMB)
CC&B (Customer Care And Billing System) or ORMB (Oracle Revenue Management And Billing System) (Previously named as “SPL” before Oracle acquires it) are the same application with use in different domain. This application is used to maintain all the billing, collection and payment related operations of the underlying company. I am going to write few articles on this product from today which i feel can be helpful to others.
One problem faced by most of the starters of CC&B (ORMB) in eclipse is “Missing Builder (com.splwg.tools.dbConnection)” error as shown in below image.
Eclipse – How to upgrade from Galileo (3.5) to Helios (3.6)
I needed to work on Tomcat 7 and at that time i was using Eclipse Galileo. So i needed to upgrade Eclipse Galileo to Helios any how to get work done.
So below is the steps which i used to upgrade my eclipse.
To upgrade installed software, do the following:
Help > Check for Updates.
If updates are found, proceed through the install wizard and click Finish at the end.
If you are upgrading the platform itself, when you are prompted to restart it is strongly recommended to do so. A restart many not be required when updating other features, but always select to restart if you are unsure.
Note, to upgrade from Galileo(3.5) to Helios (3.6), you first need to add the Helios software repository as follows:
Window > Preferences > Install/Update > Available Software Sites.