fabien neibaf

Publish a project from a cvs-repository for developers to a production-repository

Discussion created by fabien neibaf on Aug 30, 2009
Latest reply on Aug 31, 2009 by Andrei Palskoi

I want to publish a rules-project from a cvs-repository to a file repository using the command-line...so i did following:

I called:

java com.blazesoft.template.repository.admin.NdRomAdminUtil publishProject

-sourceConnection   C:/cvs.cfg

-projectLocation      "TestProject"

-targetConnection   "C:/productionRepository.cfg"

-directoryLocation   "/"

-displayName           "Test-Project"

-m                           "Published Test-Project"




But then NdRomAdminUtil says "error loading the repository conneciton from "cvs.cfg"..(the exception is thrown in line 753 of NdRomAdminUti.java).


The file cvs.cfg file contains the following:

<?xml version="1.0" encoding="UTF-8" ?>
  <Factory> com.blazesoft.repository.file.NdFileCVSServerConnection </Factory>
  <Name>Blaze CVS Repository</Name>


Where is the problem? When i use another file-repositoy instead of this cvs-type everything works fine. I also used this cvs.cfg for creating a cvs-based repository based on the "-createRepository"-command of NdRomAdminUtil and it worked fine.


Or is it possible, that publishing from a cvs-repository is impossible? The workaround would be to refresh a "local workspace" of the cvs-repository and then use this for the publish-command. How does the cvs.cfg then have to look like? And how is refreshing done with API or command-line calls?


Thanks in advance :smileyhappy: