Are you building on Linux?

If yes, you can try to use /dev/shm as a temporary directory for
ANYTHING temporary. It is available by default on most modern distros.
If not, you can easily mount it with:
mount -t tmpfs tmpfs /path/to/mount/dir

When unpacking here it's basically only a read operation from your
hard disk, and when repacking it's basically only a write operation.
It would be the same as a program that would unpack all files into
it's personal memory and rebuild it from there.

Quintin Beukes



On Wed, Sep 23, 2009 at 6:25 PM, David Hoffer <[email protected]> wrote:
> Looks good, I'll give it a try.  Thanks!
>
> On Wed, Sep 23, 2009 at 10:21 AM, Stephen Connolly <
> [email protected]> wrote:
>
>> maybe truezip might give you the options you are after
>>
>> 2009/9/23 David Hoffer <[email protected]>:
>> > As long as its faster that is just fine.  I'm finding that unpacking to
>> disk
>> > and then re-jarring takes too long.
>> >
>> > -Dave
>> >
>> > On Wed, Sep 23, 2009 at 10:00 AM, Stephen Connolly <
>> > [email protected]> wrote:
>> >
>> >> FYI, because of how the zip file format works, you will always have to
>> >> unpack and repack a jar file.
>> >>
>> >> Any tooling you find is simply doing the repacking in memory on the fly
>> >>
>> >> -Stephen
>> >>
>> >> 2009/9/23 David Hoffer <[email protected]>:
>> >> > Is there a maven plugin that can update jars?  I need to modify both a
>> >> jar
>> >> > containing classes and one containing sources.
>> >> >
>> >> > Just wondering the best way to do this.  Unpacking and re-jarring
>> takes
>> >> too
>> >> > long.
>> >> >
>> >> > -Dave
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [email protected]
>> >> For additional commands, e-mail: [email protected]
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to