we are using SVN to version our QV-apps - not the "integrated" functions in QV, but the prj-folders with its xml-files because "manual" SVN offers a lot more functionality than the rudimentary functions in QV
our developers manually commit the prj-folder to the repository
a nightly job on our server pulls the a specific revision of the whole prj-folder from the SVN repository (current for testing, latest stable for production)
The QV-server should perform a reload with current production data and distribute the app to the users, so that in the morning they can work/test/validate the applications with current production data.
Because the qvb.exe-process doesn't apply the contents of a prj-folder to a qvw we have worked around this problem by creatign a little helper app which opens the app via macro, hereby applies all the changes from the prj-folder reduces and saves it. After this the "normal" reload job does the reload and distributes the app to the users. Problem is now that this helper app now consumes a named CAL because it opens the real app (but only for some seconds) on the server.
Is there another way to get around this problem (with SVN and without consuming a CAL)? And does anyone know if there is a feature request for qvb.exe to apply contents from the prj-folder to the qvw-files? (@Qliktech: if not, please think of qvb.exe to not ignore the contents of a prj-folder...)
Re: Applying changes in prj-Folder to qvw on Server
Thanks Yusuf for your anwser! Sorry for anwsering with such a delay.
What I have done in my VB script is the following (this is only a part of it):
Set Qv = CreateObject("QlikTech.QlikView")
'Creating empty qvwFile
Set docObj = Qv.CreateDoc
' Loading the created qvw with the -prj content
Set docObj2 = Qv.OpenDoc(qvwFile)
This works very well when logged on directly to the Windows server machine or when connected through RDP to this server.
However I would like to integrate my script in Jenkins (http://jenkins-ci.org/) and be able to run it on the Windows machine which is a slave of Jenkins.
The problem here is that Jenkins uses a SSH connection to the Windows machine and the VB script requires Qlikview user interface in order to run the above piece of code.
Is there a way to add an option to the above piece of code in order to make it run as batch and not rely on UI? Or any other way to run Qlikview as batch and assemble the -prj folders to qvw exclusively in a batch way?