ant tasks do not work from install (taskdef.properties incorrect)
-----------------------------------------------------------------
Key: SMX4-323
URL: https://issues.apache.org/activemq/browse/SMX4-323
Project: ServiceMix 4
Issue Type: Bug
Reporter: Greg Lucas
The ant tasks do not work from a typical install because the
ant/servicemix_ant_taskdef.properties file is using the the smx3 package
(jbi.management) rather than the smx4 for package (jbi.deployer):
$:/opt/apache-servicemix-4.0.0$ ant -f ant/servicemix-ant-task.xml help
Buildfile: ant/servicemix-ant-task.xml
BUILD FAILED
/opt/apache-servicemix-4.0.0/ant/servicemix-ant-task.xml:30: taskdef class
org.apache.servicemix.jbi.management.task.InstallComponentTask cannot be found
Looking in to this I see the servicemix_ant_taskdef.properties file exists in
two places in the source tree:
./features/assembly/src/main/distribution/ant/servicemix_ant_taskdef.properties
./nmr/assembly/src/main/distribution/ant/servicemix_ant_taskdef.properties
The one under features is incorrect, while the one under nmr is correct. We
should install the correct one and probably remove the other.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.