Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » package explorer; moving projects from computer to computer(two questions about the package explorer in different languages)
package explorer; moving projects from computer to computer [message #1019074] Fri, 15 March 2013 01:41 Go to next message
Michael Mossey is currently offline Michael MosseyFriend
Messages: 3
Registered: March 2013
Junior Member
I have two questions. First is about the package explorer.

I started with Eclipse by downloading Eclipse Classic and working through a Java tutorial. I created two Java packages, visible in the Package Explorer window (view?).

Then I installed PyDev and created a Python project which showed up in the package explorer. I am not sure if what I created should be properly termed a "project" or a package.

I went to install more Eclipse plug-ins and tried to access the marketplace via the Help menu --- but the marketplace command wasn't there. Looking through Eclipse help on the web, I found the statement that it's not in Eclipse Classic. I downloaded "Eclipse for Java" and ran that.

I can still see my three packages (two Java and one Python) in the package explorer. But only then did I notice the button in the upper-right of the Eclipse screen that said "PyDev." When I click that, the "Package Explorer" changes to the "PyDev Package Explorer" and shows no packages or projects.

Now I am wondering if I created the Python project in the wrong place. How would I move it so that it shows up in PyDev Package Explorer (and is that important?)? At this point, do I have three projects? Or do I have a single project with three packages?

This relates to a question about moving projects from computer to computer. Sometimes I work on my laptop and sometimes on my desktop. I want to copy the current code between them, and have the package/projects show up in the same way. I am not using a version control server; this is just a personal project with only one developer (me). Besides the folders where the code is stored, do I need to copy something in the workspace to make sure all the project configuration is moved to the other computer? (By the way, my Python package is not located in a sub-folder of the workspace, but the two Java packages are.)

Thanks,
Mike
Re: package explorer; moving projects from computer to computer [message #1019303 is a reply to message #1019074] Fri, 15 March 2013 12:05 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 03/14/2013 09:02 PM, Michael Mossey wrote:
> I have two questions. First is about the package explorer.
>
> I started with Eclipse by downloading Eclipse Classic and working
> through a Java tutorial. I created two Java packages, visible in the
> Package Explorer window (view?).
>
> Then I installed PyDev and created a Python project which showed up in
> the package explorer. I am not sure if what I created should be properly
> termed a "project" or a package.
> I went to install more Eclipse plug-ins and tried to access the
> marketplace via the Help menu --- but the marketplace command wasn't
> there. Looking through Eclipse help on the web, I found the statement
> that it's not in Eclipse Classic. I downloaded "Eclipse for Java" and
> ran that.
> I can still see my three packages (two Java and one Python) in the
> package explorer. But only then did I notice the button in the
> upper-right of the Eclipse screen that said "PyDev." When I click that,
> the "Package Explorer" changes to the "PyDev Package Explorer" and
> shows no packages or projects.
>
> Now I am wondering if I created the Python project in the wrong place.
> How would I move it so that it shows up in PyDev Package Explorer (and
> is that important?)? At this point, do I have three projects? Or do I
> have a single project with three packages?
>
> This relates to a question about moving projects from computer to
> computer. Sometimes I work on my laptop and sometimes on my desktop. I
> want to copy the current code between them, and have the
> package/projects show up in the same way. I am not using a version
> control server; this is just a personal project with only one developer
> (me). Besides the folders where the code is stored, do I need to copy
> something in the workspace to make sure all the project configuration is
> moved to the other computer? (By the way, my Python package is not
> located in a sub-folder of the workspace, but the two Java packages are.)

I have no experience with PyDev. At http://pydev.org/developers.html one
is told to direct questions to
https://lists.sourceforge.net/lists/listinfo/pydev-code. Eclipse isn't
responsible for the support of myriad projects and technologies, the
best example of which are the Android Development Tools (ADT), that have
chosen to implement their IDE using Eclipse. It's very confusing and
difficult for newcomers to know when to direct questions to this forum
and when to find another.

Eclipse downloads are best chosen, in my opinion, by starting with the
one closest to what you ultimately want to do. In my case this would be
Eclipse IDE for Java EE Developers rather than choosing Classic, then
adding a whole bunch of plug-ins to reach the point I want. But in
theory, there's nothing lost by starting low and building high, or
starting with Java and adding C/C++, or PyDev, or ADT, etc.

When you create a new project in Eclipse, the new project wizards
typically give you the option of defaulting to create it in the current
workspace. If you create it from existing source or by importing an
already existing Eclipse project, you're given the opportunity to move
(or copy) the sources over into the workspace. (Do not copy project
sources by hand over into the workspace, let Eclipse do it.) Again, I
don't know how PyDev works, but I do know about Java and Java/ADT projects,

If you wish to spread your project development time across more than one
host, you should consider a version-control system like Git. If you
cannot or do not want to set that up on your own server, you can get
free space with Atlassian Bitbucket (http://bitbucket.org/ --which does
not charge) or GitHub (http://github.com --which does not charge for
open/publicly visible projects). I cannot recommend this too strongly.
It will involve learning (yet another) technology, but this one is well
worth your time. On version control: the world is moving away from CVS
and Subversion toward Git (there are others like Mercurial).

You cannot transport your Eclipse workspace from one machine to another;
workspaces are filesystem-dependent. Projects are portable, however, but
projects live in a workspace, so short of recreating your project by
import each time you change machines, or carefully clobbering your
project with changed content, which is painful, Git is your best route.

A project is what you're calling a package in your question here.

In Java, packages are a division of your project. Typically, you have
more than one package making up a project. Window -> Show view ->
Project Explorer is a different way to view what you're doing. It might
make more sense to you. Window -> Show view -> Navigator is a
filesystem-oriented way to see the same thing. None of this will
probably rehabilitate your Python project. If things don't work out,
you'll have to resort to support from the PyDev community.

Hope this helps.
Previous Topic:Updates and Libraries
Next Topic:Cross compiling to Arm
Goto Forum:
  


Current Time: Thu Apr 25 06:43:00 GMT 2024

Powered by FUDForum. Page generated in 0.10390 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top