[
https://issues.jboss.org/browse/JBWS-3824?page=com.atlassian.jira.plugin....
]
R Searls commented on JBWS-3824:
--------------------------------
Assuming no other code outside this archive is using UrlUtils, it can be removed, along
with
the following code replacement.
Do you want me to check-in the code changes?
--- src/main/java/org/jboss/ws/plugins/tools/AbstractToolsMojo.java (revision 19440)
+++ src/main/java/org/jboss/ws/plugins/tools/AbstractToolsMojo.java (working copy)
@@ -200,7 +200,8 @@
for ( String el : classPath )
{
// NOTE: if File points to a directory, this entry MUST end in '/'.
- cp += UrlUtils.getURL(new File(el)).toExternalForm() + " ";
+ File elFile = new File(el);
+ cp += elFile.toURI().toURL().toExternalForm() + " ";
}
"Input line is too long" when running wsprovide in fork
mode on Windows
-----------------------------------------------------------------------
Key: JBWS-3824
URL:
https://issues.jboss.org/browse/JBWS-3824
Project: JBoss Web Services
Issue Type: Bug
Components: jaxws-tools-maven-plugin
Affects Versions: jbossws-jaxws-tools-maven-plugin-1.1.2.Final
Reporter: Alessio Soldano
Assignee: R Searls
Fix For: jbossws-jaxws-tools-maven-plugin-1.2.0.Beta1
When running the tools in fork mode on Windows OS, we can end up building a command line
which is too long.
We should prevent this by using a pathing jar solution, similarly to what Surefire plugin
does (a jar with manifest pointing to the actual dependency jars).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)