This document was generated from CDN thread
Created by: Asher Schweigart on 10-06-2012 12:22:43 PM
I am trying to make developing applications in our enviroment easier. I already have a method figured out to easily copy the required files to the VXMLBrowser (I will be using git version control and pushing the files with that). Now I need to figure out how to update the app easily. I want to do it based on the git hooks, which basically means I need a way to do it from another system through ssh.
I have installed OpenSSH on the VXMLBrowser server using cygwin, and setup one user to access it that way. I tried running updateApp.bat from the server in a cygwin console an everything worked fine, but when I SSH in from another machine, the bat file throws path not found errors.
I determined this was because the environment variables are not set in the ssh login. I fixed that by adding the environment variable $CVP_HOME to the user's ~/.profile, and that successfully added the variable when I ssh'd in, but when I ran updateApp.bat again, I discovered that the variable did not get passed in to the bat file.
Has anyone been able to do anything like what I am trying to do?
(For reference, I am on CVP 8.5.1. VXMLBrowser is server 2003)
Thanks,
Asher
Subject: RE: Run UpdateApp from another system.
Replied by: Rakesh Ameta on 12-06-2012 03:10:03 AM
Yes, you can write a java swing and J2EE based application. you can use CVP operations console to manage/ftp/update and monitor all the application and scripts across all the server and gateways and all other solution devices.
Subject: RE: Run UpdateApp from another system.
Replied by: Asher Schweigart on 15-06-2012 10:21:30 AM
I have figured out how to do what I required. I used a git hook that called another bat file, which set the environment variable I needed, then called the updateApp.bat.
This is after I used git to ssh the source files to the VXMLServers, then used the SAB to deploy the application.