Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Build path contains duplicate entry
Build path contains duplicate entry [message #99265] Mon, 29 June 2009 19:32 Go to next message
Mike Carr is currently offline Mike CarrFriend
Messages: 6
Registered: July 2009
Junior Member
I am getting the following error when using the Wizard only when I click
Next to the end and then Finish, I click finish after the first page I do
not see the error and my project is created. Has anyone else seen this?

====== error details ======

eclipse.buildId=I20090611-1540
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -data
C:\workspace\php -clean


Error
Mon Jun 29 12:30:01 PDT 2009
Internal Error

org.eclipse.dltk.core.ModelException: Build path contains duplicate entry:
'C:Apps/Eclipse/eclipse-SDK-3.5-win32/eclipse/plugins/org.ec lipse.php.core_2.1.0.v20090617-2341/Resources/language/php5/ '
for project a
at
org.eclipse.dltk.internal.core.ModelOperation.runOperation(M odelOperation.java:759)
at
org.eclipse.dltk.internal.core.ScriptProject.setRawBuildpath (ScriptProject.java:1939)
at
org.eclipse.dltk.internal.core.ScriptProject.setRawBuildpath (ScriptProject.java:1912)
at
org.eclipse.php.internal.ui.preferences.includepath.PHPInclu dePathsBlock.addEntriesToBuildPath(PHPIncludePathsBlock.java :332)
at
org.eclipse.php.internal.ui.preferences.includepath.PHPInclu dePathsBlock.flush(PHPIncludePathsBlock.java:298)
at
org.eclipse.php.internal.ui.preferences.includepath.PHPInclu dePathsBlock.configureScriptProject(PHPIncludePathsBlock.jav a:218)
at
org.eclipse.php.internal.ui.wizards.PHPProjectWizardSecondPa ge.performFinish(PHPProjectWizardSecondPage.java:461)
at
org.eclipse.php.internal.ui.wizards.PHPProjectCreationWizard .finishPage(PHPProjectCreationWizard.java:70)
at
org.eclipse.dltk.ui.wizards.NewElementWizard$2.run(NewElemen tWizard.java:113)
at
org.eclipse.dltk.internal.core.BatchOperation.executeOperati on(BatchOperation.java:36)
at
org.eclipse.dltk.internal.core.ModelOperation.run(ModelOpera tion.java:698)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
at org.eclipse.dltk.core.DLTKCore.run(DLTKCore.java:1401)
at
org.eclipse.dltk.internal.ui.actions.WorkbenchRunnableAdapte r.run(WorkbenchRunnableAdapter.java:83)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121)
Re: Build path contains duplicate entry [message #99322 is a reply to message #99265] Tue, 30 June 2009 09:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: leo5t.yahoo.it

Yes, i had the same error.
I removed the php library when creating the project then clicked finish.
The project was created and the php library was included in the project
anyway.

Is it a bug?

Bye, Leo

Il Mon, 29 Jun 2009 19:32:34 +0000, Mike Carr ha scritto:

> I am getting the following error when using the Wizard only when I click
> Next to the end and then Finish, I click finish after the first page I
> do not see the error and my project is created. Has anyone else seen
> this?
Re: Build path contains duplicate entry [message #99366 is a reply to message #99265] Tue, 30 June 2009 12:04 Go to previous messageGo to next message
Ozzy is currently offline OzzyFriend
Messages: 1
Registered: July 2009
Junior Member
Mike Carr wrote:

> Has anyone else seen this?

Yep, same problem here.
Re: Build path contains duplicate entry [message #99715 is a reply to message #99366] Tue, 07 July 2009 10:48 Go to previous messageGo to next message
Jagermonster is currently offline JagermonsterFriend
Messages: 1
Registered: July 2009
Junior Member
I get the same problem. When i try to import a PHP project using
subversion. I then use the creation wizzard and choose php project as the
project type.
If i click finish i get the "build path contains duplicate entry" error.

If i remove PHP Language library it resolves this error, however the built
in php fuctions API is not accessable by holding CTRL + clicking function
name as was in previous version of the pdt.
Re: Build path contains duplicate entry [message #99720 is a reply to message #99715] Tue, 07 July 2009 13:12 Go to previous message
Basil Gohar is currently offline Basil GoharFriend
Messages: 24
Registered: July 2009
Junior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/07/2009 06:48 PM, Jagermonster wrote:
> I get the same problem. When i try to import a PHP project using
> subversion. I then use the creation wizzard and choose php project as
> the project type.
> If i click finish i get the "build path contains duplicate entry" error.
> If i remove PHP Language library it resolves this error, however the
> built in php fuctions API is not accessable by holding CTRL + clicking
> function name as was in previous version of the pdt.
>
The bug is tracked here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=280935

Apparently 2.1.1 fixes this particular bug.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkpTSckACgkQaVgOCFr0s2IMlgCfbcK/oPGIwV13KldPzeNR LKDp
y6sAoIVoPND6l4PSOcZPGwf8m2/3dfCz
=y2H7
-----END PGP SIGNATURE-----
Previous Topic:PDT Code Assist
Next Topic:Preview for PDT 2.1 and request for sanity
Goto Forum:
  


Current Time: Fri Apr 26 00:13:07 GMT 2024

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

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

Back to the top