This has already been fixed and is scheduled for inclusion in Axis2 1.6.0: https://issues.apache.org/jira/browse/AXIS2-4326
Andreas On Wed, May 18, 2011 at 20:27, Ferdinand Niedermann <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello > > I believe I may have found a bug in Axis2. > In JAXWSDeployer.java in the method protected ArrayList > getListOfClasses(DeploymentFileData deploymentFileData): > > The line > > name = name.replaceAll(".class", ""); > > needs to be replaced with > > name = name.replaceAll("\\.class", ""); > > because the first argument of replaceAll is a Regex. Otherwise > "/classes/Foo.class" in name would be removed as well, resulting in > "es.Foo" which is obviously wrong. > > I don't know whether this is already fixed in the trunk. > > Ferdinand Niedermann > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.16 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk3UD58ACgkQ8t2WdJZzhZ+XyQCfXKtLOAj1Q/CaN9WyTyaPfISC > ilcAnA4kiLYv28qbomS/0jEidG+xBOI2 > =4AVc > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
