xzer / smartypdt

Automatically exported from code.google.com/p/smartypdt
0 stars 0 forks source link

Doesn't work with PDT 1.0.2 RC1 (1.0.3) #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PDT 1.0.2 RC1. Version info show PDT 1.0.3.v20080429 
Downloaded as all-in-one with 
Eclipse Version: 3.3.2 
Build id: M20080221-1800 
Trying to open file with Smarty editor: 

ava.lang.IllegalAccessError: tried to access field 
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.isExternal from class 
org.eclipse.php.smarty.ui.editor.SmartyStructuredEditor 
        at 
org.eclipse.php.smarty.ui.editor.SmartyStructuredEditor.doSetInput(SmartySt 
ructuredEditor.java: 
42) 
        at org.eclipse.ui.texteditor.AbstractTextEditor 
$19.run(AbstractTextEditor.java:3003) 
        at 
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.ja va: 
369) 
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java: 
313) 
        at org.eclipse.jface.window.ApplicationWindow 
$1.run(ApplicationWindow.java:758) 
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java: 
67) 
        at 
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java: 
755) 
        at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java: 
2451) 
        at 
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEdito 
r.java: 
3021) 
        at 
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java: 
3048) 
        at 
org.eclipse.wst.sse.ui.StructuredTextEditor.init(StructuredTextEditor.java: 
2617) 
        at 
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.init(Unknown 
Source) 
        at 
org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java: 
794) 
Editor doesn't open at all. only this error message. 

Original issue reported on code.google.com by cckramer@gmail.com on 7 May 2008 at 9:29

GoogleCodeExporter commented 8 years ago
confirmed, get same error with: S20080505_RC1

Original comment by reio.pil...@gmail.com on 8 May 2008 at 6:38

GoogleCodeExporter commented 8 years ago
is this project dead?

Original comment by reio.pil...@gmail.com on 12 May 2008 at 7:34

GoogleCodeExporter commented 8 years ago
In case you did not notice the reply in the Group discussion, Roy responded to 
this:

http://groups.google.com/group/smarty-pdt/browse_thread/thread/e2b5ac1b2e3091da

I've made changes to make Smarty PDT work in RC1, can someone please verify if 
the
attached package works for them?  I'm hesitant to commit the changes until 
someone
else verifies it works for them as well.

Included with it is changes to (maybe) fix the errors people get on line 1 ("2" 
or
"Invalid ..." errors) - anyone getting errors on line 1 of template files try 
the
attached package and let me know if it fixes it.

Original comment by ohhe...@gmail.com on 24 May 2008 at 10:19

Attachments:

GoogleCodeExporter commented 8 years ago
0.5.5 works in PDT 1.0.3, but still throws "2" error.

Original comment by grzegorz...@gmail.com on 25 May 2008 at 8:10

Attachments:

GoogleCodeExporter commented 8 years ago
Works with PDT 1.0.2 as well, "2" error remains.

Original comment by johannes...@googlemail.com on 25 May 2008 at 9:18

GoogleCodeExporter commented 8 years ago
Have you cleaned all projects to make sure it re-validates the files?  I'll go 
ahead
and commit the changes to the trunk, since a few have verified it at least 
fixes the
1.0.3 compatibility.

Original comment by ohhe...@gmail.com on 25 May 2008 at 4:24

GoogleCodeExporter commented 8 years ago

Original comment by ohhe...@gmail.com on 25 May 2008 at 4:36

GoogleCodeExporter commented 8 years ago
After few rebuilds error "2" finally disappeared, however warnings are still 
active.
I attached a bit of source code with debug output.

Original comment by grzegorz...@gmail.com on 25 May 2008 at 8:08

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry, my fault. You're right: After cleaning all projects the "2" error 
disappeared. 
I still get some "Invalid text string" warnings like grzegorz.pietrzak 
describes in
comment 8. 

BTW, thanks for your work. 

Original comment by johannes...@googlemail.com on 25 May 2008 at 11:28

GoogleCodeExporter commented 8 years ago
The "Invalid text string" I think has to do with another parser outside of 
Smarty
PDT's parsing.  I copied/pasted the text from the attached txt file to a 
test.php and
it had the same errors.

In other words, it looks like that is happening outside of Smarty PDT, since it
happens in other files besides tpl files.

Original comment by ohhe...@gmail.com on 26 May 2008 at 6:59

GoogleCodeExporter commented 8 years ago
Attached: re-built Smarty PDT 0.5.5 proposed : re-built to run on Java 1.5. 
Previously attached package only works on Java 1.6, this one should work with 
Java
1.5 or 1.6.

Reply with whether the attached package works for you or not, and what version 
of
PDT/Smarty/Eclipse/Java you are running.  Thanks.

Original comment by ohhe...@gmail.com on 28 May 2008 at 12:45

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks for update. Unfortunately it don't work for me. (Eclipse 3.3.2)
Error when opening file with Smarty Editor:

java.lang.NullPointerException
    at 
org.eclipse.php.internal.core.project.properties.handlers.PhpVersionChangedHandl
er.addPhpVersionChangedL
istener(Unknown Source)
    at org.eclipse.php.smarty.ui.editor.SmartyStructuredEditor.doSetInput(SmartyStructuredEditor.java:103)
    at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3003)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
    at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:758)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:755)
    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2451)
    at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3021)
    at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3048)
    at org.eclipse.wst.sse.ui.StructuredTextEditor.init(StructuredTextEditor.java:2617)
    at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.init(Unknown Source)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:794)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:263)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2739)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2651)
    at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:2643)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2595)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2590)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2574)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:340)
    at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:328)
    at org.eclipse.ui.actions.OpenWithMenu$3.handleEvent(OpenWithMenu.java:226)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2950)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

Original comment by cckramer@gmail.com on 28 May 2008 at 3:31

GoogleCodeExporter commented 8 years ago
Hi, I was having the same problem above and the latest download for SmartyPDT 
0.5.5
fixed the issue.

Thank you!

Original comment by jfanaian on 10 Jun 2008 at 4:15

GoogleCodeExporter commented 8 years ago
Good work ;) This worked for me, Linux Fedora 9 java 1.6
Thank you guys

Original comment by the...@gmail.com on 15 Jun 2008 at 9:42

GoogleCodeExporter commented 8 years ago
Template files open fine now, and like johannes.stickel and grzegorz.pietrzak 
above,
the "2" errors disappeared after cleaning the project.

Everything seems to be fixed, thanks guys!

Original comment by Zalan...@gmail.com on 16 Jun 2008 at 5:08

GoogleCodeExporter commented 8 years ago
Works fine for me.
Thanks a lot!

Original comment by ament...@gmail.com on 27 Jun 2008 at 1:33

GoogleCodeExporter commented 8 years ago
worked first shot for me - thanks guys. This is in Zend Eclipse 6.01 (the new 
one).

Original comment by smitp...@yahoo.com on 1 Jul 2008 at 3:22

GoogleCodeExporter commented 8 years ago
i'm using zend studio for eclipse v6 and i have the same problem 
please how can i fix it?

Original comment by debian20...@gmail.com on 3 Jul 2008 at 5:35

GoogleCodeExporter commented 8 years ago
i'm using zend studio for eclipse v6 and i have the same problem 
please how can i fix it?

Original comment by debian20...@gmail.com on 3 Jul 2008 at 5:37

GoogleCodeExporter commented 8 years ago
i'm using zend studio for eclipse v6 and i have the same problem 
please how can i fix it?

Original comment by debian20...@gmail.com on 3 Jul 2008 at 5:37

GoogleCodeExporter commented 8 years ago
had same problem after upgrading to pdt 1.0.3 final updated then to smartypdt 
2.5.4 
and still same and took me about 20m to find this with the 2.5.5 download which 
fixed it, would be maybe a good idea to place it on the startsite so ppl with 
same 
problem can solve it easy :D

Original comment by thorsten...@googlemail.com on 6 Jul 2008 at 7:55

GoogleCodeExporter commented 8 years ago
Smarty PDT v0.5.5 fix the problem, thanks guys!

Original comment by wojciech...@gmail.com on 7 Jul 2008 at 12:17

GoogleCodeExporter commented 8 years ago
Doesn't work for me, I get this error when trying to open template file in 
smarty 
editor.

PDT: 1.0.3.v20080601
smartypdt: 0.5.5
Eclipse: 3.3.2
Java: Sun 1.6

!ENTRY org.eclipse.ui.workbench 4 2 2008-07-15 17:13:21.802
!MESSAGE Problems occurred when invoking code from plug-in: 
"org.eclipse.ui.workbench".
!STACK 0
java.lang.ClassCastException: 
org.eclipse.wst.html.ui.views.contentoutline.HTMLContentOutlineConfiguration 
cannot 
be cast to org.eclipse.php.internal.ui.outline.PHPContentOutlineConfiguration
    at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.getAdapter(Unknown 
Source)
    at org.eclipse.ui.internal.views.ViewsPlugin.getAdapter(ViewsPlugin.java:103)
    at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage
(ContentOutline.java:129)
    at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:399)
    at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:741)
    at org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop
(ContentOutline.java:210)
    at org.eclipse.ui.internal.PartListenerList$2.run(PartListenerList.java:87)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.runtime.Platform.run(Platform.java:857)
    at org.eclipse.ui.internal.PartListenerList.fireEvent
(PartListenerList.java:57)
    at org.eclipse.ui.internal.PartListenerList.firePartBroughtToTop
(PartListenerList.java:85)
    at org.eclipse.ui.internal.PartService.firePartBroughtToTop
(PartService.java:87)
    at org.eclipse.ui.internal.WorkbenchPagePartList.firePartBroughtToTop
(WorkbenchPagePartList.java:75)
    at org.eclipse.ui.internal.WorkbenchPagePartList.fireActiveEditorChanged
(WorkbenchPagePartList.java:51)
    at org.eclipse.ui.internal.PartList.setActiveEditor(PartList.java:152)
    at org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor
(WorkbenchPage.java:1224)
    at org.eclipse.ui.internal.WorkbenchPage.updateActivePart
(WorkbenchPage.java:1169)
    at org.eclipse.ui.internal.WorkbenchPage.partAdded(WorkbenchPage.java:1583)
    at org.eclipse.ui.internal.EditorAreaHelper.addEditor
(EditorAreaHelper.java:210)
    at org.eclipse.ui.internal.EditorManager.createEditorTab
(EditorManager.java:774)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor
(EditorManager.java:673)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched
(WorkbenchPage.java:2737)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor
(WorkbenchPage.java:2651)
    at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:2643)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2595)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2590)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2574)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:340)
    at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:328)
    at org.eclipse.ui.actions.OpenWithMenu$3.handleEvent(OpenWithMenu.java:226)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault
(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start
(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run
(EclipseAppHandle.java:169)
    at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication
(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

Original comment by lari.pul...@gmail.com on 15 Jul 2008 at 2:26

GoogleCodeExporter commented 8 years ago
Works like a charm under

Version: 3.3.2
Build id: M20080221-1800

java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)

Original comment by thiago.p...@gmail.com on 15 Jul 2008 at 9:15

GoogleCodeExporter commented 8 years ago
I get "bad version number in class file"

java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClas
sLoader.java:161)
    at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManage
r.java:501)
    at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathMana
ger.java:471)
    at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Classpat
hManager.java:430)
    at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathMan
ager.java:413)
    at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultC
lassLoader.java:189)
    at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoade
r.java:340)
    at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLo
ader.java:408)
    at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.jav
a:369)
    at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.jav
a:357)
    at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassL
oader.java:83)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.jav
a:289)
    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
    at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle
.java:1269)
    at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExt
ension(RegistryStrategyOSGI.java:160)
    at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(E
xtensionRegistry.java:788)
    at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtensio
n(ConfigurationElement.java:243)
    at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableEx
tension(ConfigurationElementHandle.java:51)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:252)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:248)
    at
org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.
java:231)
    at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:841)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:606)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
    at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.ja
va:592)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
    at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart
.java:179)
    at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(Presenta
blePartFolder.java:268)
    at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRigh
tTabOrder.java:65)
    at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(Ta
bbedStackPresentation.java:400)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
    at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
    at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
    at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
    at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774)
    at
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.jav
a:673)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2737)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2651)
    at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:2643)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2595)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2590)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2574)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:340)
    at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:328)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:190)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:106)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
    at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
    at org.eclipse.equinox.launcher.Main.run(Unknown Source)

Original comment by smitp...@yahoo.com on 16 Jul 2008 at 4:55

GoogleCodeExporter commented 8 years ago
0.55 works fine for me!

Ubuntu 8.10
Eclipse version: 3.3.0
Build id: I20070625-1500
Java-6-sun-1.6.0.06
PDT 1.0.3.v20080603

Original comment by alex.p...@gmail.com on 16 Jul 2008 at 11:45

GoogleCodeExporter commented 8 years ago
do not highlight such code
<tr{if ('create'!=$form.sponsor_id || !($form.sponsor_id|@is_numeric)) and 
!$error} 
style="display:none;"{/if}>

Original comment by ypav...@gmail.com on 17 Jul 2008 at 5:17

GoogleCodeExporter commented 8 years ago
alex.piaz!

where did you get Ubuntu 8.10 from!?

Original comment by maxber...@gmail.com on 6 Aug 2008 at 9:48

GoogleCodeExporter commented 8 years ago
u can get ubuntu from http://cdimage.ubuntu.com/cdimage/dvd/20080816/
but it's on development.

Original comment by arunau...@gmail.com on 19 Aug 2008 at 9:15

GoogleCodeExporter commented 8 years ago
Using Eclipse 3.4 Ganymede with integration build of PDT as of 20080917 I get 
this error:

java.lang.ClassCastException: 
org.eclipse.ui.editors.text.TextSourceViewerConfiguration
    at org.eclipse.php.internal.ui.editor.SemanticHighlightingManager.install(Unknown Source)
    at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.installSemanticHighlighting(Unknown Source)
    at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.createPartControl(Unknown Source)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
    at org.eclipse.dltk.internal.ui.actions.OpenModelElementWithMenu.openEditor(OpenModelElementWithMenu.java:339)
    at org.eclipse.dltk.internal.ui.actions.OpenModelElementWithMenu.access$0(OpenModelElementWithMenu.java:331)
    at org.eclipse.dltk.internal.ui.actions.OpenModelElementWithMenu$2.handleEvent(OpenModelElementWithMenu.java:197)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3474)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3064)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Original comment by hooc...@gmail.com on 22 Sep 2008 at 3:11

GoogleCodeExporter commented 8 years ago
Yeah, thanx for this version, works perfect :-)

Original comment by adi...@gmail.com on 20 Nov 2008 at 10:45

GoogleCodeExporter commented 8 years ago
It works under Vista and zend studio for eclipse v6. thanks 

Original comment by arsen.tu...@gmail.com on 19 Dec 2008 at 1:25

GoogleCodeExporter commented 8 years ago
I can't get it to work on Eclipse 3.4.1. The installation succeeded and all but 
when
I right-click on a .tpl file and go to "Open With", Smarty Editor is not there. 
Any
ideas?

Original comment by gser...@gmail.com on 6 Jan 2009 at 1:08

GoogleCodeExporter commented 8 years ago
Same problem here running on xp.
Version: 3.4.1
Build id: M20080911-1700

No Errors. Just doesn't work. :(

Original comment by johnthor...@googlemail.com on 23 Jan 2009 at 12:02

GoogleCodeExporter commented 8 years ago
I tried several flavours (052, 054, 055)  of your plugin with 2.0 and 2.1 
Ganymede
versions, running on a 386 dualcore, Ubuntu/Studio 8.04 LTS machine, with these
Java-parts:
steffen@gandalf:~$ java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
steffen@gandalf:~$ dpkg -l | grep sun-java
ii  sun-java6-bin                         6-07-3ubuntu2                         

                Sun Java(TM) Runtime Environment (JRE) 6 (ar
ii  sun-java6-jre                         6-07-3ubuntu2                         

                Sun Java(TM) Runtime Environment (JRE) 6 (ar
ii  sun-java6-plugin                      6-07-3ubuntu2                         

                The Java(TM) Plug-in, Java SE 6

and all ends up the same:
The editor won't come up, errors attached in the file.

I normally develop my code with VIM (which even has partially syntax 
highlighning for
Smarty) in a screen-session, so I have a real WYSIWYG feeling when reloading 
the page
I'm working on.... 
but some books I've read in the last weeks convinced me to give EclipsePDT a 
try,
it's quite nice if you use the http://download.eclipse.org/dsdp/tm/updates/3.0/
plugin to handle remote workspaces easily.
The only thing I missed was Smarty support (and hey, even Zend uses Smarty on 
their
website so I believe their developers use some kind of plugin for their Zend 
Studio
or EclipsePDT) so it would be nice to fix it :-)

Here's an easy way how to reproduce it on an Ubuntu machine:
Get Ganymede Full-Package 2.0 or 2.1, unzip your plugin, 'touch test.tpl' try 
to open
it - I bet you get exactly the same error.

Any help highly appreciated, I already got addicted to EclipsePDT (even if it 
is a
real ressource-muncher)

Kind regards from Germany,
SMut

Original comment by stef...@gnuher.de on 23 Jan 2009 at 4:00

Attachments:

GoogleCodeExporter commented 8 years ago
0.55 don't syntax color for marty..just support simple html..disappointed!!!

Original comment by quoctien...@gmail.com on 4 Mar 2009 at 3:20

GoogleCodeExporter commented 8 years ago
For Netbeans it works!
http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=156
79

and Eclipse?

There is no working version!

Original comment by pbon...@gmail.com on 5 May 2009 at 2:39