No worries, the example installers will need to be modified in that case
otherwise they will fail. Btw, what is the current state of the tests in
SM?
gnodet wrote:
>
> Currently, there is no validity check performed after loading the jbi
> descriptor.
> ServiceMix should ensure that all mandatory fields are filled and throw a
> meaningful
> exception when this is not the case.
> Could you raise a JIRA issue for that ?
>
> Cheers,
> Guillaume Nodet
>
> On 6/27/06, Terry Cox <[EMAIL PROTECTED]> wrote:
>>
>> > The question here is should the test component installer jbi.xml
>> > files have the bootstrap-class-path element added as an empty
>> > element (<bootstrap-class-path/>) ?
>>
>>
>> The specification is not that helpful here:
>>
>> "The JBI implementation MUST create an InstallationContext object,
>> initialized to provide the following data:
>> •Installation root, as a String containing the root's full directory
>> path name.
>> •Bootstrap class name, as given in the installation descriptor.
>> •Bootstrap class path, as given in the installation descriptor." <snip>
>>
>> Nothing is said about default paths, however, from the JBI schema,
>> bootstrap class path is not shown as optional, so should be provided for
>> the file to be valid.
>>
>> "component =
>> element component {
>> attribute type { "service-engine" | "binding-component" },
>> attribute component-class-loader-delegation { "parent-first" |
>> "self-first" }?,
>> attribute bootstrap-class-loader-delegation { "parent-first" |
>> "self-first" }?,
>> identification,
>> element component-class-name { attribute description { text }?, text },
>> element component-class path { class path },
>> element bootstrap-class-name { text },
>> element bootstrap-class path { class path },
>> shared-library-list*,
>> element* -this:* { text }*
>> }"
>>
>> Terry
>>
>
>
--
View this message in context:
http://www.nabble.com/NPE-running-ComponentAssemblyInstallationTest-in-servicemix-core-tf1855321.html#a5070115
Sent from the ServiceMix - Dev forum at Nabble.com.