Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to get the "real" name of a project
How to get the "real" name of a project [message #38302] Mon, 19 May 2003 05:34 Go to next message
Eclipse UserFriend
Originally posted by: chambery.us.ibm.com

Hey all,

I'm trying to save the path of a file in the workspace in a project name
neutral way. For example: if the project name in CVS is "foo" and I
check it out as "foobar", then any references to files in the workspace
are led by "/foobar/...", which makes the reference invalid for other
team members with different names for the same project.

Is there a way to get the "real" name of a shared project?

Thanks,

Todd
Re: How to get the "real" name of a project [message #38369 is a reply to message #38302] Mon, 19 May 2003 18:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.nos.pam.us.ibm.com

Why are you changing the name of the project? Paths are relative to the
workspace not the project, so you wind up with the name of the project
in the path. It is better to not change the name of the project. It is
also easier for everyone because then when you talk your team mates, you
are using the same names for everything.

Rich
Re: How to get the "real" name of a project [message #38466 is a reply to message #38369] Mon, 19 May 2003 18:24 Go to previous messageGo to next message
Todd Chambery is currently offline Todd ChamberyFriend
Messages: 31
Registered: July 2009
Member
I agree generally, but in my particular case, the project is name
org.zclipse.insectivore and when creating a project feature for
deployment, I had to change the name to ...insectivore_1.1.0 (I actually
don't know if I _had_ do this, but it didn't work with the generic name
and did work when I changed it). This caused all project-specific refs
to go bad.

I guess I'm assuming that because eclipse allows you to easily change
the name of a project with little impact to repository (and hence other
developers on the team) that there must be some separation between the
constant "id name" (for lack of a more appropriate term) of a project
and its display name.


Todd

Richard L. Kulp wrote:
> Why are you changing the name of the project? Paths are relative to the
> workspace not the project, so you wind up with the name of the project
> in the path. It is better to not change the name of the project. It is
> also easier for everyone because then when you talk your team mates, you
> are using the same names for everything.
>
> Rich
>
Re: How to get the "real" name of a project [message #38685 is a reply to message #38466] Mon, 19 May 2003 21:38 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.nos.pam.us.ibm.com

You only need the _1.0.0 when actually deploying it as binary to
customers. You don't need your project to be that name during
development. Basically when creating the deployed plugin, your build
process should create a directory with _1.0.0 on it, and then put the
actual built files and jars under it.

If you are using the PDE build process it can do this for you
automatically, especially if you use the PDE feature process too.
Previous Topic:Removing the toolbar
Next Topic:[ANN] Instantiations CodePro Express ...
Goto Forum:
  


Current Time: Sat Nov 09 03:35:35 GMT 2024

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

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

Back to the top