saiddfhi / gwt-maven

Automatically exported from code.google.com/p/gwt-maven
0 stars 0 forks source link

Command Line Length > 8192 causes "BUILD ERROR" message #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Maven 2

What steps will reproduce the problem?
1. A lot of dependencies and/or a long path to the location of the m2 local
repository

What is the expected output? What do you see instead?

the gwt compiler should run, but due to the maximum line length of a shell
command on windows the gwt compiler doesn't even run.

What version of the product are you using? On what operating system?

n/a, windows xp sp2

Please provide any additional information below.

here's an example command that files to run because it's too long:

[INFO] Running GWTCompile with command:
C:\Progra~1\Java\jdk1.5.0_11\jre\bin\java -Xmx512M -classpath
"D:\data\GRT5\grt5
\sops-app\sops-gwt-client\target\classes;C:\Documents and
Settings\dominicc\.m2\repository\aopalliance\aopalliance\1.0\a
opalliance-1.0.jar;C:\Documents and
Settings\dominicc\.m2\repository\axis\axis\1.4\axis-1.4.jar;C:\Documents
and Setting
s\dominicc\.m2\repository\acegisecurity\acegi-security-tiger\1.0.4\acegi-securit
y-tiger-1.0.4.jar;C:\Documents
and Setti
ngs\dominicc\.m2\repository\org\springframework\spring-beans\2.5.2\spring-beans-
2.5.2.jar;C:\Documents
and Settings\domi
nicc\.m2\repository\poi\poi\2.5.1-final-20040804\poi-2.5.1-final-20040804.jar;C:
\Documents
and Settings\dominicc\.m2\rep
ository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\logkit\logkit\1.0.1\log
kit-1.0.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\codehaus\plexus\plexus-container-default\1.
0-alpha-9
-stable-1\plexus-container-default-1.0-alpha-9-stable-1.jar;C:\Documents
and Settings\dominicc\.m2\repository\jboss\jbos
s-messaging-client\1.4.0.GA\jboss-messaging-client-1.4.0.GA.jar;C:\Documents
and Settings\dominicc\.m2\repository\javax\
jms\jms\1.1\jms-1.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\codehaus\mojo\xmlbeans-maven-plugin\2.3.1\
xmlbeans-maven-plugin-2.3.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\junit-addons\junit-addons\1.4\junit-ad
dons-1.4.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\springframework\spring-mock\2.0.8\spring-mo
ck-2.0.8.j
ar;C:\Documents and
Settings\dominicc\.m2\repository\org\apache\maven\maven-artifact-manager\2.0.6\m
aven-artifact-manage
r-2.0.6.jar;C:\Documents and
Settings\dominicc\.m2\repository\net\sf\ehcache\ehcache\1.2.3\ehcache-1.2.3.jar;
C:\Document
s and
Settings\dominicc\.m2\repository\ehcache\ehcache\1.2.4\ehcache-1.2.4.jar;C:\Docu
ments
and Settings\dominicc\.m2\re
pository\commons-io\commons-io\1.3.1\commons-io-1.3.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\apache\m
aven\wagon\wagon-provider-api\1.0-beta-2\wagon-provider-api-1.0-beta-2.jar;C:\Do
cuments
and Settings\dominicc\.m2\reposi
tory\jboss\jnp-client\4.2.0\jnp-client-4.2.0.jar;C:\Documents and
Settings\dominicc\.m2\repository\commons-logging\commo
ns-logging\1.1\commons-logging-1.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\hibernate\hibernate-annotat
ions\3.2.0.ga\hibernate-annotations-3.2.0.ga.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\springframework\s
pring\2.5.2\spring-2.5.2.jar;C:\Documents and
Settings\dominicc\.m2\repository\classworlds\classworlds\1.1-alpha-2\class
worlds-1.1-alpha-2.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\apache\maven\maven-repository-metadata\2.0.
6\maven-repository-metadata-2.0.6.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\hibernate\hibernate\3.2.5.ga
\hibernate-3.2.5.ga.jar;C:\Documents and
Settings\dominicc\.m2\repository\com\gr\grt5\infrastructure-gwt\1.0-SNAPSHOT\in
frastructure-gwt-1.0-SNAPSHOT.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\springframework\integration\spri
ng-integration-core\1.0.0.m2\spring-integration-core-1.0.0.m2.jar;C:\Documents
and Settings\dominicc\.m2\repository\com\
google\gwt\gwt-servlet\1.4.60\gwt-servlet-1.4.60.jar;C:\Documents and
Settings\dominicc\.m2\repository\javax\mail\mail\1
.4\mail-1.4.jar;C:\Documents and
Settings\dominicc\.m2\repository\com\mockrunner\mockrunner\0.3.1\mockrunner-0.3.
1.jar;C
:\Documents and
Settings\dominicc\.m2\repository\aspectj\aspectjrt\1.5.2a\aspectjrt-1.5.2a.jar;C
:\Documents
and Settings
\dominicc\.m2\repository\jboss\trove\1.0.2-brew\trove-1.0.2-brew.jar;C:\Document
s
and Settings\dominicc\.m2\repository\j
boss\jbossall-client\4.2.0\jbossall-client-4.2.0.jar;C:\Documents and
Settings\dominicc\.m2\repository\axis\axis-wsdl4j\
1.5.1\axis-wsdl4j-1.5.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\commons-pool\commons-pool\1.2\commons-pool
-1.2.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\apache\maven\maven-model\2.0.6\maven-model-
2.0.6.jar;C:\D
ocuments and
Settings\dominicc\.m2\repository\net\sf\dozer\dozer\4.1\dozer-4.1.jar;C:\Documen
ts
and Settings\dominicc\.m
2\repository\javax\transaction\jta\1.0.1B\jta-1.0.1B.jar;C:\Documents and
Settings\dominicc\.m2\repository\junit\junit\3
.8.1\junit-3.8.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\apache\xmlbeans\xmlbeans\2.3.0\xmlbeans-2.3
.0
.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\springframework\spring-webmvc\2.5.2\spring-
webmvc-2.5.2.jar;C
:\Documents and
Settings\dominicc\.m2\repository\jboss\javassist\3.5.0.GA-brew\javassist-3.5.0.G
A-brew.jar;C:\Documents
and
Settings\dominicc\.m2\repository\com\gr\grt5\sops\sops-services\1.0-SNAPSHOT\sop
s-services-1.0-SNAPSHOT.jar;C:\Docum
ents and
Settings\dominicc\.m2\repository\com\gr\grt5\infrastructure\1.0-SNAPSHOT\infrast
ructure-1.0-SNAPSHOT.jar;C:\Doc
uments and
Settings\dominicc\.m2\repository\commons-discovery\commons-discovery\0.2\commons
-discovery-0.2.jar;C:\Documen
ts and
Settings\dominicc\.m2\repository\commons-lang\commons-lang\2.1\commons-lang-2.1.
jar;C:\Documents
and Settings\dom
inicc\.m2\repository\antlr\antlr\2.7.6\antlr-2.7.6.jar;C:\Documents and
Settings\dominicc\.m2\repository\com\gr\grt5\inf
rastructure-dto\1.0-SNAPSHOT\infrastructure-dto-1.0-SNAPSHOT.jar;C:\Documents
and Settings\dominicc\.m2\repository\commo
ns-dbcp\commons-dbcp\1.2\commons-dbcp-1.2.jar;C:\Documents and
Settings\dominicc\.m2\repository\commons-beanutils\common
s-beanutils\1.7.0\commons-beanutils-1.7.0.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\springframework\spri
ng-core\2.5.2\spring-core-2.5.2.jar;C:\Documents and
Settings\dominicc\.m2\repository\axis\axis-jaxrpc\1.4\axis-jaxrpc-1
.4.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\apache\maven\maven-profile\2.0.6\maven-prof
ile-2.0.6.jar;C:
\Documents and
Settings\dominicc\.m2\repository\avalon-framework\avalon-framework\4.1.3\avalon-
framework-4.1.3.jar;C:\Do
cuments and
Settings\dominicc\.m2\repository\org\apache\maven\maven-plugin-registry\2.0.6\ma
ven-plugin-registry-2.0.6.ja
r;C:\Documents and
Settings\dominicc\.m2\repository\org\apache\maven\maven-project\2.0.6\maven-proj
ect-2.0.6.jar;C:\Docu
ments and
Settings\dominicc\.m2\repository\oro\oro\2.0.8\oro-2.0.8.jar;C:\Documents
and Settings\dominicc\.m2\repository
\asm\asm\2.2.1\asm-2.2.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\javax\persistence\persistence-api\1.0\per
sistence-api-1.0.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\apache\maven\maven-settings\2.0.6\maven-set
ti
ngs-2.0.6.jar;C:\Documents and
Settings\dominicc\.m2\repository\xml-resolver\xml-resolver\1.2\xml-resolver-1.2.
jar;C:\Do
cuments and
Settings\dominicc\.m2\repository\log4j\log4j\1.2.15\log4j-1.2.15.jar;C:\Document
s
and Settings\dominicc\.m2\
repository\asm\asm-commons\2.2.1\asm-commons-2.2.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\xerces\xercesIm
pl\2.0.2\xercesImpl-2.0.2.jar;C:\Documents and
Settings\dominicc\.m2\repository\javax\activation\activation\1.1\activati
on-1.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\org\apache\maven\maven-plugin-api\2.0.6\maven-p
lugin-api-2.
0.6.jar;C:\Documents and
Settings\dominicc\.m2\repository\com\gr\grt5\sops\sops-resources\1.0-SNAPSHOT\so
ps-resources-1.
0-SNAPSHOT.jar;C:\Documents and
Settings\dominicc\.m2\repository\joda-time\joda-time\1.4\joda-time-1.4.jar;C:\Do
cuments
and
Settings\dominicc\.m2\repository\mysql\mysql-connector-java\5.0.4\mysql-connecto
r-java-5.0.4.jar;C:\Documents
and Se
ttings\dominicc\.m2\repository\aspectj\aspectjweaver\1.5.2a\aspectjweaver-1.5.2a
.jar;C:\Documents
and Settings\dominicc\
.m2\repository\org\springframework\integration\spring-integration-adapters\1.0.0
.m2\spring-integration-adapters-1.0.0.m2
.jar;C:\Documents and
Settings\dominicc\.m2\repository\axis\axis-saaj\1.4\axis-saaj-1.4.jar;C:\Documen
ts
and Settings\do
minicc\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\cglib\cglib-no
dep\2.1_3\cglib-nodep-2.1_3.jar;C:\Documents and
Settings\dominicc\.m2\repository\cas\casclient\2.1.1\casclient-2.1.1.ja
r;C:\Documents and
Settings\dominicc\.m2\repository\com\sun\jmx\jmxri\1.2.1\jmxri-1.2.1.jar;C:\Docu
ments
and Settings\do
minicc\.m2\repository\jboss\jboss-aop\1.5.5.GA\jboss-aop-1.5.5.GA.jar;C:\Documen
ts
and Settings\dominicc\.m2\repository\
com\gr\grt5\sops\sops-domain\1.0-SNAPSHOT\sops-domain-1.0-SNAPSHOT.jar;C:\Docume
nts
and Settings\dominicc\.m2\repository
\com\gr\grt5\sops\sops-dto\1.0-SNAPSHOT\sops-dto-1.0-SNAPSHOT.jar;C:\Documents
and Settings\dominicc\.m2\repository\com\
gr\grt5\infrastructure-services\1.0-SNAPSHOT\infrastructure-services-1.0-SNAPSHO
T.jar;C:\Documents
and Settings\dominicc
\.m2\repository\org\springframework\spring-web\2.5.2\spring-web-2.5.2.jar;C:\Doc
uments
and Settings\dominicc\.m2\reposit
ory\org\apache\maven\maven-artifact\2.0.6\maven-artifact-2.0.6.jar;C:\Documents
and Settings\dominicc\.m2\repository\com
mons-fileupload\commons-fileupload\1.1.1\commons-fileupload-1.1.1.jar;C:\Documen
ts
and Settings\dominicc\.m2\repository\
commons-collections\commons-collections\3.2\commons-collections-3.2.jar;C:\Docum
ents
and Settings\dominicc\.m2\repositor
y\org\springframework\spring-context\2.5.2\spring-context-2.5.2.jar;C:\Documents
and Settings\dominicc\.m2\repository\xe
rces\xmlParserAPIs\2.6.2\xmlParserAPIs-2.6.2.jar;C:\Documents and
Settings\dominicc\.m2\repository\asm\asm-attrs\2.2.1\a
sm-attrs-2.2.1.jar;C:\Documents and
Settings\dominicc\.m2\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;C:
\Doc
uments and
Settings\dominicc\.m2\repository\org\dbunit\dbunit\2.2\dbunit-2.2.jar;C:\Documen
ts
and Settings\dominicc\.m2\
repository\acegisecurity\acegi-security\1.0.4\acegi-security-1.0.4.jar;C:\Docume
nts
and Settings\dominicc\.m2\repository
\org\springframework\spring-context-support\2.5.2\spring-context-support-2.5.2.j
ar;C:\Documents
and Settings\dominicc\.m
2\repository\com\sun\jdmk\jmxtools\1.2.1\jmxtools-1.2.1.jar;C:\Documents
and Settings\dominicc\.m2\repository\org\codeha
us\plexus\plexus-utils\1.4.2\plexus-utils-1.4.2.jar;C:\Documents and
Settings\dominicc\.m2\repository\acegisecurity\aceg
i-security-cas\1.0.4\acegi-security-cas-1.0.4.jar;C:\Documents and
Settings\dominicc\.m2\repository\jboss\jboss-messagin
g\1.4.0.GA\jboss-messaging-1.4.0.GA.jar;D:\data\libs\gwt-windows-1.4.60\gwt-dev-
linux.jar;D:\data\libs\gwt-windows-1.4.6
0\gwt-dev-mac.jar;D:\data\libs\gwt-windows-1.4.60\gwt-dev-windows.jar;D:\data\li
bs\gwt-windows-1.4.60\gwt-user.jar;D:\da
ta\GRT5\grt5\sops-app\sops-gwt-client\src\main\resources;D:\data\GRT5\grt5\sops-
app\sops-gwt-client\src\main\java"
com.g
oogle.gwt.dev.GWTCompiler -logLevel INFO -style OBF -out
D:\data\GRT5\grt5\sops-app\sops-gwt-client\target\sopsclient co
m.gr.grt5.sops.gui.MainModule

Original issue reported on code.google.com by dominic....@gr-tech.net on 3 Apr 2008 at 10:53

GoogleCodeExporter commented 9 years ago
oops, duplicate of issue 88.

Original comment by dominic....@gr-tech.net on 3 Apr 2008 at 11:02

GoogleCodeExporter commented 9 years ago
there's still an issue.  issue 88 isn't fixed and i still have a problem even 
with
2.0-beta12

Original comment by dominic....@gr-tech.net on 3 Apr 2008 at 11:24

GoogleCodeExporter commented 9 years ago
Have you also increased the comspec, as per the other issue? 

Original comment by charlie....@gmail.com on 3 Apr 2008 at 12:15

GoogleCodeExporter commented 9 years ago
if by "comspec" you mean start cmd.exe with "/e:32768" then yes and I've updated
ticket 88 with further information.  If that's not what you mean then please 
provide
further instructions as after an extensive internet web search i couldn't find 
any
other settings that would let anyone change the maximum command line length in 
xp.

I'll provide further updates on issue 88 rather than here.

Please close this ticket and reopen issue 88

Original comment by dominic....@gr-tech.net on 3 Apr 2008 at 3:37

GoogleCodeExporter commented 9 years ago

Original comment by charlie....@gmail.com on 4 Apr 2008 at 11:22