I had a look at management Ant Tasks and trying to see how it works and
also to reconcile the ServiceMix implementations with the JBI spec
section 6.10.
FYI a number of findings/questions
==========
By my
understanding the JBI spec mandates all the Ant task attribute
names. But in most cases these don't seem to match names that the
ServiceMix Ant tasks defines. Huh?
| ServiceMix Ant Task class |
Attributes |
ISSUES |
| Defined by JBI Spec |
In ServiceMix
Task |
| <abstract> JbiTask |
host |
namingHost |
attribute names
differ |
| port |
namingPort |
attribute names
differ |
| username |
username |
- |
| password |
passwd |
attribute names
differ |
| failOnError |
- |
missing
attribute? |
| params |
- |
missing
attribute? |
| InstallComponentTask |
file |
archivePath |
attribute names
differ |
| UninstallComponent |
name |
componentName |
attribute names
differ |
| |
delete |
non-standard
attribute? |
| InstallSharedLibraryTask |
file |
sharedLibURI |
attribute names
differ |
| UninstallSharedLibraryTask |
name |
sharedLibName |
attribute names
differ |
| StartComponentTask |
name |
componentName |
attribute names
differ |
| StopComponentTask |
name |
componentName |
attribute names
differ |
| ShutdownComponentTask |
name |
componentName |
attribute names
differ |
| UninstallAssemblyTask |
name |
assemblyName |
attribute names
differ |
| StartAssemblyTask |
name |
assemblyName |
attribute names
differ |
| StopAssemblyTask |
name |
assemblyName |
attribute names
differ |
| ShutdownAssemblyTask |
name |
assemblyName |
attribute names
differ |
| jbi-list-service-engines ??? |
|
|
|
| jbi-list-binding-components ??? |
|
|
|
| jbi-list-shared-libraries ??? |
|
|
|
| DeployedAssembliesTask |
componentName |
- |
missing
attribute? |
| serviceAssemblyName |
- |
missing
attribute? |
| xmlOutput |
- |
missing
attribute? |
| |
|
|
|
Cheers,
Peter
|
- [servicemix-dev] Study of management Ant Tasks - (Part II) Peter Smith
-