Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Outline View doesn't work with Subclipse
Outline View doesn't work with Subclipse [message #44684] Mon, 20 August 2007 20:08 Go to next message
Eclipse UserFriend
Originally posted by: jamonterrell.sbcglobal.net

I've noticed that my outline view does not work with projects checked out
of subversion. The outline is just empty. It works perfectly well with
local projects, however. Let me know what additional information would be
helpful to know in debugging this, or if this is a known issue.

Thanks,
Jamon
Re: Outline View doesn't work with Subclipse [message #44734 is a reply to message #44684] Mon, 20 August 2007 20:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jamonterrell.sbcglobal.net

FYI, in case other people are having this problem, I've found a workaround
for it, though it is not solved, to my knowledge.

1. Create your project as a "PHP Project" (without SVN) and move all the
files into it.

2. At this point your outline should be working, if so, just right click
the project and click Team, then "Share Project".

3. Fill in all of your SVN details and create a NEW directory in SVN.
There might be ways to do this with existing projects, but I didn't bother
trying to figure it out because I didn't need to.

When it's finished uploading you will have a PHP Project with a working
Outline and working SVN sync.
Re: Outline View doesn't work with Subclipse [message #45566 is a reply to message #44734] Thu, 23 August 2007 11:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: i.haddad.tu-bs.de

Hi,

I'm having exactly the same problem with PDT and Subclipse.

> 1. Create your project as a "PHP Project" (without SVN) and move all the
> files into it.
>
> 2. At this point your outline should be working, if so, just right click
> the project and click Team, then "Share Project".

Thats what I did as well.

> 3. Fill in all of your SVN details and create a NEW directory in SVN.

I am not sure if I got it right, but how shall I create a new directory,
if I want to update files, that are already commited to the SVN?

However, as I did it (creating project, sharing project, connecting and
updating) it's not working. At least good to know that it's obviously a
known bug.

Isam
Re: Outline View doesn't work with Subclipse [message #45863 is a reply to message #45566] Thu, 23 August 2007 16:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: i.haddad.tu-bs.de

Me again,

> I'm having exactly the same problem with PDT and Subclipse.

Meanwhile I figured out, that I had a couple more problems which I didn't
realize before. The reason was that after sharing it, my PHP project
changed to an ordinary 'Project'.

The solution was to close the project and fill the following settings into
the <projectDescription>-container of the .project-File.

<buildSpec>
<buildCommand>
<name>org.eclipse.php.core.PhpIncrementalProjectBuilder</name >
<arguments></arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments></arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.php.core.PHPNature</nature>
</natures>

Now everything works fine again, including the outline.

Isam
Re: Outline View doesn't work with Subclipse [message #47799 is a reply to message #44734] Wed, 29 August 2007 14:42 Go to previous message
Eclipse UserFriend
Originally posted by: noah_ten.yahoo.com

Another way to prevent this from happening is to do the following:

1. Choose "Create new project".
2. Choose Subversion as your project type
3. After entering all of the subversion info and selecting the folder you
want to check out you'll get a dialog titled "Check out As" with two
choices as to how to check out the folder:
Check out as a project configured using the New Project Wizard
OR
Check out as a project in the workspace.

If you choose to check it out as a project configured using the New
Project Wizard you'll be presented with the exact same dialog you were in
step 1. This confused me the first time, but the right thing to do is to
select "PHP Project" in the dialog and keep on going. If you do this
you'll end up with everything checked out of subversion as a PHP Project
and outline view and validation should work correctly.
Previous Topic:Editor throws NPE on enabled code folding as it parses a single line of a PHPDoc like comment
Next Topic:Can code assist work with magic method __call ?
Goto Forum:
  


Current Time: Sat Dec 21 15:12:31 GMT 2024

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

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

Back to the top