Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I just built a Talend job for Windows, in order to execute the job from the generated batch file.
I originally stored the built job folder within a folder called "Talend Showcase - Call Center Analytics", but upon execution the job fails with "Error: could not find or load main class Showcase".
However, the job works perfectly when I move it within a folder named "TalendShowcase_CallCenterAnalytics_BuiltTalendJob".
Just curious if it's possible to modify the built job to execute the job within a directory that contains spaces.
Thanks in advance.
Regards,
Veronica
Hi,
it is possible, just not interesting because of it is a "Bad Practice" (same as column in db with space, or local language filenames and etc)
if it needed, you could edit .bat file
%~d0 cd %~dp0 java -Dtalend.component.manager.m2.repository=%cd%/../lib -Xms256M -Xmx1024M -cp .;
just replace %cd%/ for ./
%~d0 cd %~dp0 java -Dtalend.component.manager.m2.repository=./../lib -Xms256M -Xmx1024M -cp .;
and it will work
Hi,
it is possible, just not interesting because of it is a "Bad Practice" (same as column in db with space, or local language filenames and etc)
if it needed, you could edit .bat file
%~d0 cd %~dp0 java -Dtalend.component.manager.m2.repository=%cd%/../lib -Xms256M -Xmx1024M -cp .;
just replace %cd%/ for ./
%~d0 cd %~dp0 java -Dtalend.component.manager.m2.repository=./../lib -Xms256M -Xmx1024M -cp .;
and it will work