How to transfer java projects in Eclipse from one computer to another? - Java

This is a discussion on How to transfer java projects in Eclipse from one computer to another? - Java ; I have over 60 java projects developed in Eclipse on one of my PCs. Now this pc is infected with virus and spyware. I want to transfer these projects to the Eclipse in another computer. Is there any convenient way ...

+ Reply to Thread
Results 1 to 6 of 6

How to transfer java projects in Eclipse from one computer to another?

  1. Default How to transfer java projects in Eclipse from one computer to another?

    I have over 60 java projects developed in Eclipse on one of my PCs. Now this
    pc is infected with virus and spyware. I want to transfer these projects to
    the Eclipse in another computer.

    Is there any convenient way to do this? Or do I have to set up the projects
    one by one?



  2. Default Re: How to transfer java projects in Eclipse from one computer toanother?

    Ruan wrote:
    > I have over 60 java projects developed in Eclipse on one of my PCs. Now this
    > pc is infected with virus and spyware. I want to transfer these projects to
    > the Eclipse in another computer.
    >
    > Is there any convenient way to do this? Or do I have to set up the projects
    > one by one?


    Eclipse projects are self contained.

    If you copy the workspace from one PC to another PC, then
    it should work fine.

    Arne

  3. Default Re: How to transfer java projects in Eclipse from one computer to another?

    It doesn't work. Even if I import the project, the project doesn't work as
    it used to do: too many errors!

    I am mad at Eclipse.

    "Arne Vajh°j" <arne@vajhoej.dk> wrote in message
    news:46a35f5e$0$90269$14726298@news.sunsite.dk...
    > Ruan wrote:
    >> I have over 60 java projects developed in Eclipse on one of my PCs. Now
    >> this
    >> pc is infected with virus and spyware. I want to transfer these projects
    >> to
    >> the Eclipse in another computer.
    >>
    >> Is there any convenient way to do this? Or do I have to set up the
    >> projects
    >> one by one?

    >
    > Eclipse projects are self contained.
    >
    > If you copy the workspace from one PC to another PC, then
    > it should work fine.
    >
    > Arne




  4. Default Re: How to transfer java projects in Eclipse from one computer toanother?

    John Ruan wrote:
    > It doesn't work. Even if I import the project, the project doesn't work as
    > it used to do: too many errors!
    >
    > I am mad at Eclipse.
    >
    > "Arne Vajh°j" <arne@vajhoej.dk> wrote in message
    > news:46a35f5e$0$90269$14726298@news.sunsite.dk...
    >> Ruan wrote:
    >>> I have over 60 java projects developed in Eclipse on one of my PCs. Now
    >>> this
    >>> pc is infected with virus and spyware. I want to transfer these projects
    >>> to
    >>> the Eclipse in another computer.
    >>>
    >>> Is there any convenient way to do this? Or do I have to set up the
    >>> projects
    >>> one by one?

    >> Eclipse projects are self contained.
    >>
    >> If you copy the workspace from one PC to another PC, then
    >> it should work fine.
    >>
    >> Arne

    >
    >


    Eclipse stores its workspace related settings in .metadata (on *nix
    don't know about windows) in the workspace directory.

    You do not actually need to import projects. Just copy your entire
    workspace directory to another computer and on that computer use that
    directory as your workspace. You will get everything as it was except
    for the saved passwords.

    Your errors may be because of libraries in classpath.

  5. Default Re: How to transfer java projects in Eclipse from one computer toanother?

    John Ruan wrote:
    > It doesn't work. Even if I import the project, the project doesn't work as
    > it used to do: too many errors!


    If you can open the project then it has worked.

    The error is likely due to missing libraries different Java
    versions or other issues.

    But we can not say what based on the description "too many errors".

    Arne

  6. Default Re: How to transfer java projects in Eclipse from one computer to another?

    On Jul 22, 9:11 pm, Arne Vajh°j <a...@vajhoej.dk> wrote:
    > John Ruan wrote:
    > > It doesn't work. Even if I import the project, the project doesn't workas
    > > it used to do: too many errors!

    >
    > If you can open the project then it has worked.
    >
    > The error is likely due to missing libraries different Java
    > versions or other issues.
    >
    > But we can not say what based on the description "too many errors".
    >
    > Arne



    well thats not the problem, please do it this way.
    1. make sure you are in your default java perspective
    2. right click on your project folder in package-explorer
    3. select export
    4. in resulting window click on general->archive file
    5. then click on next ,it will show you option to find out what all
    files you want to save in your archive
    6. in To Archive File , type the name of project or name by which you
    want to save the file
    7. click finish.
    this will export your project to zip/tar (whichever you selected)
    now safely transfer your files to another system and then again in
    your workspace
    1.do a right click
    2.select import
    then import from a archive file and give path to your file
    it will automatically import complete project to your current
    workspace and will make all necessary path/settings
    and if your target eclipse environment is same/better than previous
    one, there should be no error at all.

    hope it helps.
    -Rishi


+ Reply to Thread

Similar Threads

  1. Migrating Projects from Eclipse 3.0 to 3.2
    By Application Development in forum Java
    Replies: 4
    Last Post: 10-24-2007, 08:22 AM
  2. Can I transfer my license from my old computer to my new computer?
    By Application Development in forum DOTNET
    Replies: 1
    Last Post: 09-02-2007, 10:26 AM
  3. reference between different projects in Eclipse
    By Application Development in forum Java
    Replies: 0
    Last Post: 02-21-2006, 10:35 PM
  4. eclipse cannot open projects
    By Application Development in forum Java
    Replies: 0
    Last Post: 07-14-2005, 07:52 AM
  5. Tip: Creating Java Projects in Eclipse
    By Application Development in forum Java
    Replies: 0
    Last Post: 12-01-2004, 02:50 PM