Closed GoogleCodeExporter closed 9 years ago
I maybe found a fix by replacing "<version>1.1-SNAPSHOT</version>" by
"<version>1.0</version>" but I'm experiencing another problem :
Retrieving document at
'C:\temp\android-soap-enabler\test\application\wsdl\contact.wsdl'.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.215s
[INFO] Finished at: Fri Feb 10 10:39:32 CET 2012
[INFO] Final Memory: 10M/24M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
fr.norsys.asoape:asoape-maven-plugin:1.0:generate-soap-stub (default) on
project test-application: Execution default of goal fr.n
orsys.asoape:asoape-maven-plugin:1.0:generate-soap-stub failed: String index
out of range: 1 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
fr.norsys.asoape:asoape-maven-plugin:1.0:generate-soap-stub (default) on project
test-application: Execution default of goal
fr.norsys.asoape:asoape-maven-plugin:1.0:generate-soap-stub failed: String
index out of range: 1
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default
of goal fr.norsys.asoape:asoape-maven-plugin:1.0:generate-soap-stub failed:
Strin
g index out of range: 1
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
range: 1
at java.lang.String.charAt(Unknown Source)
at java.util.regex.Matcher.appendReplacement(Unknown Source)
at java.util.regex.Matcher.replaceAll(Unknown Source)
at java.lang.String.replaceAll(Unknown Source)
at fr.norsys.asoape.codegen.generator.WSDLGenerator.packageDirectoryPathForPackage(WSDLGenerator.java:237)
at fr.norsys.asoape.codegen.generator.WSDLGenerator.packageDirectoryFor(WSDLGenerator.java:242)
at fr.norsys.asoape.codegen.generator.WSDLGenerator.generateBeanForElement(WSDLGenerator.java:145)
at fr.norsys.asoape.codegen.generator.WSDLGenerator.foundInput(WSDLGenerator.java:117)
at fr.norsys.asoape.codegen.analyzer.WSDLAnalyzer.analyzeOperation(WSDLAnalyzer.java:114)
at fr.norsys.asoape.codegen.analyzer.WSDLAnalyzer.analyzeService(WSDLAnalyzer.java:97)
at fr.norsys.asoape.codegen.analyzer.WSDLAnalyzer.analyze(WSDLAnalyzer.java:69)
at fr.norsys.asoape.codegen.generator.WSDLGenerator.generateFrom(WSDLGenerator.java:89)
at fr.norsys.asoape.mojo.GenerateAndroidClientMojo.execute(GenerateAndroidClientMojo.java:91)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
Original comment by ju.ver...@gmail.com
on 10 Feb 2012 at 9:51
Can you attach the WSDL file please ?
Original comment by wallet.g...@gmail.com
on 10 Feb 2012 at 1:21
Yes, this is this one :
http://code.google.com/p/android-soap-enabler/source/browse/test/application/wsd
l/contact.wsdl
Original comment by ju.ver...@gmail.com
on 10 Feb 2012 at 1:28
Can you post the command output with -X ?
ie. mvn -X clean install
Original comment by wallet.g...@gmail.com
on 10 Feb 2012 at 1:37
Yes sure : http://pastebin.com/PqFj152A
Original comment by ju.ver...@gmail.com
on 10 Feb 2012 at 1:51
I've fixed the build process on Microsoft Windows operating system.
Version 1.1 is comming soon to fix this issue
Original comment by wallet.g...@gmail.com
on 10 Feb 2012 at 5:04
Thank you very much. Can't wait to test it :)
Original comment by ju.ver...@gmail.com
on 11 Feb 2012 at 8:25
Fixed in 1.1
Original comment by wallet.g...@gmail.com
on 14 Feb 2012 at 7:55
Original comment by wallet.g...@gmail.com
on 14 Feb 2012 at 5:54
Original issue reported on code.google.com by
ju.ver...@gmail.com
on 10 Feb 2012 at 8:59