Marty Zigman

Conversations with Marty Zigman

Certified Administrator • ERP • SuiteCloud

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

NetSuite Technical

Tags: , , , ,

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.

Marty Zigman LinkedIn

Marty Zigman

Holding three official certifications, Marty is widely recognized as a top NetSuite expert and leads a team of senior professionals at Prolecto Resources, Inc. A former Deloitte & Touche CPA and technology executive with CTO roles, he brings over 35 years of leadership in ERP, CRM, and eCommerce business systems. Contact Marty to engage directly.

BiographyYouTubeLinkedInX (Twitter)

13 thoughts on “Watch How to Connect NetSuite to Eclipse and an SVN Code Repository

  1. 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.

    Reply
  2. 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.

    Reply
  3. 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?

    Reply
  4. 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

    Reply
  5. Hi Marty,

    I’m using SDF with github. Everything works fine except that i cannot deploy only changed files / objects to Netsuite. The Deploy to Account feature will deploy everything, which might overwrite files changed by other developer. Anyway to overcome this ?
    I’m using eclipse with suitecloud plugin

    Thanks

    Reply
  6. Hi Marty,

    Thanks for pointing it out. I never aware of that file before. Do you have any guidance or example on how should i modify the deploy.xml file to achieve my goal ?

    Thanks

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *