You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by Robert Burrell Donkin <ro...@blueyonder.co.uk> on 2013/07/06 21:15:48 UTC

Re: Duplicate jars in binary archive

On 06/27/13 12:04, sebb wrote:
> Just noticed that several of the jars are duplicated under lib/ in the
> binary archive.
>
> What is the purpose of this?

Not sure...

I'm not a fan of the current binary archive. I'm in favour of a rethink...

Do we need a binary distribution...?

What would a binary distribution give beyond a runnable jar...?

Opinions...? Ideas...?

Robert


Re: Duplicate jars in binary archive

Posted by Robert Burrell Donkin <ro...@blueyonder.co.uk>.
On 07/08/13 20:38, sebb wrote:
> On 8 July 2013 20:28, Robert Burrell Donkin
> <ro...@blueyonder.co.uk> wrote:
>> On 07/08/13 19:56, sebb wrote:
>>>
>>> On 7 July 2013 11:02, Robert Burrell Donkin
>>> <ro...@blueyonder.co.uk> wrote:
>>
>>
>> <snip>
>>
>>
>>>> I also favour removing/relocating the Python recursion script
>>>
>>>
>>> What does it do?
>>
>>
>> It's a little bit like tentacles: it runs through a directory structure
>> containing several releases and runs Rat against each. I doubt many people
>> (other than me) ever used it...
>
> Could surely use Ant to do the same?

I found it useful when bulk evaluating Incubator releases but yes, I 
could have used an Ant script to do that

(I once wrote a command line user interface in Ant, but the less said 
about that the better ;-)

> But if there was call for a standalone utility, it might be better to
> code it in Java to avoid having to install Python as well.

It was originally a script I coded in Python

Tentacles does something similar, and is coded in Java

Robert

Re: Duplicate jars in binary archive

Posted by sebb <se...@gmail.com>.
On 8 July 2013 20:28, Robert Burrell Donkin
<ro...@blueyonder.co.uk> wrote:
> On 07/08/13 19:56, sebb wrote:
>>
>> On 7 July 2013 11:02, Robert Burrell Donkin
>> <ro...@blueyonder.co.uk> wrote:
>
>
> <snip>
>
>
>>> I also favour removing/relocating the Python recursion script
>>
>>
>> What does it do?
>
>
> It's a little bit like tentacles: it runs through a directory structure
> containing several releases and runs Rat against each. I doubt many people
> (other than me) ever used it...

Could surely use Ant to do the same?

But if there was call for a standalone utility, it might be better to
code it in Java to avoid having to install Python as well.

> Robert
>

Re: Duplicate jars in binary archive

Posted by Robert Burrell Donkin <ro...@blueyonder.co.uk>.
On 07/08/13 19:56, sebb wrote:
> On 7 July 2013 11:02, Robert Burrell Donkin
> <ro...@blueyonder.co.uk> wrote:

<snip>

>> I also favour removing/relocating the Python recursion script
>
> What does it do?

It's a little bit like tentacles: it runs through a directory structure 
containing several releases and runs Rat against each. I doubt many 
people (other than me) ever used it...

Robert


Re: Duplicate jars in binary archive

Posted by sebb <se...@gmail.com>.
On 7 July 2013 11:02, Robert Burrell Donkin
<ro...@blueyonder.co.uk> wrote:
> On 07/07/13 00:57, sebb wrote:
>>
>> On 6 July 2013 20:15, Robert Burrell Donkin
>
>
> <snip>
>
>
>>> What would a binary distribution give beyond a runnable jar...?
>>
>>
>> In Commons binary archives contain the compiled jar(s), plus Javadoc
>> (unpacked), plus source examples (if any).
>
>
> :-)
>
>
>> The Javadoc may not be so useful here, as RAT is not normally used as a
>> library.
>>
>>> Opinions...? Ideas...?
>>
>>
>> Using RAT from Maven is very easy, because the jars are pushed to Maven
>> Central.
>
>
> +1
>
>
>> However, I did find it a bit awkard picking out the correct jars to
>> run with Ant.
>
>
> <nod>
>
>
>> Maybe the binary archive could contain directories for cli and Ant use.
>> Or maybe just create combined jars for CLI and ANT use, and add some
>> basic installation instructions.
>> That would be 3 or 4 files; should be easy to use.
>
>
> Yes, I think it should be easy enough to create a single jar suitable for
> both CLI and Ant usage
>
> And yes, an improved README sounds good
>
> Perhaps more elegant to factor out clearly named modules for CLI and
> assembly
>
> I also favour removing/relocating the Python recursion script

What does it do?

It does not seem to have any documentation apart from the AL header.

>
>> There's no point including source or javadoc jars in the binary archive.
>
>
> +1
>
> Robert

Re: Duplicate jars in binary archive

Posted by Robert Burrell Donkin <ro...@blueyonder.co.uk>.
On 07/07/13 00:57, sebb wrote:
> On 6 July 2013 20:15, Robert Burrell Donkin

<snip>

>> What would a binary distribution give beyond a runnable jar...?
>
> In Commons binary archives contain the compiled jar(s), plus Javadoc
> (unpacked), plus source examples (if any).

:-)

> The Javadoc may not be so useful here, as RAT is not normally used as a library.
>
>> Opinions...? Ideas...?
>
> Using RAT from Maven is very easy, because the jars are pushed to Maven Central.

+1

> However, I did find it a bit awkard picking out the correct jars to
> run with Ant.

<nod>

> Maybe the binary archive could contain directories for cli and Ant use.
> Or maybe just create combined jars for CLI and ANT use, and add some
> basic installation instructions.
> That would be 3 or 4 files; should be easy to use.

Yes, I think it should be easy enough to create a single jar suitable 
for both CLI and Ant usage

And yes, an improved README sounds good

Perhaps more elegant to factor out clearly named modules for CLI and 
assembly

I also favour removing/relocating the Python recursion script

> There's no point including source or javadoc jars in the binary archive.

+1

Robert

Re: Duplicate jars in binary archive

Posted by sebb <se...@gmail.com>.
On 6 July 2013 20:15, Robert Burrell Donkin
<ro...@blueyonder.co.uk> wrote:
> On 06/27/13 12:04, sebb wrote:
>>
>> Just noticed that several of the jars are duplicated under lib/ in the
>> binary archive.
>>
>> What is the purpose of this?
>
>
> Not sure...
>
> I'm not a fan of the current binary archive. I'm in favour of a rethink...
>
> Do we need a binary distribution...?
>
> What would a binary distribution give beyond a runnable jar...?

In Commons binary archives contain the compiled jar(s), plus Javadoc
(unpacked), plus source examples (if any).

The Javadoc may not be so useful here, as RAT is not normally used as a library.

> Opinions...? Ideas...?

Using RAT from Maven is very easy, because the jars are pushed to Maven Central.

However, I did find it a bit awkard picking out the correct jars to
run with Ant.

Maybe the binary archive could contain directories for cli and Ant use.
Or maybe just create combined jars for CLI and ANT use, and add some
basic installation instructions.
That would be 3 or 4 files; should be easy to use.

There's no point including source or javadoc jars in the binary archive.

> Robert
>