4
respostas

diretorio

Criei um diretório dentro do repositórios como faço para executar meu .bat

4 respostas

na verdade meus arquivos estão uma pasta para dentro não na raiz C:\pentaho\repositorios\dwsucos

meu . bat me retorna esse erro

DEBUG: Using PENTAHO_JAVA_HOME DEBUG: PENTAHOJAVA_HOME=C:\Program Files\Java\jre1.8.0_221 DEBUG: PENTAHOJAVA=C:\Program Files\Java\jre1.8.0_221\bin\java.exe

C:\pentaho\designer-tools\data-integration>"C:\Program Files\Java\jre1.8.0_221\bin\java.exe" "-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m" "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswt\win64" "-DKETTLE_HOME=" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcher\launcher.jar -lib ..\libswt\win64 -main org.pentaho.di.kitchen.Kitchen -initialDir "C:\pentaho\designer-tools\data-integration"\ /rep:reposucos /job:jobPrincipal /dir:repositorio /level:Basic /log:"C:\pentaho\logs\jobLog.log" 23:01:39,075 INFO [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled 23:01:43,166 INFO [KarafInstance]


* Karaf Instance Number: 1 at C:\pentaho\designer-tools\data-integration\ * * .\system\karaf\caches\kitchen\data-1 * * FastBin Provider Port:52901 * * Karaf Port:8802 * * OSGI Service Port:9051 *


2019/08/25 23:01:43 - Kitchen - Logging is at level : Basic 2019/08/25 23:01:43 - Kitchen - Start of run. 2019/08/25 23:01:43 - RepositoriesMeta - Reading repositories XML file: C:\Users\Henrique.kettle\repositories.xml

ERROR: Can't find the supplied directory [repositorio]

ERROR: Kitchen can't continue because the job couldn't be loaded.

Consegui alterei meu arquivo .bat para

kitchen.bat /rep:reposucos /job:jobPrincipal /listdir:"C:\pentaho\repositorios\dwsucos" /level:Basic /log:"C:\pentaho\logs\jobLog.log" > "C:\pentaho\logs\consoleLog.log"

Alteração: de: dir

para: listdir:"C:\pentaho\repositorios\dwsucos\

Oi Paulo! Como vai?

Funcionou com essa alteração?

Abraço!