dreedyman / Rio

Rio is an open source technology that provides a dynamic architecture for developing, deploying and managing distributed systems composed of services.
Apache License 2.0
21 stars 17 forks source link

5.0 m2 sorcer #32

Closed rafalkrupinski closed 11 years ago

rafalkrupinski commented 11 years ago

These changes allow to configure capability classpath using maven artifacts, like this:

<platform>
    <capability name="cap">
        <version>1.0.0</version>
        <manufacturer>apache</manufacturer>
        <classpath>
            <entry>groupId:artifactId</entry>
            <entry>groupId:artifactId:version</entry>
            <entry>dir_or_jar_file.jar</entry>
        </classpath>
    </capability>
</platform>

tag accepts coordinates with version or without it, in which case it uses value, as well as a path. This version should be backward-compatible and accept standard classpath format.

Also, this branch has changed access level of PlatformLoader.getDefaultPlatform() to protected, allowing it to be overridden.

rafalkrupinski commented 11 years ago

Closing since platform.xml is considered depreprecated