Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Different default directory for different languages
Different default directory for different languages [message #205238] Mon, 16 April 2007 18:57 Go to next message
Eclipse UserFriend
Originally posted by: p_rice.hotmail.com

I'm using Python, C++, and Java with Eclipse and I'd like to set a different
default directory for each. How do I do this? I can't even find where the
default directory is stored.

Thanks
Re: Different default directory for different languages [message #205617 is a reply to message #205238] Wed, 18 April 2007 04:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Paul Rice wrote:
> I'm using Python, C++, and Java with Eclipse and I'd like to set a different
> default directory for each. How do I do this? I can't even find where the
> default directory is stored.

Please explain what you mean by "default directory."

Eric
Re: Different default directory for different languages [message #205690 is a reply to message #205617] Wed, 18 April 2007 12:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: p_rice.hotmail.com

Eric Rizzo wrote:

> Paul Rice wrote:
>> I'm using Python, C++, and Java with Eclipse and I'd like to set a
>> different default directory for each. How do I do this? I can't even find
>> where the default directory is stored.
>
> Please explain what you mean by "default directory."
>
> Eric

When I first started Eclipse it asked me to enter a working directory so I
entered /media/windows/Debian/Projects. Since then I've added a CDT and
Python but everytime I start a new project, regardless of which language,
the second step of the project wizard defaults
to /media/windows/Debian/Projects. What I'd like it to do is
default /media/Windows/Debian/Projects/C++ for
C++, /media/windows/Debian/Projects/Python for
Python, /media/windows/Debian/Projects/Java for Java, etc. for the
directory in the second step of the new project wizard.
Re: Different default directory for different languages [message #205977 is a reply to message #205690] Thu, 19 April 2007 06:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Paul Rice wrote:
> Eric Rizzo wrote:
>
>> Paul Rice wrote:
>>> I'm using Python, C++, and Java with Eclipse and I'd like to set a
>>> different default directory for each. How do I do this? I can't even find
>>> where the default directory is stored.
>> Please explain what you mean by "default directory."
>>
>> Eric
>
> When I first started Eclipse it asked me to enter a working directory so I
> entered /media/windows/Debian/Projects. Since then I've added a CDT and
> Python but everytime I start a new project, regardless of which language,
> the second step of the project wizard defaults
> to /media/windows/Debian/Projects. What I'd like it to do is
> default /media/Windows/Debian/Projects/C++ for
> C++, /media/windows/Debian/Projects/Python for
> Python, /media/windows/Debian/Projects/Java for Java, etc. for the
> directory in the second step of the new project wizard.
>

No can do. By the way, when I create new projects it remembers the last
location I used, not necessarily the first one I ever used. This is a
global thing; it does not depend on the type of project I'm creating.

Eric
Re: Different default directory for different languages [message #206200 is a reply to message #205977] Thu, 19 April 2007 18:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: p_rice.hotmail.com

Eric Rizzo wrote:

> No can do. By the way, when I create new projects it remembers the last
> location I used, not necessarily the first one I ever used. This is a
> global thing; it does not depend on the type of project I'm creating.
>
> Eric


Changing the directory gives me an error. For project 'Test', default
directory "/media/windows/debian/projects/Test" works fine but changing it
to "/media/windows/debian/projects/C++/Test" gives me a "project contents
cannot be inside workspace directory" error and disables the next and
finish buttons.
Re: Different default directory for different languages [message #206698 is a reply to message #206200] Sun, 22 April 2007 21:02 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Paul Rice wrote:
> Eric Rizzo wrote:
>
>> No can do. By the way, when I create new projects it remembers the last
>> location I used, not necessarily the first one I ever used. This is a
>> global thing; it does not depend on the type of project I'm creating.
>
>
> Changing the directory gives me an error. For project 'Test', default
> directory "/media/windows/debian/projects/Test" works fine but changing it
> to "/media/windows/debian/projects/C++/Test" gives me a "project contents
> cannot be inside workspace directory" error and disables the next and
> finish buttons.

That message means you have tried to create your project in the exact
same location as the workspace. Your project root can be a subdirectory
of the workspace directory, but not the same as the workspace directory.
For example, this is legal:

/Java/
Eclipse/
workspaces/
WorkspaceA/
Project1/
source/
<code files live here>
Project2/
<etc...>


But this is NOT allowed:
/Java/
Eclipse/
workspaces/
WorkspaceA/
source/
<code files live here>


Hope this helps,
Eric
Previous Topic:Error links in console window point to class files
Next Topic:Why don't drop???
Goto Forum:
  


Current Time: Fri Apr 19 12:03:45 GMT 2024

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

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

Back to the top