On Thu, Nov 20, 2008 at 3:04 PM, solsTiCe d'Hiver
<[EMAIL PROTECTED]> wrote:
> hi.
Hi, and thanks for answering :)
> (1)
> why have you dropped the following syntax ${feature%*.jar} in favor of
> ${feature/.jar} ?
>
> it was like that in the source PKGBUILD from Jonathan Wiersma that i
> showed you at http://aur.archlinux.org/packages.php?ID=19476
If there's a difference between the two, then I don't know it. I just
sticked to the syntax I currently use in all of my scripts, which by
the way, if the two are equivalent, looks clearer to me. I've been
exchanging e-mails with Jonathan for quite some time, now. Yesterday I
sent him the link to my blog and he still hasn't said anything... I'm
still waiting for his critics. If he has some to make, that is :)
> you could also use ${pkgname/#eclipse-}
Same question: is this better in some way? What's the real difference?
> (2) you could use the jar command to extract a jar file instead of
> unzip. that's what it's made for. it's in the jdk which is a dependancy
> of eclipse. so you can expect user to have jar command and jdk package
> (jar is also in java-gcj-compat)
This is a great idea, I'll look into it.
> what kind of error do you get with bsdtar when extracting a jar ? and
> how (with which command ?) ? i got none with the only jar i tried to
> extract with bsdtar -xf somejar.jar
Same command (only with -C switch, but that makes no difference). I
got a lot of "Write request too large", same thing that happened here:
http://aur.archlinux.org/packages.php?ID=15746 (and somewhere else,
but it's not very common, so I found no solution).
> and by the way, i don't understand you at all
> in bug #12163, you say eclipse-mylyn is a dep of eclipse-subclipse. but
> now i see that eclispe-subclipse does not depend anymore on
> eclispe-mylyn !?
That was when I didn't really understand how the eclipse plugin system
worked :) Subclipse provided its own version of mylyn, but its
features were jarred, so they weren't detected. At the time I solved
removing mylyn's jars from subclipse and adding eclipse-mylyn as a
dependency. That didn't work very well because I couldn't update mylyn
to the latest release. The problem is now solved.
Corrado