![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: CM Synergy CLI from CS Trigger? Topic Summary: Created On: 22-Jun-2004 16:41 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Hello, With Change Synergy 4.3, you can execute triggers with CM Synergy CLI commands. The problem is that all environment CM variables (I mean CCM_HOME, ...) are lost (=not visible) when you execute CS triggers. Then, you must include in first position of your shell trigger script the definition of all environment CM variables. Example of definition : CCM_HOME=... ; export CCM_HOME CS_HOME=$CCM_HOME/... ; export CS_HOME JAVA_HOME=$CCM_HOME/jre ; export JAVA_HOME JETTY_HOME=$CS_HOME/cs_app ; export JETTY_HOME LDAP_HOME=$CCM_HOME/cs_ldap ; export LDAP_HOME PERL5LIB=$JETTY_HOME/webapps/synergy/WEB-INF/bin/lib; export PERL5LIB -> (check for missing variables) And it will work fine. Hope help you. Regards, Jean-Pierre LEIVA. | |
![]() |
|
I would like to know if anybody has successfully executed CM Synergy CLI commands (e.g., ccm query, ccm changes (from HLQuery addon) etc.) from within a CS trigger. I am getting the following when I try to execute a "ccm ???" command.
ccm_init() failed. addlib() failed for <ARG TOOBIG>. Does anybody have any suggestions or an example of how they have done it? I am familiar with the CS API. That is not the problem. What I am doing, running a "ccm changes" command to obtain a report on the differences between two baselines, cannot be done via the CS API. Jim Heimbach Sprint |
|
![]() |
|
![]() |
|
Hello,
With Change Synergy 4.3, you can execute triggers with CM Synergy CLI commands. The problem is that all environment CM variables (I mean CCM_HOME, ...) are lost (=not visible) when you execute CS triggers. Then, you must include in first position of your shell trigger script the definition of all environment CM variables. Example of definition : CCM_HOME=... ; export CCM_HOME CS_HOME=$CCM_HOME/... ; export CS_HOME JAVA_HOME=$CCM_HOME/jre ; export JAVA_HOME JETTY_HOME=$CS_HOME/cs_app ; export JETTY_HOME LDAP_HOME=$CCM_HOME/cs_ldap ; export LDAP_HOME PERL5LIB=$JETTY_HOME/webapps/synergy/WEB-INF/bin/lib; export PERL5LIB -> (check for missing variables) And it will work fine. Hope help you. Regards, Jean-Pierre LEIVA. |
|
![]() |
Telelogic SYNERGY
» SYNERGY/Change
»
CM Synergy CLI from CS Trigger?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.