Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Facing error with 7.3 for build job - The input line is too long for the batch file.
I successfully upgraded version from 6.5 to 7.3, import an existing project, installed all the required components and in the studio job works perfectly.
After that, I built a job with absolutely the same config as it was in 6.5 version
But when I try to start it from the command line with the .bat file I'm getting an error:
The input line is too long.
And the content of the bat file is really longer than it was before in 6.5
Is it possible to reduce the number of declared jar links?
Thanks in advance.
UPD
I found that many libraries are duplicated. Is there any way to eliminate this?
../lib/auto-common-0.3.jar;
../lib/auto-common-0.3.jar;
../lib/auto-common-0.3.jar;
../lib/auto-service-1.0-rc2.jar;
../lib/auto-service-1.0-rc2.jar;
../lib/auto-service-1.0-rc2.jar;
../lib/avatica-core-1.11.0.jar;
../lib/avatica-metrics-1.11.0.jar;
../lib/avro-1.8.1.jar;
../lib/avro-1.8.1.jar;
../lib/avro-1.8.1.jar;
../lib/bcprov-jdk15on-1.60.jar;
../lib/calcite-core-1.16.0.jar;
../lib/calcite-linq4j-1.16.0.jar;
../lib/cdata.jdbc.sageintacct.jar;
../lib/commons-beanutils-1.9.3.jar;
../lib/commons-beanutils-1.9.3.jar;
../lib/commons-beanutils-1.9.3.jar;
../lib/commons-codec-1.10.jar;
../lib/commons-codec-1.10.jar;
../lib/commons-codec-1.10.jar;
Hello,
"The input line is too long " , please check with other job builds to confirm the script is not corrupted.
Regards,
Swetha.
What is the max length of a string in ".bat" or ".cmd"? [duplicate]
2047 characters in 32-bit operating system.
8191 characters in 64-bit operating system.
try to catch the bat lenght if you obtain input line is too long error
regards