question about Ark in command line within Ubuntu

Raphael Kubo da Costa rakuco at FreeBSD.org
Mon Oct 15 12:12:05 BST 2018


orichard <orichard at neomailbox.ch> writes:

> Hello Raphael,
>
> I hope I am not disturbing you. I actually saw your email address in the man
> pages of the ark Linux command as a maintainer of this tool.
> I was wondering whether you could help me, well only if you want of course.
> I am actually trying to use Ark in command line in order to dynamically insert
> inside a jar file (Java) at a specified namespace sub-dirctory a .class file.
> It is feasible usng the GUI, but I woud like to do it with the command line
> without decompressing, copying my file, and then re-compressing it back. I am
> not sure it is feasible actually.
> So I tried the following:
>
> ark -p org/personal/computers --add-to my_app.jar
> /home/olivier/_developpement/ComputingInstance.class
>
> where ComputingInstance.class is the .class file I wish to insert in my_app.jar
> under subfolder org/personal/computers.
> But unfortunately it is inserted at root directory inside the package.
> I can't find the trick in internet for achieving this.
>
> Thank you for any help if possible :)
>
> kind regards,
> Olivier.

Hi Olivier,

I actually stepped down as Ark's maintainer years ago, so I'm CC'ing the
kdeutils mailing list for the current maintainers to chime in.

Cheers,
Raphael


More information about the Kde-utils-devel mailing list