Skip to main content



      Home
Home » Newcomers » Newcomers » Trouble using same name project in different workspaces(Trouble using same name project in different workspaces)
Trouble using same name project in different workspaces [message #1712259] Thu, 22 October 2015 09:14 Go to next message
Eclipse UserFriend
In different work spaces, I have a project named 'bikes' - one is for development, other for production. I can't seem to get Eclipse Mars 4.5.1 to switch after I reset to a different work space.

I know this is me, but I can;t figure it out. Any help is welcome.

Regards, Gil Blais
Re: Trouble using same name project in different workspaces [message #1712279 is a reply to message #1712259] Thu, 22 October 2015 11:34 Go to previous messageGo to next message
Eclipse UserFriend
On 10/22/2015 08:37 AM, Gil Blais wrote:
> In different work spaces, I have a project named 'bikes' - one is for
> development, other for production. I can't seem to get Eclipse Mars
> 4.5.1 to switch after I reset to a different work space.
> I know this is me, but I can;t figure it out. Any help is welcome.
>
> Regards, Gil Blais

In what way doesn't Eclipse seem to "switch"? (Give a little more detail?)
Re: Trouble using same name project in different workspaces [message #1712302 is a reply to message #1712279] Thu, 22 October 2015 13:23 Go to previous messageGo to next message
Eclipse UserFriend
c:\xampp_dev\htdocs\bikes
c:\xampp_prd\htdocs\bikes

Two folders - one for development, one for production, each having an Eclipse project named 'bikes'.

When I get into the Eclipse IDE and want to switch to xampp_prd, it always seems to use the code in the xampp_dev directory.

Should I copy the project from the dev to the prd folder and be done ?

I can fix this by doing things manually when I am ready to publish to the prd folder, but I am trying to utilize Eclipse if it is possible.

Hope this is more clear.
Re: Trouble using same name project in different workspaces [message #1712314 is a reply to message #1712302] Thu, 22 October 2015 17:38 Go to previous messageGo to next message
Eclipse UserFriend
On 10/22/2015 11:23 AM, Gil Blais wrote:
> c:\xampp_dev\htdocs\bikes c:\xampp_prd\htdocs\bikes
>
> Two folders - one for development, one for production, each having an
> Eclipse project named 'bikes'.
> When I get into the Eclipse IDE and want to switch to xampp_prd, it
> always seems to use the code in the xampp_dev directory.
> Should I copy the project from the dev to the prd folder and be done ?
>
> I can fix this by doing things manually when I am ready to publish to
> the prd folder, but I am trying to utilize Eclipse if it is possible.
>
> Hope this is more clear.

Not for me.

So, you have one workspace with two projects, both named "bikes". I
don't think that's possible. Please explain how you have set your
workspace up.

What are the steps involved in "switching" between projects?
Re: Trouble using same name project in different workspaces [message #1712315 is a reply to message #1712314] Thu, 22 October 2015 18:19 Go to previous messageGo to next message
Eclipse UserFriend
I have TWO workspaces (c:\xampp_dev\htdocs and c:\xampp_prd\htdocs) and they each have an Eclipse project in them named 'bikes'.

I do development in one and run test production in the other. When I am satisfied that a new version in c:\xampp_prd\htdocs works properly, I install it in live production.

All I want to do is have Eclipse use the 'bikes' project in the workspace that I have switched to .

Hope that is clear enough.
Re: Trouble using same name project in different workspaces [message #1712322 is a reply to message #1712315] Thu, 22 October 2015 19:20 Go to previous messageGo to next message
Eclipse UserFriend
On 10/22/2015 04:19 PM, Gil Blais wrote:
> I have TWO workspaces (c:\xampp_dev\htdocs and c:\xampp_prd\htdocs) and
> they each have an Eclipse project in them named 'bikes'.
>
> I do development in one and run test production in the other. When I am
> satisfied that a new version in c:\xampp_prd\htdocs works properly, I
> install it in live production.
> All I want to do is have Eclipse use the 'bikes' project in the
> workspace that I have switched to .
>
> Hope that is clear enough.

I think it is now. You can have two different projects by the same name
as long as in different workspaces. And these projects can have
different source code (and should). Are the project sources inside the
workspace filesystem?

I don't know whether to keep asking questions or not. If you right-click
on your project and choose Properties, you should see the path to the
bikes project your workspace thinks it's getting. If that's the same in
both workspaces, then you must have set up the same project in both
places(?).
Re: Trouble using same name project in different workspaces [message #1712384 is a reply to message #1712322] Fri, 23 October 2015 09:54 Go to previous messageGo to next message
Eclipse UserFriend
On 10/22/2015 05:20 PM, Russell Bateman wrote:
> On 10/22/2015 04:19 PM, Gil Blais wrote:
>> I have TWO workspaces (c:\xampp_dev\htdocs and c:\xampp_prd\htdocs) and
>> they each have an Eclipse project in them named 'bikes'.
>>
>> I do development in one and run test production in the other. When I am
>> satisfied that a new version in c:\xampp_prd\htdocs works properly, I
>> install it in live production.
>> All I want to do is have Eclipse use the 'bikes' project in the
>> workspace that I have switched to .
>>
>> Hope that is clear enough.
>
> I think it is now. You can have two different projects by the same name
> as long as in different workspaces. And these projects can have
> different source code (and should). Are the project sources inside the
> workspace filesystem?
>
> I don't know whether to keep asking questions or not. If you right-click
> on your project and choose Properties, you should see the path to the
> bikes project your workspace thinks it's getting. If that's the same in
> both workspaces, then you must have set up the same project in both
> places(?).

(Sorry, yes, your first post revealed that they are in separate workspaces.)

You've given the paths to the workspaces. Please list the paths to the
two projects.
Re: Trouble using same name project in different workspaces [message #1712387 is a reply to message #1712384] Fri, 23 October 2015 10:19 Go to previous message
Eclipse UserFriend
I downloaded the latest Eclipse Version: Neon (4.6), Build id: N20151022-2000

and it is now working. Sooo, thanks to those who helped.

Regards, Gil Blais
Previous Topic:OSGI plugin application won't start after upgrading old code
Next Topic:HTTP ERROR: 500
Goto Forum:
  


Current Time: Sat May 24 00:49:28 EDT 2025

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

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

Back to the top