NoClassDefFoundError during custom tool installation.

2016-07-09 Thread Martin Hjelmqvist
Currently extending custom tools plugin with a RAR file extractor. Using the JUnrar library to unpack RAR files, just like the ZipExtractionInstaller

Re: custom-tools plugin: adding support for 7z-files

2016-07-01 Thread Martin Hjelmqvist
Been some time since last post, but here's an update. A .7z extractor is no longer to be developed, instead it will be a .rar extractor using the JUnrar library. A pull request* on Github to the extra-tool-installers-plugin repo has been made and the progress can be seen here

Re: custom-tools plugin: adding support for 7z-files

2016-05-07 Thread Martin Hjelmqvist
Bump :) Den tisdag 3 maj 2016 kl. 15:30:09 UTC+2 skrev Martin Hjelmqvist: > > Most likely you do not need it, because you can implement a standalone >> ToolInstaller. But such switch is a good option for generic installers as >> well. >> > > Aha, so making a standa

Re: custom-tools plugin: adding support for 7z-files

2016-05-01 Thread Martin Hjelmqvist
Thanks for the reply. Figured you were busy with something. :) > You are right, the extraction happens in FilePath. In the Jenkins project > we rely on the implementation in org.apache.commons.compress.archivers. It > supports endian bits at least for unarchive operations. > Yes and no, we

Re: custom-tools plugin: adding support for 7z-files

2016-04-12 Thread Martin Hjelmqvist
group or permission bits, and represents times using NTFS timestamps (100 nanosecond units since 1 January 1601). Hence the official tools*recommend against using it for backup purposes on *nix*, and recommend .tar.7z or .tar.lzma or .tar.xz instead." Best regards, Martin Hjelmqvist -- Yo

Re: custom-tools plugin: adding support for 7z-files

2016-03-24 Thread Martin Hjelmqvist
I have code for a simple 7z-extractor using Apache's SevenZ classes, but 7-Zip-JBinding might be better to use instead. I'll have a closer look at it later. Thanks for the tip. :) Den torsdag 24 mars 2016 kl. 13:12:12 UTC+1 skrev Boris Brodski: > > Sorry for interfering. Can 7-Zip-JBinding be

Re: custom-tools plugin: adding support for 7z-files

2016-03-24 Thread Martin Hjelmqvist
checks whether the archive ends with zip or tar.gz. Source (line 821 and 847): https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/FilePath.java Should I do any changes there as well or is there any other way to do this? Sincerely, Martin Hjelmqvist Den tisdag 22 mars 2016 kl

Re: custom-tools plugin: adding support for 7z-files

2016-03-22 Thread Martin Hjelmqvist
ToolInstaller)? By extension points, you mean like BatchCommandInstaller and SharedDirectoryInstaller? Trying to get a picture of the structure. :) Sincerely, Martin Hjelmqvist Den tisdag 22 mars 2016 kl. 11:08:54 UTC+1 skrev Oleg Nenashev: > > Hi Martin, > > Great to hear that yo

custom-tools plugin: adding support for 7z-files

2016-03-22 Thread Martin Hjelmqvist
that will work in the end. Any thoughts? Sincerely, Martin Hjelmqvist Bachelor Thesis at HMS Industrial Networks, Sweden -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, sen