domingo, 23 de diciembre de 2018

Gitlab SVN command line instructions

 Command line instructions

Git global setup
git config --global user.name "Jose Alberto Martinez"
git config --global user.email "jalbertomr@yahoo.com"
Create a new repository
git clone https://gitlab.com/jalbertomr/creaprueba.git
cd creaprueba
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Existing folder
cd existing_folder
git init
git remote add origin https://gitlab.com/jalbertomr/creaprueba.git
git add .
git commit -m "Initial commit"
git push -u origin master
Existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin https://gitlab.com/jalbertomr/creaprueba.git
git push -u origin --all
git push -u origin --tags

jueves, 6 de diciembre de 2018

TIBCO Business Works 6.5 Install ems-driver





Installing ems-driver

from windows power shell, execute
C:\Program Files\tibco\bw6\bw\6.5\bin> .\bwinstall.exe ems-driver

we'll get something like this
Buildfile: C:\Program Files\tibco\bw6\bw\6.5\scripts\bwinstall.xml

ems-driver:

-init-bw:

-ems-home-location:
    [input] Please enter full path to the EMS Home components plugin folder including the components folder (typically  EMS_HOME/components//shared/1.0.0/plugins) :
C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins
     [echo]
     [echo] zip.dir: C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins
     [echo] zip: C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins
     [echo] tibco.home: C:/Program Files/tibco/bw6
     [echo] bw.home: C:/Program Files/tibco/bw6/bw/6.5
     [echo] tibco.java.home: C:/Program Files/tibco/bw6/tibcojre64/1.8.0

delete-jmsclient:
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.1.0.010\META-INF\MANIFEST.MF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.1.0.010\plugin.properties
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.1.0.010\META-INF\MANIFEST.MF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.1.0.010\plugin.properties
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.1.0.010\META-INF\MANIFEST.MF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.1.0.010\plugin.properties
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.1.0.010\META-INF\MANIFEST.MF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.1.0.010\plugin.properties
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.1.0.010\META-INF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.1.0.010
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.1.0.010\META-INF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.1.0.010
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.1.0.010\META-INF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.1.0.010
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.1.0.010\META-INF
   [delete] Deleting C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.1.0.010

copy-new-jmsclient:
     [copy] Copying 12 files to C:\Program Files\tibco\bw6\bw\6.5\system\shared
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.admin_8.4.0.014\META-INF\MANIFEST.MF to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.4.0.014\META-INF\MANIFEST.MF
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.admin_8.4.0.014\plugin.properties to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.4.0.014\plugin.properties
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.admin_8.4.0.014\tibjmsadmin.jar to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.admin_8.4.0.014\tibjmsadmin.jar
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.rv_8.4.0.014\META-INF\MANIFEST.MF to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.4.0.014\META-INF\MANIFEST.MF
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.rv_8.4.0.014\plugin.properties to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.4.0.014\plugin.properties
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.rv_8.4.0.014\tibrvjms.jar to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.rv_8.4.0.014\tibrvjms.jar
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.ufo_8.4.0.014\META-INF\MANIFEST.MF to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.4.0.014\META-INF\MANIFEST.MF
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.ufo_8.4.0.014\plugin.properties to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.4.0.014\plugin.properties
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient.ufo_8.4.0.014\tibjmsufo.jar to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient.ufo_8.4.0.014\tibjmsufo.jar
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014\META-INF\MANIFEST.MF to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.4.0.014\META-INF\MANIFEST.MF
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014\plugin.properties to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.4.0.014\plugin.properties
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014\tibjms.jar to C:\Program Files\tibco\bw6\bw\6.5\system\shared\com.tibco.jms.jmsclient_8.4.0.014\tibjms.jar

setup-bwthor-launch:

-setup-bwthor-launch:
[setupbwthorlaunch] ==>TIBCO Home: C:/Program Files/tibco/bw6
[setupbwthorlaunch] ==>BW Home: C:/Program Files/tibco/bw6/bw/6.5
[setupbwthorlaunch] ==>BW Thor provisioning properties: C:/Program Files/tibco/bw6/eclipse-platform/bundlepool/1.0/org.eclipse.equinox.p2.touchpoint.eclipse/plugins/com.tibco.bw.thor.launch_1.3.700.001/provisioning.properties
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\hotfix\lib\common
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\lib\common
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\hotfix\shared
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\shared
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\hotfix\palettes
==>INFO: Scanning bundles under: C:\Program Files\tibco\bw6\bw\6.5\system\palettes
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.bw.thor.launch_1.3.700.001

copy-new-jmsclient-design:

-copy-new-jmsclient-design:
     [echo] emsclient.design.dir.path=C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.jms.jmsclient.eclipse_6.4.0.001
     [echo] jmsclient.src.dir.path=C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014

-copyEMSClientDesign:
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.jms.jmsclient.eclipse_6.4.0.001
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014\tibjms.jar to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.jms.jmsclient.eclipse_6.4.0.001\tibjms.jar

-copyJavaxJMSDesign:
     [copy] Copying 1 file to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.tpcl.javax.jms.eclipse_1.10.0.001
     [copy] Copying C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.tpcl.javax.jms_2.0.0.002\jms-2.0.jar to C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.tpcl.javax.jms.eclipse_1.10.0.001\jms.jar
     [echo] emsclient.design.dir.path=C:\Program Files\tibco\bw6\eclipse-platform\bundlepool\1.0\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\com.tibco.jms.jmsclient.eclipse_6.4.0.001
     [echo] jmsclient.src.dir.path=C:\Program Files\tibco\bw6\components\shared\1.0.0\plugins\com.tibco.jms.jmsclient_8.4.0.014

install-ems-driver:

BUILD SUCCESSFUL
Total time: 1 minute 12 seconds
PS C:\Program Files\tibco\bw6\bw\6.5\bin>

It will be installed as a Service on windows



from a command windows:

tcp://localhost:7222> connect tcp://localhost:7222
tcp://localhost:7222> admin
tcp://localhost:7222> show queues
                                                              All Msgs            Persistent Msgs
  Queue Name                        SNFGXIBCT  Pre  Rcvrs     Msgs    Size        Msgs    Size
  >                                 ---------    5*     0        0     0.0 Kb        0     0.0 Kb
  $sys.admin                        +--------    5*     0        0     0.0 Kb        0     0.0 Kb
  $sys.lookup                       ---------    5*     0        0     0.0 Kb        0     0.0 Kb
  $sys.redelivery.delay             +--------    5*     0        0     0.0 Kb        0     0.0 Kb
  $sys.undelivered                  +--------    5*     0        0     0.0 Kb        0     0.0 Kb
* $TMP$.EMS-SERVER.2AF45C0720E63.1  ---------    5      1        0     0.0 Kb        0     0.0 Kb
  queue.sample                      ---------    5*     0        0     0.0 Kb        0     0.0 Kb

  sample                            ---------    5*     0        0     0.0 Kb        0     0.0 Kb