Skip to main content

Create New branch for Project into CVS

1) Make sure you have installed cvsnt on your machine .download it from
http://march-hare.com/cvspro/

2) Set home path of cvsnt into path environment variable of system.

3) Go to the command prompt

4) Do set CVSROOT setting
set CVSROOT=:pserver:userid@<cvshost>:/<repository>

4) Then "CVS login" with your password.

5) Then this command
cvs rtag -r HEAD -b <branchname> <headprojectname>

Comments

Popular posts from this blog

How To Kill Tomcat HTTP Stuck Thread

Stuck Thread Problem: In one of our application we were facing issue of stuck thread ,it can not complete current work and also not able to accept new work. Once thread is stuck,CPU utilization starts increasing slowly, as stucked thread is utilizing more CPU, other threads start performing slowly makes the environment slow for users  and at some point it brings your server down. Restarting server in business hours is not good for anyone ,and it creates the bad impression of IT department to business. Identify Stuck Threads: To identify which are stuck threads ,you can use jconsole and  topthreads plugin.once you identified the top http threads which are consuming more memory you can kill stuck threads using below solution. Stuck Thread Solution: so we have implemented below solution for stuck thread which we found on web. in java you can create jsp with below code and call jsp using URL something like this- http://servername:port/context/jspname.jsp?threadName=h

Read PDF in Boomi

If you need to read pdf from Boomi Atom installation path,then use code something like this in map function. byte[] filebytes = new File('\\\\'+path+'\\'+filename+'.pdf').readBytes() String strEncoded= filebytes.encodeBase64().toString() name = filename+".pdf"; fileContent= strEncoded; fileContent stores the encoded base 64 data.

Salesforce Trigger On After Insert

If you want to know what is salesforce trigger and when can we have trigger run ,please check my previous post about Salesforce trigger . In this post i will  be explaining how you can run your trigger after insert of record into database. Lests take an example. if you want to send email to someone in your organization  after every new account is created so you will need 1) Trigger implementation 2) Html email body/template 3) email receipants Trigger Implementation: From Setup, click Customize -> Accounts -> Triggers In the triggers section, click New. In the trigger editor, delete the default template code and enter this trigger definition: > 1.  trigger NewAccountCreationSendEmail on Account (after insert)      { 2.           for(Account act: Trigger.New)                {                        //code to send email Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); String toEmail = "emailid@gmail.com"; String[] to