GithubHelp home page GithubHelp logo

veloeclipse's People

Forkers

ihad

veloeclipse's Issues

Editor steals focus on long lines

What steps will reproduce the problem?
1. Create a velocity template with long single lines of code, preferably 
containing a velocimacro
2. Edit the line to the right of the viewport by scrolling to it
3. Note the viewport scrolls back to the left edge and your cursor is hidden 
off-screen to the 
right.

What is the expected output? What do you see instead?
Focus should stay with the cursor, not be reset to the left-visible portion of 
the viewport

What version of the product are you using? On what operating system?
2.0.8, Eclipse Galileo 64-bit, Mac OSX Snow Leopard

Please provide any additional information below.
This is as annoying as it gets. Is there a setting available to prevent this 
from happening?

Original issue reported on code.google.com by [email protected] on 10 Dec 2009 at 1:07

Any tag containg "script" as the first letters of the tag name cause highlighting failure.

What steps will reproduce the problem?
1. Add any tag with "script as first letters e.g <scripts></scripts> avbove 
other valid XML


What is the expected output? Normal syntax highlighting.
What do you see instead? All XML/HTML is highlighted as if it is script.


What version of the product are you using? Latest
On what operating system? Linux


Please provide any additional information below.

The highlighting only "corrects itself" when a </script> tag is found - a 
closing tag matching the element starting with "script" is not identified by 
the syntax highlighting as being enough.


Original issue reported on code.google.com by [email protected] on 9 Mar 2011 at 12:17

After installing Veloeclipse in on Eclipse 3.5.1, it hangs.

What steps will reproduce the problem?
1. Start Eclipse 3.5.1
2.
3.

What is the expected output? What do you see instead?
Eclipse starting normally.


What version of the product are you using? On what operating system?
Eclipse 3.5.1 on Window XP (32bit), using JDK 1.6.


Please provide any additional information below.
Well, it just hangs, The top menu goes blank and I get the (Not Responding)
window title.

Original issue reported on code.google.com by [email protected] on 15 Jan 2010 at 11:37

Cannot open VM files

Hi.

I sometimes get the following error message after starting Eclipse and
trying to open a .vm file (but I cannot reproduce it):

"Unable to create editor ID com.googlecode.veloeclipse.editor.Editor: The
editor class could not be instantiated. This usually indicates a missing
no-arg constructor or that the editor's class name was mistyped in plugin.xml."

The full stack trace:

org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNot
FoundException:
An error occurred while automatically activating bundle
com.googlecode.veloeclipse.ui (2).
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(
EclipseLazyStarter.java:125)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathMan
ager.java:427)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultC
lassLoader.java:193)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoade
r.java:368)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLo
ader.java:444)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.jav
a:397)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.jav
a:385)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassL
oader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.jav
a:313)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:22
7)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle
.java:1274)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExt
ension(RegistryStrategyOSGI.java:160)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(E
xtensionRegistry.java:867)
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.debug.internal.ui.views.console.ProcessConsoleManager.getLineTracker
s(ProcessConsoleManager.java:275)
at
org.eclipse.debug.internal.ui.views.console.ProcessConsole.<init>(ProcessConsole
.java:192)
at
org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager.launchChanged(
ProcessConsoleManager.java:145)
at
org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(LaunchManager.j
ava:455)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(LaunchManage
r.java:436)
at
org.eclipse.debug.internal.core.LaunchManager.fireUpdate(LaunchManager.java:998)
at org.eclipse.debug.core.Launch.fireChanged(Launch.java:388)
at org.eclipse.debug.core.Launch.addProcess(Launch.java:351)
at org.eclipse.debug.core.model.RuntimeProcess.<init>(RuntimeProcess.java:125)
at org.eclipse.debug.core.DebugPlugin.newProcess(DebugPlugin.java:704)
at
org.eclipse.jdt.launching.AbstractVMRunner.newProcess(AbstractVMRunner.java:110)
at
org.eclipse.jdt.internal.launching.StandardVMRunner.run(StandardVMRunner.java:32
8)
at
org.eclipse.jst.server.generic.core.internal.GenericServerLaunchConfigurationDel
egate.launch(GenericServerLaunchConfigurationDelegate.java:120)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.j
ava:764)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.j
ava:614)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.j
ava:607)
at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:2776)
at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:2726)
at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:306)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.osgi.framework.BundleException: The activator
com.googlecode.veloeclipse.vaulttec.ui.VelocityPlugin for bundle
com.googlecode.veloeclipse.ui is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(Abst
ractBundle.java:146)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextIm
pl.java:980)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:
346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.jav
a:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(
EclipseLazyStarter.java:111)
... 36 more
Caused by: java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:3761)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.SWT.error(SWT.java:3666)
at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
at org.eclipse.swt.widgets.Widget.checkParent(Widget.java:273)
at org.eclipse.swt.widgets.Widget.<init>(Widget.java:146)
at org.eclipse.swt.widgets.Control.<init>(Control.java:101)
at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:74)
at org.eclipse.swt.widgets.Composite.<init>(Composite.java:94)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:79)
at
com.googlecode.veloeclipse.vaulttec.ui.VelocityPlugin.<init>(VelocityPlugin.java
:116)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorI
mpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorA
ccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(Abst
ractBundle.java:141)
... 41 more

My environment:

eclipse.buildId=M20080911-1700
java.version=1.6.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

Original issue reported on code.google.com by [email protected] on 3 Feb 2009 at 12:28

Inconsistent coloring

I have some sql in a template:
where
    DATETIME_ID > ? and DATETIME_ID <= ?
The '<= ?' is showing in green as shown in the attached picture.

Using 2.0.8 from the trunk on Vista.

Original issue reported on code.google.com by [email protected] on 21 May 2010 at 11:05

Attachments:

Can't undo

What steps will reproduce the problem?
1. Open 3~10 *.vm files on eclipse 4.2.1
2. Use for a long time, maybe one hour.
3. Edit vm files, undo is disable.

What is the expected output? What do you see instead?
Can undo .

What version of the product are you using? On what operating system?
Windows 7 64, eclipse 4.2.1, JDK 1.6 64

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Jan 2013 at 8:39

NPE opening a non-project .vm file

What steps will reproduce the problem?
1. Installed latest Veloclipse from
http://propsorter.sourceforge.net/veloeclipse
2. Restarted Eclipse
3. Confirmed that .vm was associated with the Veloclipse editor
4. Dragged a .vm file from Windows Explorer into Eclipse
5. Got error "Could not open the editor: an unexpected exception was thrown."

What is the expected output? What do you see instead?
Expected: file opens
Instead: This NullPoitnerException-
java.lang.NullPointerException
    at
de.byteaction.velocity.editor.MultiPageEditor.pageChange(MultiPageEditor.java:22
1)
    at
org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1
076)
    at
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.ja
va:361)
    at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:66
2)
    at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
    at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.ja
va:595)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286)
    at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2
857)
    at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
    at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1151)
    at
org.eclipse.ui.internal.ide.EditorAreaDropAdapter.asyncDrop(EditorAreaDropAdapte
r.java:136)
    at
org.eclipse.ui.internal.ide.EditorAreaDropAdapter.access$0(EditorAreaDropAdapter
.java:87)
    at
org.eclipse.ui.internal.ide.EditorAreaDropAdapter$1.run(EditorAreaDropAdapter.ja
va:81)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    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:194)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:79)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1287)



What version of the product are you using? On what operating system?
Eclipse 3.5.2
Veloclipse 2.0.6
Windows 7
JDK 1.6.0_16

Please provide any additional information below.
.vm files open fine when selected within Eclipse from an open project

Original issue reported on code.google.com by [email protected] on 28 Apr 2010 at 1:22

ClassCastException opening vm file inside a jar

What steps will reproduce the problem?
1. add a jar with an included vm file to classpath (e.g. spring-webmvc.jar)
2. open the vm file (e.g. spring.vm)

An error has occurred when activating this view
org.eclipse.jdt.internal.ui.javaeditor.JarEntryEditorInput cannot be cast
to org.eclipse.ui.IFileEditorInput

java.lang.ClassCastException:
org.eclipse.jdt.internal.ui.javaeditor.JarEntryEditorInput cannot be cast
to org.eclipse.ui.IFileEditorInput
at
com.googlecode.veloeclipse.editor.VelocityEditor$MouseClickListener.focusGained(
VelocityEditor.java:1574)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:133)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2583)
at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:2282)
at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:4573)
at org.eclipse.swt.widgets.Canvas.WM_SETFOCUS(Canvas.java:449)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4014)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:978)
at org.eclipse.swt.widgets.Control.setFocus(Control.java:2965)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:928)
at
org.eclipse.ui.texteditor.AbstractTextEditor.setFocus(AbstractTextEditor.java:60
79)
at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:332)
at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java:127)
at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:626)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:621)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3527)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:614)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2
869)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.
java:374)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.
java:178)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:229)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:208)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatch
Action.java:274)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.j
ava:250)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(Pa
ckageExplorerActionGroup.java:373)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplor
erPart.java:526)
at
org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWith
EditorHelper.java:48)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:842)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:840)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1101
)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:12
05)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
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:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
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.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

What version of the product are you using? On what operating system?
eclipse.buildId=M20100211-1343
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86_64

Original issue reported on code.google.com by dennis.kieselhorst on 11 Mar 2010 at 8:30

Unable read repository while install in STS

What steps will reproduce the problem?
1. Try to install veloeclipse in STS

What is the expected output? What do you see instead?
Exception:
Unable to read repository at 
http://veloeclipse.googlecode.com/svn/trunk/update/content.xml.
Read timed out

What version of the product are you using? On what operating system?
STS 3.1.0 Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 17 Jan 2013 at 9:30

Error when escaped backslash at the end of a quoted string

What steps will reproduce the problem?
1. Create test.vm with the following content:
#set($var = "\\" )
#set($var2 = "${var}")

What is the expected output? What do you see instead?

I expect no errors - there were none with the 2.0.6.

Instead, the second line is flagged as having an error:
Encountered "${" at test.vm[line 2, column 15]
Was expecting one of:
    <RPAREN> ...
    <WHITESPACE> ...
    "-" ...
    "+" ...
    "*" ...
    "/" ...
    "%" ...
    <LOGICAL_AND> ...
    <LOGICAL_OR> ...
    <LOGICAL_LT> ...
    <LOGICAL_LE> ...
    <LOGICAL_GT> ...
    <LOGICAL_GE> ...
    <LOGICAL_EQUALS> ...
    <LOGICAL_NOT_EQUALS> ...


What version of the product are you using? On what operating system?
Veloeclipse 2.0.7 on Eclipse 3.4.1 (M20080911-1700)

Please provide any additional information below.

Velocity 1.5 is happy with the syntax. 
If another non-backslash character is inserted after the second backslash, 
the error goes away. 
The error persists if additional backslashes are added within the quotes.
The error does not occur if the pair of backslashes is enclosed in single 
quotes.

The error goes away if the file is changed to:

#set($var = "\\")
#set($var2 = ")

This leads me to believe that a backslash immediately before quote is 
being taken as escaping the quote, regardless of other content.

Original issue reported on code.google.com by [email protected] on 17 Feb 2009 at 6:48

Fromatter: Nested if and elseif with wrong intent

The following code:

#if($bar)
Hello,
#if($foo)
small
#end
World!
#elseif($bar2)
Hello again,
#if($foo)
small
#end
World!
#else
Bye!,
#if($foo)
small
#end
World!
#end

is formated as:

#if($bar)
    Hello,
    #if($foo)
        small
    #end
    World!
    #elseif($bar2)
        Hello again,
        #if($foo)
            small
        #end
        World!
        #else
            Bye!,
            #if($foo)
                small
            #end
            World!
#end

but correct would be:

#if($bar)
    Hello,
    #if($foo)
        small
    #end
    World!
#elseif($bar2)
    Hello again,
    #if($foo)
        small
    #end
    World!
#else
    Bye!,
    #if($foo)
        small
    #end
    World!
#end

Original issue reported on code.google.com by [email protected] on 15 Jun 2011 at 2:36

Error when install Veloeclipse 2.0.8 on eclipse 4.4 (eclipse release luna)

What steps will reproduce the problem?
1. Install plug-in from marketplace or URL: 
veloeclipse.googlecode.com/svn/trunk/update/

What is the expected output? What do you see instead?
Not install, error message: 
"session context was:(profile=epp.package.standard, 
phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> 
[R]com.googlecode.veloeclipse.ui 2.0.8, action=).
Failed to prepare partial IU: [R]com.googlecode.veloeclipse.ui 2.0.8."


What version of the product are you using? On what operating system?
veloeclipse.ui 2.0.8
eclipse 4.4
Ms Windows 7/8


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 Aug 2014 at 1:24

Veloeclipse not working in RAD

What steps will reproduce the problem?
1. Install the plug-in and restart the RAD v7.0.0
2. Try to open any .vm file.
3.

What is the expected output? What do you see instead?
Expected output: The .vm file should be opened in the veloeclipse editor.
Actual output: Blank window as shown in the attachment.

What version of the product are you using? On what operating system?
IBM RAD v7.0.0

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 5 Apr 2010 at 7:43

Attachments:

Define macro libraries at the project level

Currently, Macro definition libraries can only be configured in the overall 
preferences.
If you are working with multiple projects, each having it's own macro library 
this can be confusing.

I would like to have macro libraries definable for each project,  and to have 
the option of defining them using the project path.  

Thanks.

Original issue reported on code.google.com by [email protected] on 7 Jan 2011 at 2:04

Can't add tabs

What steps will reproduce the problem?
1. Have an If statement left justified, and try to add more than one tab
2.
3.

What is the expected output? What do you see instead?
It should allow to tab as many times that I want

What version of the product are you using? On what operating system?
Latest version. windows xp

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Jul 2010 at 3:07

Can't open velocity file with veloeclipse - error

What steps will reproduce the problem?
1. Attempt to open velocity file (.vm) with veloeclipse
2.
3.

What is the expected output? What do you see instead?
Expected - File open in editor.  
Receive error:
Could not open the editor: The editor class could not be instantiated. 
This usually indicates a missing no-arg constructor or that the editor's 
class name was mistyped in plugin.xml.

Details at bottom of email


What version of the product are you using? On what operating system?
veloeclipse: 2.0.8
velocity: 1.3.1
windows xp - sp2



Please provide any additional information below.

java.lang.UnsupportedClassVersionError: 
com/googlecode/veloeclipse/editor/VelocityEditor (Unsupported major.minor 
version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass
(DefaultClassLoader.java:183)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass
(ClasspathManager.java:576)
    at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl
(ClasspathManager.java:546)
    at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl
(ClasspathManager.java:477)
    at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockCla
ssLoader(ClasspathManager.java:465)
    at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass
(ClasspathManager.java:445)
    at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass
(DefaultClassLoader.java:211)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
(BundleLoader.java:381)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal
(BundleLoader.java:457)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass
(BundleLoader.java:410)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass
(BundleLoader.java:398)
    at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass
(DefaultClassLoader.java:105)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.eclipse.osgi.internal.loader.BundleLoader.loadClass
(BundleLoader.java:326)
    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass
(BundleHost.java:231)
    at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass
(AbstractBundle.java:1193)
    at 
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutab
leExtension(RegistryStrategyOSGI.java:160)
    at 
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtens
ion(ExtensionRegistry.java:874)
    at 
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExt
ension(ConfigurationElement.java:243)
    at 
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecuta
bleExtension(ConfigurationElementHandle.java:51)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run
(WorkbenchPlugin.java:267)
    at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension
(WorkbenchPlugin.java:263)
    at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor
(EditorDescriptor.java:235)
    at org.eclipse.ui.internal.EditorManager.createPart
(EditorManager.java:845)
    at org.eclipse.ui.internal.EditorReference.createPartHelper
(EditorReference.java:606)
    at org.eclipse.ui.internal.EditorReference.createPart
(EditorReference.java:462)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart
(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible
(PresentablePart.java:180)
    at 
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select
(PresentablePartFolder.java:270)
    at 
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select
(LeftToRightTabOrder.java:65)
    at 
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPa
rt(TabbedStackPresentation.java:473)
    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:1608)
    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:225)
    at org.eclipse.ui.internal.EditorAreaHelper.addEditor
(EditorAreaHelper.java:213)
    at org.eclipse.ui.internal.EditorManager.createEditorTab
(EditorManager.java:778)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor
(EditorManager.java:677)
    at org.eclipse.ui.internal.EditorManager.openEditor
(EditorManager.java:638)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched
(WorkbenchPage.java:2854)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor
(WorkbenchPage.java:2762)
    at org.eclipse.ui.internal.WorkbenchPage.access$11
(WorkbenchPage.java:2754)
    at org.eclipse.ui.internal.WorkbenchPage$10.run
(WorkbenchPage.java:2705)
    at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:2701)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:2685)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor
(OpenWithMenu.java:344)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent
(OpenWithMenu.java:192)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:3880)
    at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:3473)
    at org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault
(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:493)
    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:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:179)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

Original issue reported on code.google.com by [email protected] on 8 Oct 2009 at 7:34

JavaScript syntax highlighting

This is a great plugin. But i would like to have some features...

New feature request: javascript syntax highlighting in script tag
New feature request: html & velocity syntax highlighting in script tag of 
type other than javascript (ex: text/html)

Thanks in advance

Original issue reported on code.google.com by [email protected] on 30 Jul 2009 at 8:44

Need some documentation

What do the preferences controls do?
How do you use the list of user directives and Velocimacro libraries.. I enter 
things into the former and dotCMS vm files in the latter but can't see that 
they actually do anything. Need some documentation.

Original issue reported on code.google.com by [email protected] on 7 Feb 2011 at 11:32

support for #literal()

What steps will reproduce the problem?
1. #literal()
2. This line should $render verbatim
3. #end

What is the expected output? What do you see instead?

The code works but there is an error message in Eclipse:
Encountered "#end" at test.vm [line x column y]
The parser doesn't seem to realise that #literal() and #end go together. It 
thinks there is a syntax 
error.

What version of the product are you using? On what operating system?

OS X Snow Leopard, latest version of plugin at current date, Eclipse Ganymede

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Nov 2009 at 9:19

[veloeclipse 2.0.8] Question for script error message

I use Veloeclipse 2.0.8 and Eclipse Juno

1. in eclipse editor, Error is displayed in the some script tag. 
   like this : $.each() or $.ajax({xxx}); -->
   Encountered "{" at xxxx.vm[line n, column n]
   Was expecting one of:
    <EOF> 
    "(" ...
    <RPAREN> ...
    <ESCAPE_DIRECTIVE> ...
    <SET_DIRECTIVE> ...
    <LOCAL_DIRECTIVE> ...
    <GLOBAL_DIRECTIVE> ...
    "##" ...
    "\\\\" ...
    "\\" ...
    <TEXT> ...
    "*#" ...
    "*#" ...
    "]]#" ...
    <STRING_LITERAL> ...
    <IF_DIRECTIVE> ...
    <INTEGER_LITERAL> ...
    <FLOATING_POINT_LITERAL> ...
    <WORD> ...
    <BRACKETED_WORD> ...
    <IDENTIFIER> ...
    <DOT> ...
    "{" ...
    "}" ...
    <EMPTY_INDEX> ...

2. how to no longer appears error message?
(No error in scrpit/ but error message appears)
sorry, I can not English well;;; TT
can you understand this question?


Original issue reported on code.google.com by [email protected] on 3 Sep 2013 at 4:30

Attachments:

3.5 problem loading ConsoleLineTracker

Error message in log:
Plug-in de.byteaction.velocity.ui was unable to load class 
de.byteaction.velocity.console.ConsoleLineTracker.

Eclipse Ganymede Java EE IDE for Web Developers, Build id: 20100218-1602 on 
Vista Enterprise.


Original issue reported on code.google.com by [email protected] on 26 May 2010 at 9:34

Validation problem when adding user directive with Underscore (_) character

What steps will reproduce the problem?
1. In VeloEclipse preferences pages, adding a user directive with an 
underscore is not accepted due to validation.
For example, css_style.

What is the expected output? What do you see instead?
In Velocity 1.5, a user with an underscore appears to be allowed (at 
least, I'm able to register one and add it to Velocity).  But, there is a 
validation error (stemming form DirectiveDialog.DirectiveValidator).

What version of the product are you using? On what operating system?
2.0.8 in JBuilder 2008 R2 (Eclipse 3.4.1) on Windows XP Pro

Original issue reported on code.google.com by [email protected] on 12 Apr 2009 at 1:03

Plugin Not Working For RSA 7.5.5

What steps will reproduce the problem?
1. Installed the plugin successfully.
2. Restarted the RSA.
3. software updates -> Manage configuration -> show properties for the plugin 
--> status.

What is the expected output? What do you see instead?
i should see "The feature is configured properly." but found "The feature is 
not configured properly. reason: No plug-in: "com.googlecode.veloeclipse.ui" 
included at runtime."

What version of the product are you using? On what operating system?
Rational Software Architect 7.5.5

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 8 Jun 2012 at 6:05

Attachments:

Eclipse hangs because of complicated regular expression for ConsolePatternMatcher

What steps will reproduce the problem?
* See https://bugs.eclipse.org/bugs/show_bug.cgi?id=175888 for attachment, if 
veloeclipse is installed and some application prints out large text it may hang 
Eclipse. 

This happens while matching the regular expression 
"\S+\.(vm|vsl|vtl|html|xml)\[.+,.+\]" which is used in class 
"PatternMatchListener". The regular expression is so complex that the matching 
never finishes when large text is displayed in the Console window.

What is the expected output? What do you see instead?
* No Eclipse hang

What version of the product are you using? On what operating system?
* Eclipse 3.6, veloeclipse 2.0.8

Original issue reported on code.google.com by [email protected] on 22 Sep 2010 at 1:03

Failing to install on Helios Eclipse 3.6

What steps will reproduce the problem?
1. Install clean Helios Eclipse 3.6 (32bit) on Win XP or Win 7-64 (Java 
1.6.21-b07)
2. Window->'Install new 
software'->http://veloeclipse.googlecode.com/svn/trunk/update/


What is the expected output? What do you see instead?
After a long wait, an alert is shown: "'Installing Software' has encountered a 
problem"
and
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, 
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at 
http://veloeclipse.googlecode.com/svn/trunk/update/plugins/com.googlecode.veloec
lipse.ui_2.0.8.jar.
Read timed out


What version of the product are you using? On what operating system?
Veloeclipse 2.0.8
Helios Eclipse 3.6 (32bit) on Win XP or Win 7-64 (Java 1.6.21-b07)

Please provide any additional information below.
Trying the URL directly in Firefox 
(http://veloeclipse.googlecode.com/svn/trunk/update/plugins/com.googlecode.veloe
clipse.ui_2.0.8.jar) takes an age to start, then gets as far as 1.8MB (out of a 
reported 2.1MB) and waits (I cancelled after over 20mins)
This has been tried on two different systems, on 2 different internet 
connections, about 2 weeks apart.


Original issue reported on code.google.com by [email protected] on 1 Sep 2010 at 1:36

Empty comment #**# is treated as start of multiline comment

What steps will reproduce the problem?

1. Enter something like

#**##if (${name} == "ABC")
    //some code
#**##end

in your VSL file.

Although the velocity code between #**# and #**# is no comment, it is
rendered as a multiline comment.

Veloeclipse Version 2.0.8
OS: Windows XP
Eclipse: 3.3.2

Maybe it is sufficient to remove the line 

    rules.add(new WordPatternRule(new EmptyCommentDetector(), "#**#", null,
cp.getToken(MULTI_LINE_COMMENT, true)));

from the file VelocityPartitionScanner.java (and the corresponding line for
the empty comment #***#)?

Original issue reported on code.google.com by [email protected] on 29 Apr 2009 at 8:00

eclipse luna support (workaround provided)

I tried to install veloeclipse 2.0.8 in eclipse luna via the update site but 
kept getting a "Failed to prepare partial IU: [R]com.googlecode.veloeclipse.ui 
2.0.8" error right at the end.

In the .log file I found the following:

!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2014-06-27 10:46:37.072
!MESSAGE Unable to acquire PluginConverter service during generation for: 
F:\eclipse\plugins\com.googlecode.veloeclipse.ui_2.0.8.

!ENTRY org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2014-06-27 10:46:37.072
!MESSAGE The bundle manifest could not be read: 
F:\eclipse\plugins\com.googlecode.veloeclipse.ui_2.0.8

!ENTRY org.eclipse.equinox.p2.engine 4 4 2014-06-27 10:46:37.075
!MESSAGE An error occurred while installing the items
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2014-06-27 10:46:37.075
!MESSAGE session context was:(profile=epp.package.jee, 
phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> 
[R]com.googlecode.veloeclipse.ui 2.0.8, action=).
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2014-06-27 
10:46:37.075
!MESSAGE Failed to prepare partial IU: [R]com.googlecode.veloeclipse.ui 2.0.8.

This led me to https://bugs.eclipse.org/bugs/show_bug.cgi?id=421979 where 
someone suggested installing a compatibility plugin.

So, go to Help -> Install New Software..., choose "The Eclipse Project Updates 
- http://download.eclipse.org/eclipse/updates/4.4" from the "Work with" list 
and then in the "Eclipse Tests, Examples, and Extras" category check "Eclipse 
2.0 Style Plugin Support" and install it. After restarting Eclipse, install 
veloeclipse again and this time the installation will succeed.

Original issue reported on code.google.com by [email protected] on 27 Jun 2014 at 8:02

ctrl+pageUp/pageDown does not switch tabs

Reported on the velocity user list by Martin Tilsted:

Can I report something that might be a bug.
The problem is not new for 2.0.7, the previous versions had the same problem.

I use ctrl+pageUp/pageDown to switch editor tabs in eclipse.  But if the tab is 
a .vm file, then 
this does not work because it switch between the "Preview" and "Source" tabs.

I have now enabled the "Do not show editor preview tab" so now 
ctrl+pagegUp/pageDown don't 
switch between preview and editor, but it don't switch between my different 
open editor tabs 
either. It simply does nothing if the active editor is using veloeclipse.

I don't know if this is a bug in Eclipse(I am using the newest version on 
linux/FedoraCore6) or if 
the problem is that veloeclipse still eat the ctrl+pageUp events.


Original issue reported on code.google.com by [email protected] on 12 Feb 2009 at 9:11

Veloeclipse damages sublipse plugin

After installing veloclipse the subclipse was damaged. Also after removing
both plugins still I have bug in org.eclipse.team.core:


eclipse.buildId=I20090611-1540
java.version=1.6.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=pl_PL
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product
org.eclipse.epp.package.java.product


Error
Sat Sep 05 04:45:21 BST 2009
Could not instantiate provider
org.tigris.subversion.subclipse.core.svnnature for project Sequences.

org.eclipse.team.core.TeamException: Could not instantiate provider
org.tigris.subversion.subclipse.core.svnnature for project Sequences.
    at
org.eclipse.team.core.RepositoryProvider.mapNewProvider(RepositoryProvider.java:
165)
    at
org.eclipse.team.core.RepositoryProvider.mapExistingProvider(RepositoryProvider.
java:235)
    at
org.eclipse.team.core.RepositoryProvider.getProvider(RepositoryProvider.java:507
)
    at
org.eclipse.team.internal.core.TeamHookDispatcher.getProvider(TeamHookDispatcher
.java:97)
    at
org.eclipse.team.internal.core.TeamHookDispatcher.getRuleFactory(TeamHookDispatc
her.java:105)
    at org.eclipse.core.internal.resources.Rules.factoryFor(Rules.java:92)
    at org.eclipse.core.internal.resources.Rules.modifyRule(Rules.java:136)
    at org.eclipse.core.internal.resources.Project.touch(Project.java:1103)
    at
org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContaine
rOperation.java:115)
    at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728
)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation
.java:793)
    at
org.eclipse.jdt.internal.core.JavaModelManager$11.run(JavaModelManager.java:2538
)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    at
org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModel
Manager.java:2554)
    at
org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelMa
nager.java:1773)
    at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2652)
    at
org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2561
)
    at
org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2662
)
    at
org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:
1861)
    at
org.eclipse.jdt.internal.core.JavaProject.isOnClasspath(JavaProject.java:2164)
    at
org.eclipse.jdt.internal.ui.BuildpathIndicatorLabelDecorator.getOverlay(Buildpat
hIndicatorLabelDecorator.java:47)
    at
org.eclipse.jdt.internal.ui.BuildpathIndicatorLabelDecorator.decorate(BuildpathI
ndicatorLabelDecorator.java:34)
    at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(Light
weightDecoratorDefinition.java:269)
    at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnab
le.run(LightweightDecoratorManager.java:81)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(Lightwei
ghtDecoratorManager.java:365)
    at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(Li
ghtweightDecoratorManager.java:347)
    at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(Deco
rationScheduler.java:371)
    at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler
.java:331)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)



Original issue reported on code.google.com by [email protected] on 5 Sep 2009 at 3:49

Option to configure auto indentation

What steps will reproduce the problem?
1. Edit any html file with velocity markup
2.
3.

What is the expected output? What do you see instead?

The autoindent feature, while useful is not always desirable. The main
problem is that the indentation is not configurable (e.g. indent with
tabs/spaces, how many spaces). It should at least be possible to disable
the autoindent altogether.

What version of the product are you using? On what operating system?

Veloeclipse 2.0.8 with Eclipse 3.5

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Jun 2009 at 7:09

save error when edit vm file in tow editors

What steps will reproduce the problem?
1.open .vm file in eclipse
2.right click editor window, selecte "new Window"
3.input some thing the editor
4.input some thing in the other editor
5.save the editor
6.save the other editor, alert "Save conld not be completed....."

What is the expected output? What do you see instead?
    please do it on the .java file
    refresh the other editor when edit one editor.

What version of the product are you using? On what operating system?
    veloeclipse version = 2.0.8
    OS: window 7, 32bit

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 18 Oct 2012 at 3:33

Failure causes high cpu utilization in eclipse 3.p

!ENTRY org.eclipse.ui 4 0 2009-01-27 15:04:21.293
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
        at org.eclipse.swt.SWT.error(SWT.java:3777)
        at org.eclipse.swt.SWT.error(SWT.java:3695)
        at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3342)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3071)
        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(Ecli
pseAppLauncher.java:110)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:79)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
        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.jav
a: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)
Caused by: java.lang.NullPointerException
        at
com.googlecode.veloeclipse.editor.VelocityEditor.getHTMLElement(VelocityEditor.j
ava:381)
        at
com.googlecode.veloeclipse.editor.VelocityCompletionProcessor.getAttributesPropo
sals(VelocityCompletionProcessor.java:252)
        at
com.googlecode.veloeclipse.editor.VelocityCompletionProcessor.computeCompletionP
roposals(VelocityCompletionProcessor.java:186)
        at
org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals
(ContentAssistant.java:1836)
        at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(Co
mpletionProposalPopup.java:553)
        at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(Completio
nProposalPopup.java:550)
        at
org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionPro
posalPopup.java:485)
        at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at
org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(Compl
etionProposalPopup.java:479)
        at
org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.jav
a:377)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
        ... 22 more

Original issue reported on code.google.com by [email protected] on 27 Jan 2009 at 10:53

'Error opening the editor'

What steps will reproduce the problem?
This is an 'install and try for the first time' error.

What is the expected output? What do you see instead?
'Error opening the editor'

What version of the product are you using? On what operating system?
Eclipse 3.3.0

Please provide any additional information below.
This stack trace occurred after I installed Veloeclipse, restarted Eclipse,
made a file association of '.ass' to Veloeclipse, and opened my text file
with Velocity code in it. Same result after creating a new empty text file
from windows explorer.

java.lang.NullPointerException
    at
com.googlecode.veloeclipse.editor.MultiPageEditor.pageChange(MultiPageEditor.jav
a:219)
    at
org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:6
97)
    at
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.ja
va:287)
    at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:66
1)
    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.EditorReference.getEditor(EditorReference.java:263)
    at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2
739)
    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.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2557)
    at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1090)
    at
org.eclipse.ui.internal.ide.EditorAreaDropAdapter.asyncDrop(EditorAreaDropAdapte
r.java:134)
    at
org.eclipse.ui.internal.ide.EditorAreaDropAdapter.access$0(EditorAreaDropAdapter
.java:87)
    at
org.eclipse.ui.internal.ide.EditorAreaDropAdapter$1.run(EditorAreaDropAdapter.ja
va:81)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
    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(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)



Original issue reported on code.google.com by [email protected] on 12 Mar 2009 at 9:42

Not compliant with Eclipse 3.4.1

What steps will reproduce the problem?
1. use most recent eclipse ganymede
2. update through update site
3.

What is the expected output? What do you see instead?
It refuses to install, says:
Cannot complete the request.  See the details.
Cannot find a solution satisfying the following requirements
Match[requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.swt/[3.4.0.v3448f,3.4.0.v3448f]].

What version of the product are you using? On what operating system?
If I check my plugins, I see I have org.eclipse.swt version 3.4.1.v3449c


Please provide any additional information below.
I suppose some kind of metadata needs to be updated to allow it to install
and it needs testing. 

Original issue reported on code.google.com by [email protected] on 25 Feb 2009 at 3:07

Everything after a #* should be treated as a comment until *# or EOF.

To reproduce the problem
1. Write a #* in the middle of a velocity file.

You would expect that as soon as you write #* the editor will automaticly 
grey out the entire file or until it finds a *#. This should be consistent 
with how the java editor renders java comments.

Eclipse 3.4.1 
Veloeclipse: 2.0.8
OS: Windows Vista x32


Original issue reported on code.google.com by [email protected] on 26 May 2009 at 10:24

Velocity is not initialized correctly

What steps will reproduce the problem?
1. install veloclipse 2.0.8 plugin
2. install a jetty plugin(used in our company)
3. run jetty plugin debug project failed

What is the expected output? What do you see instead?
see the accessory file.
when run jetty plugin initialize velocity failed, the classloader was changed 
by veloeclipse.

ERROR: The specified class for ResourceManager 
(org.apache.velocity.runtime.resource.ResourceManagerImpl) does not implement 
org.apache.velocity.runtime.resource.ResourceManager; Velocity is not 
initialized correctly.


What version of the product are you using? On what operating system?
Veloeclipse 2.0.8 on Eclipse 3.6.1 

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 29 Oct 2010 at 7:45

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.