You are on page 1of 2

Tips for Successful DEV Environment SetUp

Checkout Codebase from SVN


https://svnremote.persistent.com/svn/products/vsps/trunk

Build using Command Prompt


cd build
ant

Make sure you are using latest version of Eclipse


For Eclipse Setup >> Create new project as Java Project seperately for
"fw" ,"mgmt", "server".
Uncheck "Use default location" and select the specific folder root (fw,mgmt,server)
code folder

Run Configurations for Eclipse :


====================
****For Server*****
====================
Run as >> Run Configurations >> Java Application
Under Main Tab : Select Project and mention "com.voltage.fw.VSLauncher" under Main
Class
Under Arguments Tab >>
Program Agrumnets, mention below (please use code folder path in first parameter)
D:\CodeBase\server vsruntime.jar com.voltage.runtime.Server

VM Arguments, mention below details :


-Xms128m -Xmx256m -server -Djdk.tls.allowUnsafeServerCertChange=true

Select Working Directory as "Others" and mention directory path like : D:\CodeBase\
server

Make sure in JRE tab that JRE is "sun", voltage provided.


=========================
****For Data Service*****
=========================
Run as >> Run Configurations >> Java Application
Under Main Tab : Select Project as "mgmt" (can be project name in your eclipse)
and mention "com.voltage.fw.VSLauncher" under Main Class

Under Arguments Tab >>


Program Agrumnets, mention below (please use code folder path in first parameter)
D:/CodeBase/mgmt/ vsmgmt.jar com.voltage.mgmt.service.DataService

VM Arguments, mention below details :


-Xms128m -Xmx256m -server -Djdk.tls.allowUnsafeServerCertChange=true

Select Working Directory as "Others" and mention directory path like :


D:/CodeBase/mgmt/

Make sure in JRE tab that JRE is "sun", voltage provided.


==============================
****For Management Console****
==============================
Run as >> Run Configurations >> Java Application
Under Main Tab : Select Project as "mgmt" (can be project name in your eclipse)
and mention "com.voltage.fw.VSLauncher" under Main Class

Under Arguments Tab >>


Program Agrumnets, mention below (please use code folder path in first parameter)
D:/CodeBase/mgmt/ vsmgmt.jar com.voltage.mgmt.Server

VM Arguments, mention below details :


-Xms128m -Xmx256m -server -Djdk.tls.allowUnsafeServerCertChange=true

Select Working Directory as "Others" and mention directory path like :


D:/CodeBase/mgmt/

Make sure in JRE tab that JRE is "sun", voltage provided.


==========================================
******************************************
==========================================

Make sure VisualStudio is properly installed and have valid licence. Use below
credentials to sign to Visual Studio for licenced copy :

<1) Username: volty2msdn@outlook.com> password: voltage!@#$ 


<2) Username: voltysecurity@hotmail.com> password: Volty!@#

=============================================================

For Building Run Test Cases

ant devtest

For Running Test Cases

ant rundevtest
==============================================================

NSIS >> install the newer version ,Install in folder NSIS , skip Unicode in the
installation path
After installation, Copy below files to C:Program Files(x86)>> NSIS >> Plugins
folder
CallAnsiPlugin.dll,registry.dll,

To build the Product (exes : vsibe.exe, vsmgmt.exe) locally. These exes will not be
having signed whereas the the PROD build machines have certificates which signs the
EXEs
Checkout from Trunk and follow below steps, exe files will be created inside
installer >> win32 location
cd build
ant package

In order to create BrandManager exe file, follow below steps. This exe will be
created inside customizer>>installer>>win32 location
cd build
ant packageCustomizerBatch

You might also like