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

Add the ability to make simple tar files. #754

Closed
codenameone opened this issue Mar 27, 2015 · 6 comments
Closed

Add the ability to make simple tar files. #754

codenameone opened this issue Mar 27, 2015 · 6 comments

Comments

@codenameone
Copy link
Collaborator

Original issue 754 created by codenameone on 2013-06-20T19:55:22.000Z:

As far as I can tell, Codename One does not currently have any utility code for creating a tar, zip, or any other file which packages together multiple files for later unpackaging.

Please add a library for reading and writing simple uncompressed tar files.

I have modified jtar to be compatible with Codename One (I have not given them a Codename One package name - I'm leaving that up to you.)

Jtar is licensed under the Apache License, Version 2.0. I believe that by adding comments to the files indicating that they were modified, I have satisfied the terms of that license such that I can use and distribute the code freely (please correct me if you believe that is not the case.)

The modifications are my own and I give Codename One permission to use, modify, and distribute the code in any way that does not violate any law or the pre-existing license under which jtar is provided.

I have not extensively tested the code so I recommend doing some of your own testing to make sure it passes your quality standards.

@codenameone
Copy link
Collaborator Author

Comment #1 originally posted by codenameone on 2013-06-21T05:48:48.000Z:

That seems like a somewhat specific use case that might be better served by an external CN1Lib rather than incorporation into the core, right?
The current code also uses Java5 features which is something we haven't started in the core (yet).

@codenameone
Copy link
Collaborator Author

Comment #2 originally posted by codenameone on 2013-06-21T16:40:54.000Z:

I agree that this is a specific use case. I had not been aware of external CN1Libs. Is there a central place where those go, or is it just a naming convention that you recommend for individual CN1-compatible projects?

@codenameone
Copy link
Collaborator Author

Comment #3 originally posted by codenameone on 2013-06-21T16:47:34.000Z:

I found a blog post about CN1Libs - http://www.codenameone.com/3/post/2013/02/new-preliminary-library-support.html

From what I read there, it sounds like CN1Libs are managed by the community. I'm guessing that I should upload the lib to google code as an individual project?

@codenameone
Copy link
Collaborator Author

Comment #4 originally posted by codenameone on 2013-06-21T18:32:32.000Z:

No currently there is no standard repository. This is on our todo list though.

@codenameone
Copy link
Collaborator Author

Comment #5 originally posted by codenameone on 2013-11-20T23:54:31.000Z:

I have packaged these files up in a CN1 library and posted it on GitHub.
https://github.com/shannah/CN1JTar

In my initial tests it appears to be working ok.

@codenameone
Copy link
Collaborator Author

Thanks for this, it is now integrated into the project as part of implementing issue 1325

@codenameone codenameone removed their assignment Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants