Marty Zigman Marty Zigman
Prolecto Labs Accelerator Templates

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

Holding all three official certifications, Marty is regarded as the top 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 30 years, Marty has produced leadership in ERP, CRM and eCommerce business systems. Contact Marty to set up a conversation.

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

About Marty Zigman

Marty Zigman

Holding all three official certifications, Marty is regarded as the top 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 30 years, Marty has produced leadership in ERP, CRM and eCommerce business systems. Contact Marty to set up a conversation.

Biography • Website • X (Twitter) • Facebook • LinkedIn • YouTube

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

  1. Paul says:

    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. Marty Zigman says:

    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 says:

    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. Marty Zigman says:

    Hello Phani,

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

    Marty

  5. Maria says:

    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. Marty Zigman says:

    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. Timea says:

    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. Marty Zigman says:

    Timea,

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

    Marty

  9. Denny Sutanto says:

    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

  10. Marty Zigman says:

    Hello Denny,

    You need to modify the deploy.xml file to be more specific about the files that you want to deploy. It’s cumbersome but worth it to reinforce your understanding of the SDF model.

    Marty

  11. Denny Sutanto says:

    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

  12. Marty Zigman says:

    Denny, instead of referencing all files with the “*”, explicitly reference your file. You can include more than one reference using natural XML syntax. Give it a try.

    Marty

  13. Denny Sutanto says:

    Hi Marty,

    I see, thanks, I will give it a try

Leave a Reply

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