<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000066" bgcolor="#FFFFFF">
<p>Hi Elvis, thanks for your help. That is actually what I
understood.</p>
<p>I will manage with a script by using ark for decompressing,
adding my file, and re-compressing back.</p>
<p>Thanks anyway.</p>
<p>Ciao</p>
<p>Olivier.<br>
</p>
<div class="moz-cite-prefix">Le 24/10/2018 à 18:56, Elvis Angelaccio
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:52adadcc-960f-48f8-9233-a8ad33f6d8b1@kde.org">Hi
Olivier,
<br>
<br>
unfortunately it's not possible to achieve what you are looking
for.
<br>
<br>
The -p argument tells ark which folder should be used to compress
files from. So if you do "-p org/personal/computers", ark will try
to change its current working dir to "org/personal/computers".
<br>
<br>
Cheers,
<br>
Elvis
<br>
<br>
On venerdì 19 ottobre 2018 12:20:45 CEST, orichard wrote:
<br>
<blockquote type="cite">thanks for your reply Raphael. I'm
actually not sure that what I ask is feasible using the command
line. Idea someone?
<br>
<br>
Cheers,
<br>
<br>
Olivier.
<br>
<br>
Le 15/10/2018 à 13:12, Raphael Kubo da Costa a écrit :
<br>
orichard <a class="moz-txt-link-rfc2396E" href="mailto:orichard@neomailbox.ch"><orichard@neomailbox.ch></a> writes:
<br>
<br>
Hello Raphael,
<br>
<br>
I hope I am not disturbing you. I actually saw your email
address in the man
<br>
pages of the ark Linux command as a maintainer of this tool.
<br>
I was wondering whether you could help me, well only if you want
of course.
<br>
I am actually trying to use Ark in command line in order to
dynamically insert
<br>
inside a jar file (Java) at a specified namespace sub-dirctory a
.class file.
<br>
It is feasible usng the GUI, but I woud like to do it with the
command line
<br>
without decompressing, copying my file, and then re-compressing
it back. I am
<br>
not sure it is feasible actually.
<br>
So I tried the following:
<br>
<br>
ark -p org/personal/computers --add-to my_app.jar
<br>
/home/olivier/_developpement/ComputingInstance.class
<br>
<br>
where ComputingInstance.class is the .class file I wish to
insert in my_app.jar
<br>
under subfolder org/personal/computers.
<br>
But unfortunately it is inserted at root directory inside the
package.
<br>
I can't find the trick in internet for achieving this.
<br>
<br>
Thank you for any help if possible :)
<br>
<br>
kind regards,
<br>
Olivier.
<br>
Hi Olivier,
<br>
<br>
I actually stepped down as Ark's maintainer years ago, so I'm
CC'ing the
<br>
kdeutils mailing list for the current maintainers to chime in.
<br>
<br>
Cheers,
<br>
Raphael
<br>
<br>
<br>
</blockquote>
<br>
</blockquote>
</body>
</html>