pombreda / gwt-maven

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

MojoExecutionException - The command line is too long. #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using the 1.5.1 version of the plugin and i'm having problems compiling
my project.
It gives me a MojoExecutionException and in the continuum it gives me the
following message The command line is too long.
I think it is because the plugin creates a command to be executed that
surpass the capacity of the buffer of the command, and this is because of
the classpath the plugin creates, it's huge.

here is the classpath:

Using classpath:
C:\Projects\wow\implementation\connectors\in-track\target\class
es;C:\Documents and
Settings\recampelos\.m2\repository\opensymphony\sitemesh\2.2
.1\sitemesh-2.2.1.jar;C:\Documents and
Settings\recampelos\.m2\repository\xerces
\xmlParserAPIs\2.6.2\xmlParserAPIs-2.6.2.jar;C:\Documents and
Settings\recampelo
s\.m2\repository\log4j\log4j\1.2.14\log4j-1.2.14.jar;C:\Documents and
Settings\r
ecampelos\.m2\repository\oro\oro\2.0.8\oro-2.0.8.jar;C:\Documents and
Settings\r
ecampelos\.m2\repository\jaxen\jaxen\1.0-FCS\jaxen-1.0-FCS.jar;C:\Documents and
Settings\recampelos\.m2\repository\mysql\mysql-connector-java\3.1.12\mysql-conne
ctor-java-3.1.12.jar;C:\Documents and
Settings\recampelos\.m2\repository\commons
-validator\commons-validator\1.1.4\commons-validator-1.1.4.jar;C:\Documents and
Settings\recampelos\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\Doc
uments and
Settings\recampelos\.m2\repository\commons-net\commons-net\1.4.1\comm
ons-net-1.4.1.jar;C:\Documents and
Settings\recampelos\.m2\repository\javax\mail
\mail\1.4\mail-1.4.jar;C:\Documents and
Settings\recampelos\.m2\repository\poi\p
oi\1.5.1\poi-1.5.1.jar;C:\Documents and
Settings\recampelos\.m2\repository\concu
rrent\concurrent\1.3.4\concurrent-1.3.4.jar;C:\Documents and
Settings\recampelos
\.m2\repository\javax\servlet\jstl\1.1.2\jstl-1.1.2.jar;C:\Documents and
Setting
s\recampelos\.m2\repository\org\codehaus\plexus\plexus-utils\1.0.4\plexus-utils-
1.0.4.jar;C:\Documents and
Settings\recampelos\.m2\repository\commons-configurat
ion\commons-configuration\1.1\commons-configuration-1.1.jar;C:\Documents
and Set
tings\recampelos\.m2\repository\org\apache\maven\maven-profile\2.0\maven-profile
-2.0.jar;C:\Documents and
Settings\recampelos\.m2\repository\org\apache\maven\ma
ven-artifact-ant\2.0\maven-artifact-ant-2.0.jar;C:\Documents and
Settings\recamp
elos\.m2\repository\commons-lang\commons-lang\2.2\commons-lang-2.2.jar;C:\Docume
nts and
Settings\recampelos\.m2\repository\commons-beanutils\commons-beanutils\1
.7.0\commons-beanutils-1.7.0.jar;C:\Documents and
Settings\recampelos\.m2\reposi
tory\jboss\jboss-j2ee\4.0.2\jboss-j2ee-4.0.2.jar;C:\Documents and
Settings\recam
pelos\.m2\repository\org\apache\geronimo\specs\geronimo-j2ee-connector_1.5_spec\
1.0.1\geronimo-j2ee-connector_1.5_spec-1.0.1.jar;C:\Documents and
Settings\recam
pelos\.m2\repository\xalan\xalan\2.5.1\xalan-2.5.1.jar;C:\Documents and
Settings
\recampelos\.m2\repository\commons-codec\commons-codec\1.2\commons-codec-1.2.jar
;C:\Documents and
Settings\recampelos\.m2\repository\jakarta-oro\jakarta-oro\1.4
.1\jakarta-oro-1.4.1.jar;C:\Documents and
Settings\recampelos\.m2\repository\com
mons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar;C:\Documents
and Se
ttings\recampelos\.m2\repository\dom4j\dom4j\1.4\dom4j-1.4.jar;C:\Documents and
Settings\recampelos\.m2\repository\jboss\jboss-common-client\3.2.3\jboss-common-
client-3.2.3.jar;C:\Documents and
Settings\recampelos\.m2\repository\commons-dis
covery\commons-discovery\0.2\commons-discovery-0.2.jar;C:\Documents and
Settings
\recampelos\.m2\repository\xerces\xercesImpl\2.6.2\xercesImpl-2.6.2.jar;C:\Docum
ents and
Settings\recampelos\.m2\repository\com\oracle\ojdbc14\9.0.2.0.0\ojdbc14
-9.0.2.0.0.jar;C:\Documents and
Settings\recampelos\.m2\repository\jfor\jfor\1.6
.2\jfor-1.6.2.jar;C:\Documents and
Settings\recampelos\.m2\repository\bcel\bcel\
5.1\bcel-5.1.jar;C:\Documents and
Settings\recampelos\.m2\repository\quartz\quar
tz\1.4.5\quartz-1.4.5.jar;C:\Documents and
Settings\recampelos\.m2\repository\op
ensymphony\clickstream\1.0.2\clickstream-1.0.2.jar;C:\Documents and
Settings\rec
ampelos\.m2\repository\javax\xml\jaxm-api\1.1.2\jaxm-api-1.1.2.jar;C:\Documents
and
Settings\recampelos\.m2\repository\javax\xml\jaxrpc-api\1.1\jaxrpc-api-1.1.j
ar;C:\Documents and
Settings\recampelos\.m2\repository\commons-jxpath\commons-jx
path\1.2\commons-jxpath-1.2.jar;C:\Documents and
Settings\recampelos\.m2\reposit
ory\ant\ant-optional\1.5.1\ant-optional-1.5.1.jar;C:\Documents and
Settings\reca
mpelos\.m2\repository\org\mule\modules\mule-module-client\1.3.2\mule-module-clie
nt-1.3.2.jar;C:\Documents and
Settings\recampelos\.m2\repository\org\apache\mave
n\wagon\wagon-provider-api\1.0-alpha-5\wagon-provider-api-1.0-alpha-5.jar;C:\Doc
uments and
Settings\recampelos\.m2\repository\org\safehaus\jug\jug\2.0.0\jug-2.0
.0-asl.jar;C:\Documents and
Settings\recampelos\.m2\repository\postgresql\postgr
esql\8.1-404.jdbc3\postgresql-8.1-404.jdbc3.jar;C:\Documents and
Settings\recamp
elos\.m2\repository\commons-pool\commons-pool\1.3\commons-pool-1.3.jar;C:\Docume
nts and
Settings\recampelos\.m2\repository\org\safehaus\jug\jug\2.0.0\jug-2.0.0.
jar;C:\Documents and
Settings\recampelos\.m2\repository\org\jibx\jibx-run\1.0.1\
jibx-run-1.0.1.jar;C:\Documents and
Settings\recampelos\.m2\repository\net\sourc
eforge\jtds\jtds\1.2\jtds-1.2.jar;C:\Documents and
Settings\recampelos\.m2\repos
itory\commons-beanutils\commons-beanutils-core\1.7.0\commons-beanutils-core-1.7.
0.jar;C:\Documents and
Settings\recampelos\.m2\repository\commons-httpclient\com
mons-httpclient\3.0.1\commons-httpclient-3.0.1.jar;C:\Documents and
Settings\rec
ampelos\.m2\repository\commons-beanutils\commons-beanutils-bean-collections\1.7.
0\commons-beanutils-bean-collections-1.7.0.jar;C:\Documents and
Settings\recampe
los\.m2\repository\mx4j\mx4j-jmx\2.1.1\mx4j-jmx-2.1.1.jar;C:\Documents and
Setti
ngs\recampelos\.m2\repository\jboss\jbossmq-client\4.0.2\jbossmq-client-4.0.2.ja
r;C:\Documents and
Settings\recampelos\.m2\repository\org\apache\geronimo\specs\
geronimo-jms_1.1_spec\1.0.1\geronimo-jms_1.1_spec-1.0.1.jar;C:\Documents
and Set
tings\recampelos\.m2\repository\org\samba\jcifs\jcifs\1.2.7\jcifs-1.2.7.jar;C:\D
ocuments and
Settings\recampelos\.m2\repository\commons-fileupload\commons-fileu
pload\1.1.1\commons-fileupload-1.1.1.jar;C:\Documents and
Settings\recampelos\.m
2\repository\org\mule\modules\mule-module-management\1.3.2\mule-module-managemen
t-1.3.2.jar;C:\Documents and
Settings\recampelos\.m2\repository\org\apache\geron
imo\specs\geronimo-j2ee-management_1.0_spec\1.0.1\geronimo-j2ee-management_1.0_s
pec-1.0.1.jar;C:\Documents and
Settings\recampelos\.m2\repository\struts\struts\
1.2.9\struts-1.2.9.jar;C:\Documents and
Settings\recampelos\.m2\repository\org\m
ule\modules\mule-module-builders\1.3.2\mule-module-builders-1.3.2.jar;C:\Documen
ts and
Settings\recampelos\.m2\repository\jboss\jbosssx\3.2.3\jbosssx-3.2.3.jar;
C:\Documents and
Settings\recampelos\.m2\repository\commons-digester\commons-dig
ester\1.7\commons-digester-1.7.jar;C:\Documents and
Settings\recampelos\.m2\repo
sitory\org\apache\geronimo\specs\geronimo-jta_1.0.1B_spec\1.0.1\geronimo-jta_1.0
.1B_spec-1.0.1.jar;C:\Documents and
Settings\recampelos\.m2\repository\com\googl
e\gwt\gwt-dev-windows\1.3.3\gwt-dev-windows-1.3.3.jar;C:\Documents and
Settings\
recampelos\.m2\repository\commons-dbutils\commons-dbutils\1.0\commons-dbutils-1.
0.jar;C:\Documents and
Settings\recampelos\.m2\repository\org\apache\geronimo\sp
ecs\geronimo-ejb_2.1_spec\1.0.1\geronimo-ejb_2.1_spec-1.0.1.jar;C:\Documents
and
 Settings\recampelos\.m2\repository\xpp3\xpp3\1.1.3.4.O\xpp3-1.1.3.4.O.jar;C:\Do
cuments and
Settings\recampelos\.m2\repository\xml-apis\xml-apis\1.3.03\xml-apis
-1.3.03.jar;C:\Documents and
Settings\recampelos\.m2\repository\antlr\antlr\2.7.
2\antlr-2.7.2.jar;C:\Documents and
Settings\recampelos\.m2\repository\jivesoftwa
re\smack\2.2.1\smack-2.2.1.jar;C:\Documents and
Settings\recampelos\.m2\reposito
ry\fop\fop\0.20.5rc2\fop-0.20.5rc2.jar;C:\Documents and
Settings\recampelos\.m2\
repository\saxpath\saxpath\1.0-FCS\saxpath-1.0-FCS.jar;C:\Documents and
Settings
\recampelos\.m2\repository\uk\ltd\getahead\dwr\1.1-rc1\dwr-1.1-rc1.jar;C:\Docume
nts and
Settings\recampelos\.m2\repository\com\sun\xml\jaxm-runtime\1.1.2\jaxm-r
untime-1.1.2.jar;C:\Documents and
Settings\recampelos\.m2\repository\com\google\
gwt\gwt-user\1.3.3\gwt-user-1.3.3.jar;C:\Documents and
Settings\recampelos\.m2\r
epository\org\jibx\jibx-bind\1.0.1\jibx-bind-1.0.1.jar;C:\Documents and
Settings
\recampelos\.m2\repository\p6spy\p6spy\1.3\p6spy-1.3.jar;C:\Documents and
Settin
gs\recampelos\.m2\repository\commons-io\commons-io\1.2\commons-io-1.2.jar;C:\Doc
uments and
Settings\recampelos\.m2\repository\org\mule\mule-core\1.3.2\mule-core
-1.3.2.jar;C:\Documents and
Settings\recampelos\.m2\repository\mx4j\mx4j-impl\2.
1.1\mx4j-impl-2.1.1.jar;C:\Documents and
Settings\recampelos\.m2\repository\org\
codehaus\plexus\plexus-container-default\1.0-alpha-8\plexus-container-default-1.
0-alpha-8.jar;C:\Documents and
Settings\recampelos\.m2\repository\isorelax\isore
lax\20020414\isorelax-20020414.jar;C:\Documents and
Settings\recampelos\.m2\repo
sitory\mx4j\mx4j-tools\2.1.1\mx4j-tools-2.1.1.jar;C:\Documents and
Settings\reca
mpelos\.m2\repository\opensymphony\oscore\2.2.4\oscore-2.2.4.jar;C:\Documents
an
d
Settings\recampelos\.m2\repository\org\apache\maven\maven-settings\2.0\maven-s
ettings-2.0.jar;C:\Documents and
Settings\recampelos\.m2\repository\net\sourcefo
rge\pjl-comp-filter\pjl-comp-filter\1.6.4\pjl-comp-filter-1.6.4.jar;C:\Documents
 and
Settings\recampelos\.m2\repository\javax\activation\activation\1.1\activati
on-1.1.jar;C:\Documents and
Settings\recampelos\.m2\repository\woodstox\wstx-asl
\3.0.2\wstx-asl-3.0.2.jar;C:\Documents and
Settings\recampelos\.m2\repository\xp
p3\xpp3_min\1.1.3.4.O\xpp3_min-1.1.3.4.O.jar;C:\Documents and
Settings\recampelo
s\.m2\repository\stxx\stxx\1.3\stxx-1.3.jar;C:\Documents and
Settings\recampelos
\.m2\repository\com\criticalsoftware\wow\common\6.0-SNAPSHOT\common-6.0-SNAPSHOT
.jar;C:\Documents and
Settings\recampelos\.m2\repository\struts\struts-legacy\1.
1\struts-legacy-1.1.jar;C:\Documents and
Settings\recampelos\.m2\repository\aopa
lliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Documents and
Settings\recampelos
\.m2\repository\msv\msv\20020414\msv-20020414.jar;C:\Documents and
Settings\reca
mpelos\.m2\repository\jivesoftware\smackx\2.2.1\smackx-2.2.1.jar;C:\Documents
an
d
Settings\recampelos\.m2\repository\com\sun\jdmk\jmxtools\1.2\jmxtools-1.2.jar;
C:\Documents and
Settings\recampelos\.m2\repository\jboss\jboss-common\3.2.3\jbo
ss-common-3.2.3.jar;C:\Documents and
Settings\recampelos\.m2\repository\backport
-util-concurrent\backport-util-concurrent\3.0\backport-util-concurrent-3.0.jar;C
:\Documents and
Settings\recampelos\.m2\repository\aspectj\aspectjrt\1.5.0\aspec
tjrt-1.5.0.jar;C:\Documents and
Settings\recampelos\.m2\repository\com\sun\jmx\j
mxri\1.2\jmxri-1.2.jar;C:\Documents and
Settings\recampelos\.m2\repository\org\a
pache\maven\maven-repository-metadata\2.0\maven-repository-metadata-2.0.jar;C:\D
ocuments and
Settings\recampelos\.m2\repository\org\apache\maven\maven-error-dia
gnostics\2.0\maven-error-diagnostics-2.0.jar;C:\Documents and
Settings\recampelo
s\.m2\repository\org\springframework\spring\1.2.8\spring-1.2.8.jar;C:\Documents
and
Settings\recampelos\.m2\repository\commons-collections\commons-collections\3
.2\commons-collections-3.2.jar;C:\Documents and
Settings\recampelos\.m2\reposito
ry\batik\batik\1.5\batik-1.5.jar;C:\Documents and
Settings\recampelos\.m2\reposi
tory\org\apache\maven\maven-model\2.0\maven-model-2.0.jar;C:\Documents and
Setti
ngs\recampelos\.m2\repository\mx4j\mx4j-remote\2.1.1\mx4j-remote-2.1.1.jar;C:\Do
cuments and
Settings\recampelos\.m2\repository\cos\cos\1.4.0\cos-1.4.0.jar;C:\Do
cuments and
Settings\recampelos\.m2\repository\com\thoughtworks\xstream\xstream\
1.2.1\xstream-1.2.1.jar;C:\Documents and
Settings\recampelos\.m2\repository\clas
sworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar;C:\Documents
and Set
tings\recampelos\.m2\repository\javax\jms\jms\1.1\jms-1.1.jar;C:\Documents
and S
ettings\recampelos\.m2\repository\org\apache\maven\maven-project\2.0-1\maven-pro
ject-2.0-1.jar;C:\Documents and
Settings\recampelos\.m2\repository\irontracksql\
irontracksql\1.5.3\irontracksql-1.5.3.jar;C:\Documents and
Settings\recampelos\.
m2\repository\cglib\cglib-nodep\2.1_3\cglib-nodep-2.1_3.jar;C:\Documents
and Set
tings\recampelos\.m2\repository\org\apache\geronimo\specs\geronimo-servlet_2.4_s
pec\1.0.1\geronimo-servlet_2.4_spec-1.0.1.jar;C:\Documents and
Settings\recampel
os\.m2\repository\org\mule\modules\mule-module-xml\1.3.2\mule-module-xml-1.3.2.j
ar;C:\Documents and
Settings\recampelos\.m2\repository\javax\servlet\servlet-api
\2.3\servlet-api-2.3.jar;C:\Documents and
Settings\recampelos\.m2\repository\org
\apache\maven\maven-artifact\2.0-1\maven-artifact-2.0-1.jar;C:\Documents
and Set
tings\recampelos\.m2\repository\com\google\gwt\gwt-servlet\1.3.3\gwt-servlet-1.3
.3.jar;C:\Documents and
Settings\recampelos\.m2\repository\aspectj\aspectjtools\
1.5\aspectjtools-1.5.jar;C:\Documents and
Settings\recampelos\.m2\repository\org
\apache\maven\maven-artifact-manager\2.0\maven-artifact-manager-2.0.jar;C:\Docum
ents and
Settings\recampelos\.m2\repository\ant\ant\1.6.2\ant-1.6.2.jar;C:\Docum
ents and
Settings\recampelos\.m2\repository\jgroups\jgroups\2.4.0\jgroups-2.4.0.
jar;C:\Documents and
Settings\recampelos\.m2\repository\jboss\jnp-client\4.0.2\j
np-client-4.0.2.jar;C:\Documents and
Settings\recampelos\.m2\repository\jdom\jdo
m\1.0\jdom-1.0.jar;C:\Documents and
Settings\recampelos\.m2\repository\org\mule\
modules\mule-module-spring\1.3.2\mule-module-spring-1.3.2.jar;C:\Documents
and S
ettings\recampelos\.m2\repository\relaxngDatatype\relaxngDatatype\20020414\relax
ngDatatype-20020414.jar;C:\Documents and
Settings\recampelos\.m2\repository\xerc
es\xerces\1.2.3\xerces-1.2.3.jar;C:\Documents and
Settings\recampelos\.m2\reposi
tory\commons-dbcp\commons-dbcp\1.2.1\commons-dbcp-1.2.1.jar;C:\Documents
and Set
tings\recampelos\.m2\repository\opensymphony\oscache\2.3\oscache-2.3.jar;C:\Docu
ments and
Settings\recampelos\.m2\repository\org\mule\transports\mule-transport-
jms\1.3.2\mule-transport-jms-1.3.2.jar;C:\Projects\wow\implementation\connectors
\in-track\GWT\gwt-dev-linux.jar;C:\Projects\wow\implementation\connectors\in-tra
ck\GWT\gwt-dev-mac.jar;C:\Projects\wow\implementation\connectors\in-track\GWT\gw
t-dev-windows.jar;C:\Projects\wow\implementation\connectors\in-track\GWT\gwt-use
r.jar;C:\Projects\wow\implementation\connectors\in-track\resources;C:\Projects\w
ow\implementation\connectors\in-track\conf;C:\Projects\wow\implementation\connec
tors\in-track\src\main\java

and the problem is that i only use like 6 of the libraries in it.

Is the some way to configure the classpath the the plugin generates?     

Original issue reported on code.google.com by ricardo....@gmail.com on 26 Mar 2007 at 2:46

GoogleCodeExporter commented 9 years ago

Original comment by charlie....@gmail.com on 30 Mar 2007 at 8:03