Hi All,
I am trying to execute a batch file to debug my java application with eclipse.I want to set collection of jar
files in to the class path before that,so I am using a .bat file for that. While running the .bat file I am getting an error as
"The input line is too long".What is the problem stoping me here?.It
is exactly breaking after line 72.I am using windows 2000 server.Any help should be great.
My Bat file contents are as follows
@echo off set path=D:\workspace\tomcat\bin;C:\Program Files\Java\jre1.6.0_07\bin;C:\Program Files\Java\jdk1.6.0_12\bin; set classpath=C:\Program Files\Java\jdk1.6.0_12\lib\tools.jar; set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_12; set CATALINA_HOME=D:\workspace\tomcat\bin; set classpath=%classpath%;D:\workspace\tomcat\bin\bootstrap.jar; set classpath=%classpath%;D:\workspace\tomcat\common\lib\naming-factory-dbcp.jar; set classpath=%classpath%;D:\Application\ProjectJars\activation-1.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\activeio-core-3.1.0.jar; set classpath=%classpath%;D:\Application\ProjectJars\activemq-core-5.2.0.jar; set classpath=%classpath%;D:\Application\ProjectJars\annogen-0.1.0.jar; set classpath=%classpath%;D:\Application\ProjectJars\antlr-2.7.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\aopalliance-1.0.jar; set classpath=%classpath%;D:\Application\ProjectJars\asm-1.5.3.jar; set classpath=%classpath%;D:\Application\ProjectJars\asm-attrs-1.5.3.jar; set classpath=%classpath%;D:\Application\ProjectJars\aspectjweaver-1.6.2.jar; set classpath=%classpath%;D:\Application\ProjectJars\axiom-api-1.2.7.jar; set classpath=%classpath%;D:\Application\ProjectJars\axiom-dom-1.2.7.jar; set classpath=%classpath%;D:\Application\ProjectJars\axiom-impl-1.2.7.jar; set classpath=%classpath%;D:\Application\ProjectJars\axis2-1.4.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\axis2-kernel-1.4.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\axis2-spring-1.4.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\backport-util-concurrent-2.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\bsh-2.0b4.jar; set classpath=%classpath%;D:\Application\ProjectJars\camel-core-1.5.0.jar; set classpath=%classpath%;D:\Application\ProjectJars\cglib-2.1_3.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-beanutils-1.7.0.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-codec-1.3.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-collections-3.2.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-dbcp-1.2.2.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-digester-1.8.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-discovery-0.4.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-email-1.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-fileupload-1.2.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-httpclient-3.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-io-1.4.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-lang-2.4.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-logging-1.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-logging-api-1.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\commons-pool-1.3.jar; set classpath=%classpath%;D:\Application\ProjectJars\dom4j-1.6.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\ehcache-1.2.3.jar; set classpath=%classpath%;D:\Application\ProjectJars\ejb3-persistence-1.0.1.GA.jar; set classpath=%classpath%;D:\Application\ProjectJars\geronimo-j2ee-management_1.0_spec-1.0.jar; set classpath=%classpath%;D:\Application\ProjectJars\geronimo-jms_1.1_spec-1.1.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\geronimo-stax-api_1.0_spec-1.0.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\gom-bp-0.0.1-SNAPSHOT.jar; set classpath=%classpath%;D:\Application\ProjectJars\gov-aa-0.0.1-SNAPSHOT.jar; set classpath=%classpath%;D:\Application\ProjectJars\gov-be-0.0.1-SNAPSHOT.jar; set classpath=%classpath%;D:\Application\ProjectJars\gov-bf-0.0.1-SNAPSHOT.jar; set classpath=%classpath%;D:\Application\ProjectJars\gov-fw-0.0.1-SNAPSHOT.jar; set classpath=%classpath%;D:\Application\ProjectJars\gov-hr-0.0.1-SNAPSHOT.jar; set classpath=%classpath%;D:\Application\ProjectJars\gov-mail-0.0.1-SNAPSHOT.jar; set classpath=%classpath%;D:\Application\ProjectJars\gov-pr-0.0.1-SNAPSHOT.jar; set classpath=%classpath%;D:\Application\ProjectJars\gov-ui-0.0.1-SNAPSHOT.jar; set classpath=%classpath%;D:\Application\ProjectJars\gov-web-zktheme.jar; set classpath=%classpath%;D:\Application\ProjectJars\hibernate-3.2.5.ga.jar; set classpath=%classpath%;D:\Application\ProjectJars\hibernate-annotations-3.3.1.GA.jar; set classpath=%classpath%;D:\Application\ProjectJars\hibernate-commons-annotations-3.0.0.ga.jar; set classpath=%classpath%;D:\Application\ProjectJars\httpcore-4.0-beta1.jar; set classpath=%classpath%;D:\Application\ProjectJars\httpcore-nio-4.0-beta1.jar; set classpath=%classpath%;D:\Application\ProjectJars\itext-2.1.4.jar; set classpath=%classpath%;D:\Application\ProjectJars\jasperreports-3.1.2.jar; set classpath=%classpath%;D:\Application\ProjectJars\jaxen-1.1.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\jcifs-1.2.19.jar; set classpath=%classpath%;D:\Application\ProjectJars\jcommon-1.0.12.jar; set classpath=%classpath%;D:\Application\ProjectJars\jfreechart-1.0.9.jar; set classpath=%classpath%;D:\Application\ProjectJars\jibx-run-1.2.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\jsf-facelets-1.1.11.jar; set classpath=%classpath%;D:\Application\ProjectJars\jstl-1.2.jar; set classpath=%classpath%;D:\Application\ProjectJars\jta-1.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\jxl-2.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\license4j-1.4.jar; set classpath=%classpath%;D:\Application\ProjectJars\log4j-1.2.14.jar; set classpath=%classpath%;D:\Application\ProjectJars\mail-1.4.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\myfaces-api-1.2.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\myfaces-impl-1.2.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\mysql-connector-java-5.1.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\neethi-2.0.4.jar; set classpath=%classpath%;D:\Application\ProjectJars\ojdbc-10.2.0.4.0.jar; set classpath=%classpath%;D:\Application\ProjectJars\opencsv-1.8.jar; set classpath=%classpath%;D:\Application\ProjectJars\persistence-api-1.0.jar; set classpath=%classpath%;D:\Application\ProjectJars\poi-3.0.2-FINAL.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-aop-2.5.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-beans-2.5.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-context-2.5.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-context-support-2.5.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-core-2.5.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-jdbc-2.5.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-jms-2.5.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-orm-2.5.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-security-acl-2.0.4.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-security-core-2.0.4.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-security-core-tiger-2.0.4.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-security-ntlm-2.0.4.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-tx-2.5.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\spring-web-2.5.6.jar; set classpath=%classpath%;D:\Application\ProjectJars\stax-api-1.0.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\trinidad-api-1.2.10.jar; set classpath=%classpath%;D:\Application\ProjectJars\trinidad-impl-1.2.10.jar; set classpath=%classpath%;D:\Application\ProjectJars\woden-api-1.0M8.jar; set classpath=%classpath%;D:\Application\ProjectJars\woden-impl-dom-1.0M8.jar; set classpath=%classpath%;D:\Application\ProjectJars\wsdl4j-1.6.2.jar; set classpath=%classpath%;D:\Application\ProjectJars\wstx-asl-3.2.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\xalan-2.7.0.jar; set classpath=%classpath%;D:\Application\ProjectJars\xbean-spring-3.5.jar; set classpath=%classpath%;D:\Application\ProjectJars\xercesImpl-2.8.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\xml-apis-1.3.04.jar; set classpath=%classpath%;D:\Application\ProjectJars\xmlParserAPIs-2.6.0.jar; set classpath=%classpath%;D:\Application\ProjectJars\XmlSchema-1.4.2.jar; set classpath=%classpath%;D:\Application\ProjectJars\zcommon-3.6.0.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\zcommons-el-1.0.2.jar; set classpath=%classpath%;D:\Application\ProjectJars\zhtml-3.6.0.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\zk-3.6.0.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\zkex-3.6.0.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\zkmax-3.6.0.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\zkplus-3.6.0.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\zml-3.6.0.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\zul-3.6.0.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\zuljsf-0.8.1.jar; set classpath=%classpath%;D:\Application\ProjectJars\zweb-3.6.0.1.jar; java -Xrunjdwp:transport=dt_socket,server=y,address=8989 -Dcatalina.base="D:\workspace\tomcat" -Djava.io.tmpdir="D:\workspace\tomcat\temp" org.apache.catalina.startup.Bootstrap start
Thanks in advance
Vivek.