On Fri, 22 Feb 2002, Adrian Brock wrote: > Yet again the windows file url rears it ugly head :-) > > This time it is in EJBDeployer. > The ejbmodule has had it's ObjectName changed to > include the url.getPath(); > > On windows this url is > /C:/some/path/myapp.jar > > The : means the ObjectName is invalid and nothing deploys :-( > > Is this data informational? Can we just strip the > drive part?
URLs have a way to encode incompatible chars. So, the same kind of thing should be done for this. I suggest %, so % and invalid chars(, and :) would be encoded. Quick, painless. Could be done in a factory(I've seen cvs messages about some ObjectNameFactory). _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development