* Toshio Kuratomi <a.badger(a)gmail.com> [2009-05-09 13:25]:
Jussi Lehtola wrote:
>
> there seems to be an inconsistency with the Java guidelines:
>
http://fedoraproject.org/wiki/Packaging/Java
>
>
http://fedoraproject.org/wiki/Packaging/Java#Jar_file_naming states that
> if the package only contains a single .jar file it should have the same
> name as the package, but the ant and maven spec file templates
> install .jar files as
>
> cp -p [build path to jar] \
> $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
>
I would lean towards Java#Jar_file_naming being clarified but I'm not a
java guy. Andrew, Fernando, Deepak, someone want to write up a
clarification of this?
Sure, I'll speak about this with Deepak and others and get something
written up.
> Also, I find it a bit inconsistent that java packages don't
have to have
> a java- prefix as python, perl, php and so on packages have to.
I do to but I think this is the standard for enough packages that we
shouldn't look at fixing it unless it's causing breakage.
Agreed. Most (all?) of this stuff came from JPackage and there's little
point in breaking compatibility/naming.
Andrew