[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New section for 'Building Java Packages' (relating to [RFC: update to our website (on Alioth)])



Hi,

thanks for clarifying that mvn-debian should not be used for real
packaging tasks.

Just out of curiosity, why is that the case (I did not have
any troubles so far)?

I would propose to indicate that clearly when generating a template
using jh_makepkg (as it automatically adds mvn-debian when choosing
a maven build system).  Please find attached a patch against
javatools-0.31 for that purpose.

Thanks,
	Alex

> ludovic.claude54@googlemail.com [10-07-18 23:59] (with possible deletions):
>
> Hello,
>
> I confirm, mvn-debian should not be used for real packaging tasks.
>
> If you package a project which uses Maven, then in a nutshell you should:
> - install the package maven-debian-helper
> - run mh_make from the root directory of the project sources.
>
> I will improve documentation on this, thanks Matthew for your example page, 
> and we still need to work together to integrate Maven with your JavaHelper 
> properly.
>
> Ludovic
>
> Le 17/07/2010 08:40, Alexander Holupirek a écrit :
>>
>> On 16.07.2010, at 01:30, Matthew Johnson wrote:
>>> On Thu Jul 15 12:14, Alexander Holupirek wrote:
>>>> To make a long story short.  A list on the available helpers, their current
>>>> status and a link on how they should be used (or not) would be a great help
>>>> for novices.
>>>>
>>> I am working on this, I've just written a talk on Javahelper to give at Debconf
>>> this year, which I'll make available later, and I've been writing example
>>> sample packages using Javahelper (and dh7, not cdbs) here:
>>>
>>> http://pkg-java.alioth.debian.org/examples/
>>
>> Thanks, Matthew.  That's indeed a good overview and quick start.
>>
>>> I've not got a maven one yet though.
>>
>> It would be nice to clarify the status of mvn-build(1) there (is it ready to be
>> used for 'real' package building or should it be avoided as mentioned in its
>> man page).
>>
>> It would also be cool to have analogous examples for the mh_* tools for library
>> and application building.
>>
>> Are there chances to get some of that stuff mentioned in the 'New
>> maintainers guide'? (maybe in section '4.4.3 Customization of rules file',
>> where also dh_pysupport and the like is mentioned?) [1]
>>
>> Thanks,
>> 	Alex
>>
>> [1] http://www.debian.org/doc/maint-guide/ch-dreq.en.html
>>
>>
--- javatools-0.31/jh_makepkg	2010-02-21 13:10:17.000000000 +0100
+++ javatools-0.31/jh_makepkg.new	2010-07-20 09:14:01.000000000 +0200
@@ -178,11 +178,11 @@
 elif [ -n "`getarg n none`" ]; then
    BUILD="byhand"
 else
-   echo "What type of build system does it have? Ant, Makefiles, or None?"
+   echo "What build system does it have? Ant, Makefiles, Maven, or None?"
    echo "Select:"
    echo -e "\t[A] Ant"
    echo -e "\t[M] Makefiles"
-   echo -e "\t[V] Maven"
+   echo -e "\t[V] Maven [experimental, do not use for 'real' packaging]"
    echo -e "\t[N] None---make one for me (Default)"
    echo -n "[Namv] $ "
    read t

Reply to: