what did i wrong ?

7 views
Skip to first unread message

cscsaba

unread,
Jun 28, 2011, 10:12:19 AM6/28/11
to symfony2-ec...@googlegroups.com
Hello,

I followed the steps here
https://github.com/pulse00/Symfony-2-Eclipse-Plugin/wiki/Development-environment

How can I compile the plugin ? (I could not find any ant build xml ) Although I haven't got any error.
I could not find the Symfony menu and it's submenus in the plugin on the new php project.

check this flash
http://www.4shared.com/file/yzAY304d/ize.html

Best regards,

Cs




Robert Gründler

unread,
Jun 28, 2011, 10:25:13 AM6/28/11
to symfony2-ec...@googlegroups.com
Hi,

this is another gotcha... not yet documented.

To be able to use github as the updatesite for the plugin, i needed to
"nest" the different
projects inside the updateSite project.

You need to manually import 7 Projects into your workspace:

1. org.eclipse.symfony.core (the core functionality: indexing, source
parsing, completion strategies etc)
2. org.eclipse.symfony.ui ( the ui features like popup menus etc)
3. org.eclipse.symfony.test ( the unit tests)
4. org.eclipse.symfony.twig ( the twig bridge )
5. org.eclipse.symfony.index ( the SQL index )
6. org.eclipse.symfony.feature ( the feature which hosts the 3 plugins)
7. org.eclipse.symfony.updatesite ( the actual updatesite project, which
hosts the feature)

After you've imported those 5 Projects into your workspace, they should
compile automatically - if you've
setup your eclipse installation to do so.

To launch the plugins, simply right-click on the .core plugin and run as
or debug as Eclipse Application.


sorry, i hope i can update the wiki soon ;)


regards

-robert

cscsaba

unread,
Jun 30, 2011, 8:18:43 AM6/30/11
to symfony2-ec...@googlegroups.com
Hello,

I tried your guide but it is still full of errors (see the attached pic)
The 7 th part is not clear for me, and you did not mentioned the twigfeature project either.

Can you drop an email If everything is clear and works ?
Thanks ahead

Best regards,

Cs



2011/6/28 Robert Gründler <r.gru...@gmail.com>
Clipboard01.jpg

Robert Gründler

unread,
Jun 30, 2011, 8:22:09 AM6/30/11
to symfony2-ec...@googlegroups.com
Hi,

sorry, there's a new patch which needs to be applied to the ..pdt.core plugin so it compiles:


https://github.com/pulse00/Symfony-2-Eclipse-Plugin/blob/master/patches/PHPIndexingVisitorExtension.diff


The PDT devs will be committing this in the next few days to the CVS repository, until then
we have to apply it manually.


If you still get compile errors, please send me the errors from the "Problems" tab in eclipse.


cheers

-robert
Reply all
Reply to author
Forward
0 new messages