Problem with keytool execution whitespace in path -------------------------------------------------
Key: MWEBSTART-29 URL: http://jira.codehaus.org/browse/MWEBSTART-29 Project: Maven 2.x Webstart Plugin Issue Type: Bug Affects Versions: 1.0 Environment: JAVA 6.0 maven 2.0.5 Reporter: Eric Barboni I got the following issue try to execute webstart plugin. It s in french but it say's c:\program is not recognized as a internal or external command , an executable or a command file [debug] keytool executable=[C:\Program Files\Java\jdk1.6.0\jre\..\bin\keytool.exe] [debug] Executing: "C:\Program Files\Java\jdk1.6.0\jre\..\bin\keytool.exe" ################## [warn] 'C:\Program' n'est pas reconnu en tant que commande interne [warn] ou externe, un programme excutable ou un fichier de commandes. [INFO]------------------------------------------------------------------------ [ERROR]BUILD ERROR [INFO]------------------------------------------------------------------------ [INFO]Result of "C:\Program Files\Java\jdk1.6.0\jre\..\bin\keytool.exe" ###################### execution is: '1': 'C:\Program' n'est pas reconnu en tant que commande interneou externe, un programme excutable ou un fichier de commandes.. [INFO]------------------------------------------------------------------------ [INFO]Trace org.apache.maven.lifecycle.LifecycleExecutionException: Result of "C:\Program Files\Java\jdk1.6.0\jre\..\bin\keytool.exe" ######################### execution is: '1': 'C:\Program' n'est pas reconnu en tant que commande interneou externe, un programme excutable ou un fichier de commandes.. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:635) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:551) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:530) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:309) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:276) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:393) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:182) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:760) at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:257) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131) Caused by: org.apache.maven.plugin.MojoExecutionException: Result of "C:\Program Files\Java\jdk1.6.0\jre\..\bin\keytool.exe" ######################### execution is: '1': 'C:\Program' n'est pas reconnu en tant que commande interneou externe, un programme excutable ou un fichier de commandes.. at org.codehaus.mojo.keytool.GenkeyMojo.execute(GenkeyMojo.java:207) at org.codehaus.mojo.webstart.JnlpMojo.genKeyStore(JnlpMojo.java:848) at org.codehaus.mojo.webstart.JnlpMojo.execute(JnlpMojo.java:448) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:610) ... 10 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email