Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in create tar.gz for mac os #95

Open
kathyqe opened this issue Apr 6, 2011 · 0 comments
Open

bug in create tar.gz for mac os #95

kathyqe opened this issue Apr 6, 2011 · 0 comments
Labels

Comments

@kathyqe
Copy link

kathyqe commented Apr 6, 2011

I think there is a bug in creating tar.gz used by installerjammer. In normal case it works fine, but in some cases it fail to create a good tar.gz file. I encountered the problem in mac os and I suspect that it fails because it can not handle large file properly. Specifically after I ungzip and untar on mac. I load MainWindow.xib into IDE. when I try to compile. It complains about


com.apple.ibtool.errors description Could not read archive. failure-reason The archive's XML representation could not be parsed.

Line 396: Extra content at the end of the document





Build complete -- 1 error, 1 warning


the size of MainWindows.xib is about 16K. I can get around the problem and create a good tar.gz file by just using ant's tar/gzip call. I am using apache-ant-1.8.2. Following are the snippet I copied from my build.xml file


    <mkdir dir="${tar.dir}"/>
       <move todir="${tar.dir}">
            <fileset dir="${tar.dist.dir}"/>
       </move>
    <tar destfile="${installers.base.dir}/voyager.tar" basedir="${tar.dist.dir}"/>

    <gzip destfile="${installers.base.dir}/voyager.tar.gz" src="${installers.base.dir}/voyager.tar"/>
</target>

this way I can create a good tar.gz file that can be untar on mac os and still compile. Because of other requirements I prefer installjammer can provide good installer for mac. I did try the alpha version of installjammer for mac. But after installation. It failed on "The archive's XML representation could not be parsed.". I think the root cause is installjammer use a buggy create tar.gz to create installer for mac.... Can you fix that? Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant