Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse 3.4 strange project naming upon import
Eclipse 3.4 strange project naming upon import [message #327624] Sat, 26 April 2008 19:19 Go to next message
Eclipse UserFriend
Originally posted by: peter.neubauer.jayway.se

Hi there,
I am using Eclipse 3.4M6a to import a project in a "api" folder with a
generated .project file from
mvn eclipse:eclipse that looks like

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>api-core</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

Now, when importing this ("Import existing project into workspace") I get
the choice "api(api-core)" to import, resulting in the project being named
"api" when in the .project file it is named "core-api"!

Is this a new feature or a bug in Eclipse, and are there any preferences
to enforce in order to take the .project name as the name instead of the
folder?

This is a behaviour I get in all 3.4 versions of Eclipse, furthermore,
when renaming the project in the workbench with F2, the project name in
project is updated, the workbench name is correctly reflecting that, but
when closing and reimporting the renamed project, it again falls back to
the containing folder name!


/peter
Re: Eclipse 3.4 strange project naming upon import [message #327635 is a reply to message #327624] Sun, 27 April 2008 19:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: peter.neubauer.jayway.se

Hi again,
I am not sure this is the right newsgroup to ask this question, has
someone knowledge of a better place to go since it seems no-one is picking
this up here?

Cheers

/peter
Re: Eclipse 3.4 strange project naming upon import [message #327657 is a reply to message #327624] Mon, 28 April 2008 09:04 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Peter Neubauer wrote:
> Hi there,
> I am using Eclipse 3.4M6a to import a project in a "api" folder with a
> generated .project file from mvn eclipse:eclipse that looks like
>
> <?xml version="1.0" encoding="UTF-8"?>
> <projectDescription>
> <name>api-core</name>
> <comment></comment>
> <projects>
> </projects>
> <buildSpec>
> <buildCommand>
> <name>org.eclipse.jdt.core.javabuilder</name>
> <arguments>
> </arguments>
> </buildCommand>
> </buildSpec>
> <natures>
> <nature>org.eclipse.jdt.core.javanature</nature>
> </natures>
> </projectDescription>
>
> Now, when importing this ("Import existing project into workspace") I
> get the choice "api(api-core)" to import, resulting in the project
> being named "api" when in the .project file it is named "core-api"!
>
> Is this a new feature or a bug in Eclipse, and are there any
> preferences to enforce in order to take the .project name as the name
> instead of the folder?
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=225754

Dani
>
> This is a behaviour I get in all 3.4 versions of Eclipse, furthermore,
> when renaming the project in the workbench with F2, the project name
> in project is updated, the workbench name is correctly reflecting
> that, but when closing and reimporting the renamed project, it again
> falls back to the containing folder name!
>
>
> /peter
>
Re: Eclipse 3.4 strange project naming upon import [message #327687 is a reply to message #327657] Tue, 29 April 2008 04:12 Go to previous message
Eclipse UserFriend
Originally posted by: peter.neubauer.jayway.se

Thanks very much for that pointer Dani,
seems I just wait for this to be fixed in 3.4RC1 according to the
discussion ...

/peter
Previous Topic:update repository
Next Topic:Checked tool bar item appearance
Goto Forum:
  


Current Time: Thu Apr 25 00:01:57 GMT 2024

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

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

Back to the top