archive

XCode hangs when archiving

怎甘沉沦 提交于 2019-12-11 03:16:01
问题 When I try to archive one certain project, Xcode fails to respond. If left alone he manages to open the Organiser after a long period. The archive is there. If removed manually from library/developer/xcode/archives Xcode responds again. It happens just with this project, all others archiving just fine. As if Xcode has major problems with the project. We are using Xcode 4.2.1 but tried 4.3 too (same result). Any idea what might be wrong? 回答1: I had similar problems I found that a symbolic link

How to extract all files of any commit to a folder/archive from a Git Repository?

断了今生、忘了曾经 提交于 2019-12-11 03:14:49
问题 I have a Git Repository. I want to export all files and folders from my repository history, based on the different commits, into a folder. But I want to export all commits and branches separately. A sort of backup/archive for my git repository. For example if I have a repository history of: -v2.0 My Latest commit -v1.0 My Initial commit I want to export all files and folders of these different commits into separate folders. I want the files as normal complete files not as a difference patch.

writing (modifying or adding) a file inside a zip

こ雲淡風輕ζ 提交于 2019-12-11 02:37:30
问题 I've followed the instructions in this thread, using the code in there I've been able to add a file to a zip file without uncompressing and recompresing it, but i have a problem, let me show you my code: private void saveFileIntoProjectArchive(Path pathOfFile) { this.projectArchiveFile.setWritable(true, false); Path zipFilePath = Paths.get(this.projectArchiveFile.getAbsolutePath()), pathToSaveInsideZIP = null; FileSystem fs; try { fs = FileSystems.newFileSystem(zipFilePath, null);

How to have git treat tar archives transparently as directories?

冷暖自知 提交于 2019-12-11 02:26:13
问题 I'd like git to version a tar file such that for repository-related functions such as git-diff (and even sophisticated git-merge conflict solutions) the file appears to be a directory with its included files being committed regularly to git, except that on checkout one should obtain a valid tar archive again. Is this somehow achievable? I first thought about using smudge/clean filters, but they merely allow you to modify the file contents of the stored git blob. So, now I'm thinking about

D: how to extract data from archive?

試著忘記壹切 提交于 2019-12-11 02:18:04
问题 I have very simple code that should extract data from archive: import std.stdio; import std.string; import std.file; import std.algorithm; import std.zip; void main() { string ar = `D:\ftp\s2-imfset_2015\IFPET-150101.zip`; auto zip = new ZipArchive(ar.read); foreach(ArchiveMember am; zip.directory) { writeln(am.expandedData); } } (thanks for explaining about each and map difference ). But when I run it it's print [] on console. 回答1: You need to call zip.expand(am) before the expanded data is

Boost binary archives - reducing size

纵饮孤独 提交于 2019-12-11 02:14:17
问题 I am trying to reduce the memory size of boost archives in C++. One problem I have found is that Boost's binary archives default to using 4 bytes for any int, regardless of its magnitude. For this reason, I am getting that an empty boost binary archive takes 62 bytes while an empty text archive takes 40 (text representation of an empty text archive: 22 serialization::archive 14 0 0 1 0 0 0 0 0 ). Is there any way to change this default behavior for ints? Else, are there any other ways to

need help on archives pages in wordpress

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-10 16:08:36
问题 I want to build my own archives page that displays in the format that I want. I want to show all post title, order by month and year. It should look like this : December 2011 Post title 1 3 comments Post title 2 4 comments November 2011 Post title 1 2 comments I'm having trouble figuring out the specifics of the loop that needs to be created for getting the post title and it's comments order by month. This is the archives page example I want to build http://spyrestudios.com/archives/. Please

Xcode 4 - Linking error when archiving application

十年热恋 提交于 2019-12-10 14:55:26
问题 We have been using Xcode 4 and LLVM 2.0 for a couple of months now and after finishing a huge update to our application we thought we would send it off to Apple. What we couldn't imagine however, was that although the program was able to be built for both the simulator and devices, when it came to archiving, XCode just threw a nasty linking error and left us hanging there. The error is related to the ZipKit library (we previously discussed the issues we had with making it work under XCode 4).

append files to an archive without reading/rewriting the whole archive

梦想的初衷 提交于 2019-12-10 14:02:32
问题 I've got many files that I want to store in a single archive file. My first approach was to store the files in a gzipped tarball. The problem is, that I've to rewrite the whole archive if a single file is added. I could get rid of the gzip compression, but adding a file would still be expensive. What other archive format would you suggest that allows fast append operations? 回答1: The ZIP file format was designed to allow appends without a total re-write and is ubiquitous, even on Unix. 回答2:

Xcode 6.3 not archive and get stucks when Compiling Swift Source Files

余生长醉 提交于 2019-12-10 13:01:26
问题 Xcode 6.3 gets stuck on "compiling swift source files" when I try to build for archive! it gets stuck on "compiling last two or three swift files". I waited nine hours but did not happen anything. Do you have any ideas for this problem ? 回答1: Just try to enabling Whole Module Optimization This link can help you. https://developer.apple.com/swift/blog/?id=27 回答2: For me, other solutions don't work for me. I tried to run the commands in Report Navigator and found the stuck file. Here is the