Chad--

Thanks -- this should fix BEEHIVE-782 which was an enhancement to turn ExtensionMaker into an Ant task.

I like this direction as Ant tasks tend to be easier to use than Java "main" methods. One question would be how this would integrate with Maven, but we can certainly add this support in the future.

  Anyone else have thoughts about this?

Eddie




Chad Schoettger wrote:
Just wanted to make sure all see this change, it may affect you if you are using the service control:

* I have created a new Ant task, ServiceControlGeneratorTask, which is functionally equivalent to the 'ExtensionMaker' java class.

* ExtensionMaker has been renamed to 'ServiceControlGenerator' and its main() method has been removed since now we have an ant task for it.

* I have also removed the common-cli library from the beehive tree, it was only being used by ExtensionMaker and since ExtensionMaker no longer processes command line arguments there was no point in keeping it in the tree.

* All samples which used ExtensionMaker have been updated to use the new ant task.


- Chad








---------- Forwarded message ----------
From: Chad Schoettger (JIRA) <beehive-dev@incubator.apache.org >
Date: Jul 26, 2005 1:47 PM
Subject: [jira] Updated: (BEEHIVE-782) create Ant task for generating a web service control To: beehive-dev@incubator.apache.org
[ http://issues.apache.org/jira/browse/BEEHIVE-782?page=all ]

Chad Schoettger updated BEEHIVE-782:
------------------------------------
Attachment: BEEHIVE-782.diff
BEEHIVE-782.txt
BEEHIVE-782.zip

Attached patch for this issue, included patch instructions and zip file containing new ant task. Renamed ExtensionMaker class to ServiceControlGenerator.

create Ant task for generating a web service control
----------------------------------------------------

Key: BEEHIVE-782
URL: http://issues.apache.org/jira/browse/BEEHIVE-782
Project: Beehive
Type: New Feature
Components: System Controls
Versions: v1m1, V1Alpha, V1Beta, TBD
Reporter: Eddie O'Neil Fix For: TBD
Attachments: BEEHIVE-782.diff, BEEHIVE-782.txt, BEEHIVE-782.zip

Currently, the Java class ExtensionMaker is used to generate a web service
control, and it is called from an Ant build as something like:
<java classname="
org.apache.beehive.controls.system.webservice.generator.ExtensionMaker">
<classpath>
<path refid="build.classpath" />
<pathelement location="${build.classes}" />
</classpath>
<arg line="-gen_root ${gen.source.dir}
-wsdl ${schema.dir}
-pkg ${my.service.control.package}" />
</java>
It would be quite useful to provide an Ant task that does the same thing
with a cleaner Ant API like:
<generateServiceControl srcdestdir="${ gen.src.dir}"
wsdl="${schema.dir}"
outputpackage="${my.service.control.package}"/>
-- or something similar :).

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
 http://www.atlassian.com/software/jira


Reply via email to