Watch How to Connect NetSuite to Eclipse and an SVN Code Repository

This article and related video is relevant if you are seeking to hookup NetSuite’s Eclipse IDE with an existing SVN’s Code Repository and SuiteScript folder.

Background

While working with one of our new consultants, he needed to learn how to connect to our SVN code repository while working against one of our NetSuite development environments. See the Installing the SVN Code Repository to the NetSuite Eclipse IDE article for a similar discussion.

Target Your SVN Repository Hook Point

I assume you already have SVN installed and you know the main branch you want to connect to. For example, our code repository for our NetSuite Custom Deposit Generator bundle is here: https://[servername]/svn/prolecto.source/CDG. Note, the /CDG URL endpoint represents the bundle’s acronym and is how we want to name our Eclipse project.

Target Your NetSuite SuiteScript Folder

The folder name in our NetSuite Development environment is not “CDG”. It is called “Customer-Deposit-Generator” under the “SuiteScripts” folder. They key is get organized before your connect up with Eclipse.

Key Steps to Connect Eclipse to SVN and SuiteScript Folder

There may be different ways to connect up the environments. Truth be told, I have done it a number of different ways — so there is more than one path. However, I was able to record how I connected these elements via the referenced video. The key steps are as follows:

  1. Start by Creating a New Eclipse Project from the SVN Menu, and “Checkout Projects from SVN”.
  2. Confirm you are going to create a project named as you prefer. In our case, we wanted it named “CDG”.
  3. Then at the project level, use the right click NetSuite menu to “Change Project Settings”. Reference your target NetSuite Project folder.
  4. Finally, perform a file compare to discover if you have versioning issues between your local file copies and the NetSuite folder copy.

Note on SVN / NetSuite How-To Video

I apologize for some of the background noise on the video. My hope is that by following the steps I demonstrate, you too can quickly get your development and source code configuration control productive.

Let’s Connect and Help Others

If you are NetSuite developer and hold high standards for quality and care, please share some of your accomplishments. Perhaps we can help others get more out of the NetSuite platform. I look forward to having a conversation with you.

Be Sociable, Share!

Marty Zigman

Holding all three official certifications, Marty is Southern California's NetSuite expert and leads a team of senior professionals at Prolecto Resources, Inc. He is a former Deloitte & Touche CPA and has held CTO roles. For over 25 years, Marty has produced leadership in ERP, CRM and eCommerce business systems. Contact Marty to setup a conversation.

More Posts - Website - Twitter - Facebook - LinkedIn - Google Plus - YouTube

| Tags: , , , , | Category: NetSuite, Technical | 8 Comments

8 Comments

  1. Paul
    Posted November 30, 2016 at 5:14 am | Permalink

    Hi Marty, Thanks for your helpful videos and blogs.

    I’ve just got a new laptop and trying to setup eclipse for Netsuite. I downloaded the latest version of Eclipse Java EE IDE and set it up with Netsuite as per the docs.

    I can upload files to netsuite etc but i cant get the Eclipse content assist to work for Netsuite’s api, you know when you press ctrl+space.

    i’ve set content assist so that auto activation is enabled, delay is 0, trigger for javascript is .nfo but this still doesnt work.

    Any ideas? Any help whatsoever would be really appreciated.

    Thanks a lot.

  2. Posted December 13, 2016 at 9:31 pm | Permalink

    Hi Paul,

    I found you have to play with the preferences to turn it back on. A quick Google Search revealed this article.

    Marty

  3. Phani
    Posted January 29, 2017 at 12:41 am | Permalink

    Hi sir, i have non inventory type items named as discount items, i will select these discount items in line items.Here how can i show these discount items value in discount place in summary box of sales order. Please help me sir.

  4. Posted March 18, 2017 at 6:26 am | Permalink

    Hello Phani,

    Your question is off-topic. This question would require work using SuiteScript in either client or server side code.

    Marty

  5. Maria
    Posted May 25, 2017 at 3:11 am | Permalink

    I am trying to achieve continuous integration on NetSuite. As part of this I have set up Github for the Suitescripts version control. Is there a way we can version control the configurations, fields, custom records as well?

  6. Posted May 28, 2017 at 9:13 pm | Permalink

    Hi Maria,

    The new SuiteCloud Development Framework (SDF) is designed to do just what you are asking. All of the metadata can now be downloaded and thus put into a version control system. Have you looked into it?

    Marty

  7. Posted August 9, 2017 at 2:51 am | Permalink

    Hi Marty,

    I am new to NetSuite development, I have been trying to deploy my project to my account but I keep getting a peer not authenticated error even tho I am logged in as administrator and of course the account on eclipse is the same administrator one. I would be very grateful if you could help me with this issue.

    Thanks

  8. Posted August 13, 2017 at 7:50 pm | Permalink

    Timea,

    Make sure that you have SuiteTalk activated in Setup, Company Enable Features in the SuiteCloud tab. That should do it.

    Marty

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>