You are on page 1of 2

log into test java server

============ checking out code on javatest01 server =============


go to /home/lim/cvs
fire cvs co data_warehouse/src/com/lim/dw/vendors/opisngl
=========== compiling code on javatest01 server ================
go to /home/lim/cvs/data_warehouse
fire ant -DUSER=lim -DDIR=com/lim/dw/vendors/opisngl
=============== Command line warehouse phaeses =================
Download :
runjava com.lim.dw.vendors.[vendor-name].Download frame=day date=20090121
Process :
runjava com.lim.dw.vendors.[vendor-name].Process frame=day date=20090121
Update :
runjava com.lim.dw.common.sp.BatchUpdate [vendor-name]
runjava com.lim.dw.common.sp.StatusUpdate [vendor-name]
Export :
runjava com.lim.dw.vendors.[vendor-name].Export type=batch
runjava com.lim.dw.vendors.[vendor-name].Export type=dst
Package :
runjava com.lim.dw.jobs.Package type=batch vendor=[vendor-name]

==============================================================================
For Adding Column
runjava com.lim.dw.loader.AddColumn [path::D:\Vendors\sppofc\sppofcAddCols.txt]
For addding Group
runjava com.lim.dw.loader.AddGroupCol [path::D:\Vendors\sppofc\sppofcAddGroupCol
s.txt]
===============================================================================
relation_delete TopRelation:ForeignExchange:CrossRates:Hmrc
relation_delete TopRelation:Energy:Forwards:NaturalGas:NGLiquids:Opis
relation_delete TopRelation:Energy:EuropeanElectricity:UKElectricity:Elexon
------------ To delete Relation ----------------
bmim_client -p 6848
lock_files
relation_delete TopRelation:FtpTest10
unlock_files
For exit use ctrl+d

========cvs update production ==========


If using checkout, ALWAYS use
cvs co r prod [path]
e.g: cvs co r prod data_warehouse/src/com/lim/dw/vendors/
rtedfr
A more efficient way of putting your vendor into production is to do the followi
ng
- Go to directory ~/cvs/data_warehouse
- Run ant ven DUSER=[your user id] DDIR=[your vendor name]
This always updates/checkouts from the prod branch in the Production environment
.

================= server start ========================


To start the server = start.server
================== Email

-------------------
lim limdba for pythian
-------------------
-Dndw.properties=D:\home\properties\javatest01.properties
=================================================================
FOR TESTING SYMBOL RESOLVER
public void run () throws Exception {
//ven_sym used for testing purpose during run2
String vsym = "NormalTemp_20110120";
String[] path = getMimSymbol(vsym, 0);
if (path != null) {
for (int i = 0; i < path.length; i++) {
System.out.println("run:: Path=" + path[i]);
}
System.out.println("run:: Desc=" + getDescription(path) + " reso
lved successfully");
} else {
System.out.println("run:: Could not determine MIM symbol for " +
vsym);
}
}
public static void main(String [] arg) {
WeekForecastSymbolResolver resolver = new WeekForecastSymbolReso
lver();
try {
resolver.run();
} catch (Exception e) {
e.printStackTrace();
}
}
================================================================================

You might also like