You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by Magnus Pierre <mp...@maprtech.com> on 2016/03/21 16:32:12 UTC
Making a Drill plugin as "runnable jar"
I am messing about with refining my XML parser for Apache Drill, and I would like to make a simple cmd-line interface towards the XML parser i built (which is not dependent on any Drill code, but used by Drill in my plugin), in the same jar, by providing a simple main making it possible to test-run the parser individually from Apache Drill. In order to do this I need to make the module jar built from Apache Drill runnable which seems to be very easy to achieve but I can not get it to take effect.
How to achieve this with the Drill project pom’s? Trying all kinds of combinations (based on my limited Maven understanding), but it seems that I am not able to add a manifest file with main class for a module.
Any ideas appreciated.
Regards,
Magnus
Re: Making a Drill plugin as "runnable jar"
Posted by Magnus Pierre <mp...@maprtech.com>.
Thanks! Appreciated feedback. I’m not on that list so I’ll try the Drill slack group instead.
Regards,
Magnus
> 21 mar 2016 kl. 16:34 skrev Andries Engelbrecht <ae...@maprtech.com>:
>
> Magnus,
>
> This question may be better to post on the dev list than the user list.
>
> --Andries
>
>> On Mar 21, 2016, at 8:32 AM, Magnus Pierre <mp...@maprtech.com> wrote:
>>
>> I am messing about with refining my XML parser for Apache Drill, and I would like to make a simple cmd-line interface towards the XML parser i built (which is not dependent on any Drill code, but used by Drill in my plugin), in the same jar, by providing a simple main making it possible to test-run the parser individually from Apache Drill. In order to do this I need to make the module jar built from Apache Drill runnable which seems to be very easy to achieve but I can not get it to take effect.
>>
>> How to achieve this with the Drill project pom’s? Trying all kinds of combinations (based on my limited Maven understanding), but it seems that I am not able to add a manifest file with main class for a module.
>>
>> Any ideas appreciated.
>>
>> Regards,
>> Magnus
>>
>
Re: Making a Drill plugin as "runnable jar"
Posted by Andries Engelbrecht <ae...@maprtech.com>.
Magnus,
This question may be better to post on the dev list than the user list.
--Andries
> On Mar 21, 2016, at 8:32 AM, Magnus Pierre <mp...@maprtech.com> wrote:
>
> I am messing about with refining my XML parser for Apache Drill, and I would like to make a simple cmd-line interface towards the XML parser i built (which is not dependent on any Drill code, but used by Drill in my plugin), in the same jar, by providing a simple main making it possible to test-run the parser individually from Apache Drill. In order to do this I need to make the module jar built from Apache Drill runnable which seems to be very easy to achieve but I can not get it to take effect.
>
> How to achieve this with the Drill project pom’s? Trying all kinds of combinations (based on my limited Maven understanding), but it seems that I am not able to add a manifest file with main class for a module.
>
> Any ideas appreciated.
>
> Regards,
> Magnus
>