Closed modular-mind closed 3 years ago
The class: org.eclipse.ecf.osgi.services.remoteserviceadmin.EDEFProperties extends the Properties class (mostly so that it can use the Properties.load method). As I recall, the Properties.load parser gets confused if there is nothing after the value...i.e. this represents a problem (not parsed as expected):
endpoint.id:uuid=
But this:
endpoint.id:uuid=0
works ok. The actual value 0 is ignored and so actually it doesn't matter what's after the equals, but there has to be something that's non-whitespace.
Ah, I thought it might be something like that. I made the change to the ECF wiki page and closing now.
I have two bundles providing remote JAX-RS services with edef_defaults.properties in each. If I specify the endpoint.id like:
endpoint.id:uuid=
Then only the first bundle processed gets its service loaded. If I change the default to:
endpoint.id:uuid=0
Then both bundles' remote services get processed. Perhaps I'm just misunderstanding the default syntax and want to clarify.
Thanks :-)