Share » Forums » Developer » eZ Publish Eclipse Plugin Development

eZ Publish Eclipse Plugin Development

eZ Publish Eclipse Plugin Development

Thursday 15 March 2007 3:08:43 am - 44 replies

Modified on Friday 23 March 2007 1:10:24 pm by Felix Woldt

Author Message

Guillaume Kulakowski

Monday 23 April 2007 1:42:29 am

Thank you.

Too bad that it isn't automatic.

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Felix Woldt

Monday 23 April 2007 2:39:56 am

Hello Guillaume,

codecompletion is not easy to implement. At the moment i tried different techniques in the JAC Template Editor.

Basically you have to Partitions of an Template 1. HTML 2. EZ Code.

If you are in HTML Context and press < the codecompletion for html will popup, but very simple at them moment !"

The eZ partition is all text between { }.
If we only press { , is is html-context. After we closing } it is ez code.
To make codecompletion very usefull we have to create a model of the Template. So we can deside if we have to complete a operator oder controllstrukture.
But at the moment i have not so much time for the eclipse development.

I think to press CTRL+Space is ok.

Greetings
Felix Woldt

http://www.jac-systeme.de - Developers united in eZ Publish: http://www.cjw-network.com

CJW Newsletter 1.0.0 released: http://projects.ez.no/cjw_newsletter

Guillaume Kulakowski

Monday 23 April 2007 3:18:05 am

Thank you for these answers.

At the moment, I'm not sure about Eclipse (more than 4 years of use for me). And

that since I tested a software like http://scribes.sourceforge.net/ with easy auto-completion and easy-alias (fcn = fetch content node, etc...).

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Felix Woldt

Tuesday 24 April 2007 1:08:31 am

Hello Guillaume ,

http://scribes.sourceforge.net/ looks interesting, but it is another kind of editor.
Eclipse is full ide - with php debugger and so on. This needs of course a lot of CPU resources.
In eclipse you can use code templates and so on too, but i had not the time to implement this.

My idea/vision is to have an ide like eclipse which runs on windows, linux and mac with debugging, subversion support. It could be good in team development.
The debugging support for php is getting better and the svn support is ok.

A small and fast editor is good to have, too.

At the end you have to write code, the editor is only an appliance.

Greetings
Felix Woldt

http://www.jac-systeme.de - Developers united in eZ Publish: http://www.cjw-network.com

CJW Newsletter 1.0.0 released: http://projects.ez.no/cjw_newsletter

Guillaume Kulakowski

Friday 04 May 2007 7:59:53 am

Another question about your editor : a "matching brackets highlight" ("{}()") option is envisaged ?

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Felix Woldt

Sunday 06 May 2007 11:44:07 pm

Hello Guillaume,

what do you mean with "matching brackets highlight" ("{}()") ".
Give me an example?

best regards
Felix

http://www.jac-systeme.de - Developers united in eZ Publish: http://www.cjw-network.com

CJW Newsletter 1.0.0 released: http://projects.ez.no/cjw_newsletter

Kristof Coomans

Monday 07 May 2007 12:37:02 am

Hi Felix

I think Guillaume means that if your cursor is placed right before an opening or closing bracket, that the corresponding closing/opening bracket is highlighted in some way: underlined, another (background) color, ...

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Felix Woldt

Monday 07 May 2007 2:45:24 am

Hi Kristof and Guillaume,

> I think Guillaume means that if your cursor is placed right before an opening or closing
> bracket, that the corresponding closing/opening bracket is highlighted in some way:
> underlined, another (background) color, ...

At the moment both template editors haven't this function. But i find this function very usefull to, but at the moment i have not the time to implement this. Sorry.

Greetings
Felix

http://www.jac-systeme.de - Developers united in eZ Publish: http://www.cjw-network.com

CJW Newsletter 1.0.0 released: http://projects.ez.no/cjw_newsletter

Guillaume Kulakowski

Wednesday 09 May 2007 1:19:30 am

@Kristof > Yes, it is.

@Felix > Thank.

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Marian Theisen

Friday 15 June 2007 8:53:57 am

can anyone help me? i have eclipse 3.2 with smile plugin installed, but its impossible to save any changes made to a ez template with one of the editors. so its quite useless atm. anybody an idea? im running vista 32bit

Nicolas Richeton

Friday 15 June 2007 10:54:05 am

I think we need more details :-)

Are you using a PHP plugin ?

Did you update to the latest version using the eclipse update manager ?

Did you enable template validation ? Maybe the plugin is trying to check your template for error using some bad settings or apache not started. If this is the case you should see build tasks in the progress view.

Are you using Vista with a user (not admin) account ? I don't have a Vista install to check the plugin on this os.

Marian Theisen

Friday 15 June 2007 11:08:10 am

Im not using a PHP Plugin, tried to install pdt a few days ago, but it failed. i also tried a clean aptana installation with the smile plugin installed.

i enabled tpl validation for testing but no effect. is there any debug output i can monitor? which part is responsible for saving the files, the plugin/editor itself or eclipse core?

saving files works fine with the aptana editors (css etc)

i work as admin user in vista

Nicolas Richeton

Friday 15 June 2007 1:56:44 pm

Saving the file is done by the eclipse core.
TPL validation requires the smileclasses extension on the server side.

If "Check server" reports an error, do not enable template validation.
This should fix your problem.

Marian Theisen

Saturday 16 June 2007 4:16:58 am

Hi,

tpl validation is not enabled, i discovered another problem, if i try to _save_ a .tpl file _as_ another (of course non existing) file, i'll get a "File not found: name-of-the-new-file". again, save as works with .css files etc.

Marian Theisen

Saturday 16 June 2007 6:41:34 am

ok, ive been trying for hours, it seems, that the problem lies with aptana. if i open a tpl file via the aptana file view, changes wont be saved, if i open a file via project explorer or file->open file, it works. BUT so far this happens only with tpl files. i have the c++ plugin installed, and tested opening a cpp file with the c++ editor via aptana file view and it works as it should.
well, aptana file view is important for me, cause i have to work over ftp (above mentioned problems DO effect local files too, not just over ftp)

Marian Theisen

Saturday 16 June 2007 6:58:25 am

saving works well with the ruby editor too, also i had a "feature doesnt exist error" in the error log, but couldnt reproduce it.

Nicolas Richeton

Sunday 17 June 2007 10:40:06 am

Ok, it seems that we have to test the plugin with aptana to find out what's going on.

I'll add a bug tracker entry on the project page for this.

Softriva .com

Thursday 11 October 2007 5:35:55 am

Hello,

I have followed all the pdf tutorial and I installed the plugin fine; however, I reached

2.7 Loading EZ Publish Content Classes into Eclipse

I could not get the textbox and the Go button to enter my URL in eclipse?

Any ideas why?

Nicolas Richeton

Thursday 11 October 2007 5:46:56 am

"With the latest releases of Smile EzPublish plugin, server url is set at
the project level. Open properties for you project and go to the eZ publish
page.
There you can enter your url.

Each time you open an ezpublish template, the classes view will update its
content according to the project's settings."

see : http://sourceforge.net/tracker/index.php?func=detail&aid=1803710&group_id=190833&atid=934946

The doc needs to be updated.

Regards,
--
Nicolas

Mickael Robin

Tuesday 29 January 2008 5:37:42 am

<b>compatibility with 4.0 version ?</b>

Hi,

I tried to install the required "smileclasses" extension on eZ publish 4.0, but I got an error message :
<i>Fatal error: Class 'ezcFile' not found in xxx\lib\ezutils\classes\ezautoloadgenerator.php on line 283</i>
Despite this fatal error, I can display the XML file when I go to xxx/smileclasses/export.

But I can not load the eZ Publish Content Classes into Eclipse (Version: 3.3.0) because the plugin's "Classes View" does not propose to enter a url to import the site's content classes (in fact, this view does not propose anything..!).

I'm kind of a newbee at eZ (even at programing in fact...), so please help me make the most of Eclipse with eZ publish 4.0 !!!

Thanks a lot in advance.

MikRob

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu