javaee / metro-jaxws-commons

Metro has been contributed to Eclipse Foundation. This repository is for legacy review only. Please refer to the Eclipse EE4J Metro project for the very latest
https://eclipse-ee4j.github.io/metro-wsit/
Other
10 stars 9 forks source link

maven build fails with error - The command line is too long. #110

Closed glassfishrobot closed 11 years ago

glassfishrobot commented 11 years ago

mvn clean install fails with an error "The command line is too long." on Windows environment. This issue does not come in 2.2.1 or 2.2 release. A little debugging of plugin code reveals 2 things 1. AbstractWsGenMojo.getExtraClasspath() generates duplicate classpath which is already added inside a file (createPathFile) 2. AbstractWsGenMojo.getExtraClasspath() does not appends classpath to file, which can be a problem for a little big project. (since absolute path of jars are used in classpath).

Environment

windows 7

Affected Versions

[2.3]

glassfishrobot commented 11 years ago

Reported by kaushal_nith

glassfishrobot commented 11 years ago

@lukasj said: removed duplicated entries from the classpath: https://java.net/projects/jax-ws-commons/sources/svn/revision/1170

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAX_WS_COMMONS-110

glassfishrobot commented 11 years ago

Marked as fixed on Thursday, August 8th 2013, 9:20:47 am