I've recently worked on a small project using PDT.

For errors: I didn't figured how to remove error checking from symfony
directory. It wasn't a problem, cause Eclipse shows an icon on files
which have errors.

Eclipse should index your code, and it will propably check the
lib/vendor/symfony, so if you add it to buildpath, you'll have
functions duplicates.

For team work, I suggest ignoring cache, log, lib/vendor/symfony and
it should work.

During my development, I've done ordinary CLI commands, and eclipse
(after F5 or project refresh) just checked changes and it still worked
well. The only problem was after regenerating models, because SVN was
creating patches instead of removing them and adding newones
(generating a series of conflicts as result). To fix it, svn:ignore
should be put for /lib/model/[om,map].

Regards,
Maciej Aleksandrowicz



2010/12/13 benze <[email protected]>:
> Hi,
>
> I used to use Eclipse to develop Java, and am new to using it for
> PHP.  I've downloaded the Eclipse PDT All-In-One package and was
> hoping it would give me a familiar experience when programming.  I am
> hoping that there are some users on this list who use Eclipse PDT with
> symfony that can help me figure out how to set things up right.
>
> I created my new project using the Cli, and placed symfony in /lib/
> vendor/symfony.  When I create my new project (I called it mipp) in
> Eclipse, the first thing I notice is that it puts the entire project
> as the source folder in the build path.  Is that the correct way to
> set it up?  Should some folders be specifically excluded from the
> build path?  The second thing I notice is a few thousand errors in
> the /lib/vendors/symfony directory.  Mostly relating to .xml
> validation errors, .mod errors, etc.  I know I can configure eclipse
> to skip xml validation, etc, but figured there must be some better way
> to set up a project.  If I exclude symfony from the build path, the
> errors remain.
>
> I know I can remove symfony from the tree altogether and download it
> to another location as a library, but if I do that, then I'll need to
> configure my WebServer to use an external lib for symfony and not find
> it within the web-app itself.
>
> Can anyone shine a little light and experience on how to setup PDT for
> symfony properly?  I've tried searching the web, and ppl are extolling
> NetBeans and other editors, but I'd love to see this working in an
> environment I am familiar with.
>
> Thanks!
>
> Eric
>
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to