Results 1 to 8 of 8
Like Tree2Likes
  • 1 Post By otacon
  • 1 Post By JosAH

Thread: How to save project in eclipse as zip

  1. #1
    stuckonjava is offline Senior Member
    Join Date
    Jan 2012
    Posts
    151
    Rep Power
    3

    Default How to save project in eclipse as zip

    Hi,

    my project contains about 5 classes, how do I save the project in a zip?

    I am using eclipse.

    Thanks

  2. #2
    noobplus's Avatar
    noobplus is offline Senior Member
    Join Date
    Feb 2012
    Location
    chennai,south of India(south east of asia)
    Posts
    232
    Rep Power
    3

    Default Re: How to save project in eclipse as zip

    Quote Originally Posted by stuckonjava View Post
    Hi,

    my project contains about 5 classes, how do I save the project in a zip?

    I am using eclipse.

    Thanks
    eclipse is a software to export classes into file systems, or into jar categories, but zipping is a process of other softwares like winzip,winrar
    u can't compress files using eclipse

    regards
    dhilip

  3. #3
    jakaldama is offline Member
    Join Date
    Sep 2011
    Posts
    16
    Rep Power
    0

    Default Re: How to save project in eclipse as zip

    If you have a zip program installed you can probably right click on the directory/folder and there will be an option to zip

  4. #4
    noobplus's Avatar
    noobplus is offline Senior Member
    Join Date
    Feb 2012
    Location
    chennai,south of India(south east of asia)
    Posts
    232
    Rep Power
    3

    Default Re: How to save project in eclipse as zip

    Quote Originally Posted by jakaldama View Post
    If you have a zip program installed you can probably right click on the directory/folder and there will be an option to zip
    Do you think, 'zip' or 'winzip' or 'compress' option is accessible from eclipse?
    Edited to add: probably you must be speaking about the file system

    regards
    dhilip
    Last edited by noobplus; 03-27-2012 at 04:58 PM. Reason: (your topic)

  5. #5
    jakaldama is offline Member
    Join Date
    Sep 2011
    Posts
    16
    Rep Power
    0

    Default Re: How to save project in eclipse as zip

    Yeah, not from Eclipse. Go to where the files actually are located.

  6. #6
    noobplus's Avatar
    noobplus is offline Senior Member
    Join Date
    Feb 2012
    Location
    chennai,south of India(south east of asia)
    Posts
    232
    Rep Power
    3

    Default Re: How to save project in eclipse as zip

    Hi,

    speaking about file system, right click on your project, and click "locate on disk"
    zip the folder "src"
    'src' contains the classes of the "(default package)" of our eclipse project.
    other packages are seen as a folder with the package name inside the 'src' folder

    example,
    project name: myproject
    package name: (default package)
    zip the 'src' folder
    package name:my package
    Edited:/*locate to */open the folder 'src' and zip 'my package' folder

    regards
    dhilip
    Last edited by noobplus; 03-27-2012 at 05:12 PM.

  7. #7
    otacon's Avatar
    otacon is offline Member
    Join Date
    Dec 2010
    Posts
    24
    Rep Power
    0

    Default Re: How to save project in eclipse as zip

    Hm, whats wrong with just doing File > Export > General > Archive File > Save in zip format (after selecting the desired project) ?
    noobplus likes this.
    --Otacon
    Somebody set up us the bomb.

  8. #8
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,535
    Blog Entries
    7
    Rep Power
    20

    Default Re: How to save project in eclipse as zip

    Quote Originally Posted by otacon View Post
    Hm, whats wrong with just doing File > Export > General > Archive File > Save in zip format (after selecting the desired project) ?
    Nothing wrong with that, so three cheers for Eclipse; it is a fine IDE ...

    kind regards,

    Jos
    noobplus likes this.
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Replies: 3
    Last Post: 03-11-2012, 12:30 PM
  2. From eclipse web project to a website
    By Dreaming in forum New To Java
    Replies: 5
    Last Post: 12-27-2011, 05:51 AM
  3. Creating a project in eclipse from existing project
    By Suraiya in forum New To Java
    Replies: 1
    Last Post: 10-08-2011, 09:14 AM
  4. Replies: 26
    Last Post: 10-14-2010, 03:39 AM
  5. First EJB3 Project in Eclipse
    By berlindutza in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 10-04-2010, 05:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •