New shell feedback
by Ivan St. Ivanov
Hi folks,
As I promised, here is a [intended-to-be] short feedback about the new
Forge 2 shell. As some of you know, I use Windows (Really? OK...). So I
will be very happy to help you solve the issues besides merely reporting
them:
* The history doesn't work. That is, when you press up and down arrows
instead of the previous commands, you get this: αH
* Backspace doesn't work. When I press it, the cursor just comes back to
the previous position without deleting the character there. If I just write
something there, the old symbol is overwritten by the new one, but at the
end after pressing enter it looks like you never entered anything after
pressing backspace. For example:
1) I write *new-project --namek*
2) I notice the typo and press backspace
3) k doesn't get deleted, but I overwrite it with d
4) Then I complete my command to look like this: *new-project --named
test*
5) Forge's output is: *Project name must be specified.*
* As you know on windows the full path to a file or directory is
<drive-letter>:\<dir1>\<dir2>
1) If I try to do *cd c:\temp\forge*, Forge blows with exception:
org.jboss.forge.addon.resource.ResourceException: [FileResourceImpl] can
have no
children
at
org.jboss.forge.addon.resource.AbstractFileResource.getChild(Abstract
FileResource.java:78)
at
org.jboss.forge.addon.shell.util.PathspecParser.resolve(PathspecParse
r.java:232)
at
org.jboss.forge.addon.shell.commands.CdCommand.execute(CdCommand.java
:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
2) Somehow I noticed that I may use the paths without the drive letter,
e.g. just \<dir1>\<dir2>. It is legal to do it in Windows, but thus you
can't change to a directory located on a different drive. For example cd
\temp\forge will change to c:\temp\forge if you are currently in c:. So I
tried *cd \temp\forge*, but the result was the same [exception].
3) If I am in the root directory (c:\) and I run *cd temp\forge*, I don't
get exception, but ****ERROR*** tempforge\: No such file or directory*. The
interesting thing is that I ran that command by pressing tab, i.e. counting
on the command completion of the shell, which obviously works fine.
I made the cd command work by just running *cd /temp/forge* (notice the
forward slashes)
If you wish, I may add these observations as JIRA items, probably as
children to this one: https://issues.jboss.org/browse/FORGE-1387. Bear in
mind that all the reported features work in Forge 1 even on Windows ;)
We can discuss these in today's meeting.
Cheers,
Ivan
10 years, 11 months
Forge Status Meeting - 2014-01-22
by Lincoln Baxter, III
Minutes:
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2014/forge.20...
Minutes (text):
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2014/forge.20...
Log:
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2014/forge.20...
==============
#forge Meeting
==============
Meeting started by lincolnthree at 15:55:17 UTC. The full logs are
available athttp://transcripts.jboss.org/meeting/irc.freenode.org/forge/2014/forge....
Meeting summary
---------------
* Agenda (lincolnthree, 15:55:37)
* Forge 2 Status (gastaldi, 15:56:13)
* Forge Eclipse Issues (Forge Log View) (lincolnthree, 15:57:07)
* Forge Shell Issues (lincolnthree, 15:57:18)
* Forge Hack Night (lincolnthree, 15:59:43)
* Forge 2 Status (lincolnthree, 16:00:15)
* Forge 2.0.0.Final new release date is Weds, Jan 27th (lincolnthree,
16:00:34)
* https://issues.jboss.org/browse/FORGE-1489 (lincolnthree, 16:13:23)
* FORGE-1313 (lincolnthree, 16:13:28)
* https://issues.jboss.org/browse/FORGE-1399 (lincolnthree, 16:13:49)
* https://issues.jboss.org/browse/FORGE-1450 (lincolnthree, 16:14:31)
* Forge 2 Eclipse Issues (lincolnthree, 16:16:59)
* Forge Shell Issues (lincolnthree, 16:28:01)
* Forge Hack Night (lincolnthree, 16:33:48)
* missing Ivan, so postpone full discussion (lincolnthree, 16:33:59)
Meeting ended at 16:35:58 UTC.
Action Items
------------
Action Items, by person
-----------------------
* **UNASSIGNED**
* (none)
People Present (lines said)
---------------------------
* lincolnthree (78)
* gastaldi (20)
* koentsje (20)
* agoncal (17)
* jbossbot (10)
* jbott (3)
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
10 years, 11 months
Forge 2 - Starting troubles
by Vineet Reynolds Pereira
Hey all,
I managed to get a beginner (who shall be anonymous for now), to try out Forge 2. It turned out to be rather interesting, since he managed to build it from source, install JBossTools-Forge into Eclipse, before running into some issues. I think some of these would affect how we look at usability of Forge in several areas - the tooling in Eclipse, the web site etc.
Some of the questions that were asked were:
1. "Is there an overview or something of forge 1/2 ?"
and later (in response to this: http://www.youtube.com/watch?v=Dpou-FWWatI):
"not really, it tells me more about how powerful it is - but no overview, why I should do what, says I can use it from the command line but I did not spot how, ..."
I think a beginner guide would help here, that would help users who're new to even Java EE.
2. Later on, when using Forge in Eclipse, this feedback was offered:
"I noticed on the 'Forge Run Command' dialog, the Tooltip did not really add much to what could be gained from the command name!
...
possible it might be a good idea to have a variable sized text panel in the bottom half to give a more detailed explanation"
I'm not sure if the Eclipse UI guidelines allow for that, but it's something to consider.
3. Another interesting issue is that of the EE 6/7 POMs being installed into the project:
* Selected 'JPA setup' version 2.1
* Selected Wildfly Aplication Server
* Specified: Java EE, forge-default
* Modified HSQLDB to POSTGRES using java:jboss/datasource/ExamplDS as datasource,
* and now pom.xml has <artifactId>jboss-javaee-6.0</artifactId> and other changes
The EE 7 APIs were expected to added here.
I've also raised FORGE-1385 for Java 1.7 support, but that's fixed and should be out in the next release, so it is moot.
Discuss!
Vineet
10 years, 11 months
Problem setting up faces scaffold twice
by Lincoln Baxter, III
java.lang.ClassCastException:
org.jboss.shrinkwrap.descriptor.impl.javaee7.ParamValueTypeImpl cannot be
cast to org.jboss.shrinkwrap.descriptor.api.javaee5.ParamValueType
at
org.jboss.forge.addon.javaee.faces.AbstractFacesFacetImpl.getFacesSuffixes(AbstractFacesFacetImpl.java:413)
at
org.jboss.forge.addon.javaee.faces.AbstractFacesFacetImpl.buildFacesViewId(AbstractFacesFacetImpl.java:362)
at
org.jboss.forge.addon.javaee.faces.AbstractFacesFacetImpl.getWebPaths(AbstractFacesFacetImpl.java:269)
at
org.jboss.forge.addon.javaee.faces.AbstractFacesFacetImpl.getWebPaths(AbstractFacesFacetImpl.java:253)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75)
at
org.jboss.forge.addon.facets.AbstractFacet_$$_javassist_d69b4e19-43d6-4933-b340-c487c3979039.getWebPaths(AbstractFacet_$$_javassist_d69b4e19-43d6-4933-b340-c487c3979039.java)
at
org.jboss.forge.addon.scaffold.faces.FacesAccessStrategy.getWebPaths(FacesAccessStrategy.java:33)
at
org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.setupWebXML(FacesScaffoldProvider.java:485)
at
org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.setup(FacesScaffoldProvider.java:208)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75)
at
org.jboss.forge.addon.facets.AbstractFacet_$$_javassist_f7cb9907-f84b-4e4f-9368-7a002d5c56af.setup(AbstractFacet_$$_javassist_f7cb9907-f84b-4e4f-9368-7a002d5c56af.java)
at
org.jboss.forge.addon.scaffold.impl.ui.ExecuteSetupStep.execute(ExecuteSetupStep.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75)
at
org.jboss.forge.addon.scaffold.impl.ui.ExecuteSetupStep_$$_javassist_00f15d44-561e-4d6b-8887-e0ee82947a7b.execute(ExecuteSetupStep_$$_javassist_00f15d44-561e-4d6b-8887-e0ee82947a7b.java)
at
org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:102)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:75)
at
org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_48d8418a-2b2f-46e3-b91f-0704e34ef9eb.execute(CommandController_$$_javassist_48d8418a-2b2f-46e3-b91f-0704e34ef9eb.java)
at
org.jboss.tools.forge.ui.ext.wizards.ForgeWizard$1.run(ForgeWizard.java:81)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1028)
at
org.jboss.tools.forge.ui.ext.wizards.ForgeWizard.performFinish(ForgeWizard.java:71)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:802)
at
org.jboss.tools.forge.ui.ext.dialog.WizardDialogHelper.openWizard(WizardDialogHelper.java:141)
at
org.jboss.tools.forge.ui.ext.dialog.UICommandListDialog$1$1.handleElementSelected(UICommandListDialog.java:161)
at
org.jboss.tools.forge.ui.ext.quickaccess.QuickAccessContents.handleSelection(QuickAccessContents.java:326)
at
org.jboss.tools.forge.ui.ext.quickaccess.QuickAccessContents.access$0(QuickAccessContents.java:316)
at
org.jboss.tools.forge.ui.ext.quickaccess.QuickAccessContents$1.keyPressed(QuickAccessContents.java:347)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1503)
at org.eclipse.swt.widgets.Text.sendKeyEvent(Text.java:1632)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1499)
at org.eclipse.swt.widgets.Text.sendKeyEvent(Text.java:1598)
at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5648)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)
at org.eclipse.swt.widgets.Widget.superKeyDown(Widget.java:1907)
at org.eclipse.swt.widgets.Widget.keyDown(Widget.java:1085)
at org.eclipse.swt.widgets.Control.keyDown(Control.java:2400)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5558)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)
at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2104)
at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2318)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5620)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5057)
at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5206)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at
org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3648)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:354)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
10 years, 11 months
Problem in generating REST endpoints with DTOs
by Lincoln Baxter, III
org.jboss.forge.addon.resource.ResourceException: cannot obtain stream to
file: file does not exist:
/Users/lb3/projects/runtime-EclipseApplication/rewrite-double-param/scaffold/src/main/java/java/lang/Long.java
at
org.jboss.forge.addon.resource.AbstractFileResource.getResourceInputStream(AbstractFileResource.java:64)
at
org.jboss.forge.addon.parser.java.resources.JavaResourceImpl.getJavaSource(JavaResourceImpl.java:135)
at
org.jboss.forge.addon.javaee.rest.generator.impl.RootAndNestedDTOResourceGenerator.tryGetJavaClass(RootAndNestedDTOResourceGenerator.java:262)
at
org.jboss.forge.addon.javaee.rest.generator.impl.RootAndNestedDTOResourceGenerator.generatedDTOGraphForEntity(RootAndNestedDTOResourceGenerator.java:154)
at
org.jboss.forge.addon.javaee.rest.generator.impl.RootAndNestedDTOResourceGenerator.from(RootAndNestedDTOResourceGenerator.java:121)
at
org.jboss.forge.addon.javaee.rest.generator.impl.RootAndNestedDTOResourceGenerator.generateFrom(RootAndNestedDTOResourceGenerator.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75)
at
org.jboss.forge.addon.javaee.rest.generator.impl.RootAndNestedDTOResourceGenerator_$$_javassist_0adcaf51-b048-42fa-babc-05feeb2e170a.generateFrom(RootAndNestedDTOResourceGenerator_$$_javassist_0adcaf51-b048-42fa-babc-05feeb2e170a.java)
at
org.jboss.forge.addon.javaee.rest.ui.RestEndpointFromEntityWizard.generateEndpoints(RestEndpointFromEntityWizard.java:185)
at
org.jboss.forge.addon.javaee.rest.ui.RestEndpointFromEntityWizard.execute(RestEndpointFromEntityWizard.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75)
at
org.jboss.forge.addon.javaee.rest.ui.RestEndpointFromEntityWizard_$$_javassist_29c497d7-891b-4b86-9d68-62bf3a7a6e0a.execute(RestEndpointFromEntityWizard_$$_javassist_29c497d7-891b-4b86-9d68-62bf3a7a6e0a.java)
at
org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:102)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:75)
at
org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_48d8418a-2b2f-46e3-b91f-0704e34ef9eb.execute(CommandController_$$_javassist_48d8418a-2b2f-46e3-b91f-0704e34ef9eb.java)
at
org.jboss.tools.forge.ui.ext.wizards.ForgeWizard$1.run(ForgeWizard.java:81)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1028)
at
org.jboss.tools.forge.ui.ext.wizards.ForgeWizard.performFinish(ForgeWizard.java:71)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:802)
at
org.jboss.tools.forge.ui.ext.dialog.WizardDialogHelper.openWizard(WizardDialogHelper.java:141)
at
org.jboss.tools.forge.ui.ext.dialog.UICommandListDialog$1$1.handleElementSelected(UICommandListDialog.java:161)
at
org.jboss.tools.forge.ui.ext.quickaccess.QuickAccessContents.handleSelection(QuickAccessContents.java:326)
at
org.jboss.tools.forge.ui.ext.quickaccess.QuickAccessContents.access$0(QuickAccessContents.java:316)
at
org.jboss.tools.forge.ui.ext.quickaccess.QuickAccessContents$1.keyPressed(QuickAccessContents.java:347)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1503)
at org.eclipse.swt.widgets.Text.sendKeyEvent(Text.java:1632)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1499)
at org.eclipse.swt.widgets.Text.sendKeyEvent(Text.java:1598)
at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5648)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)
at org.eclipse.swt.widgets.Widget.superKeyDown(Widget.java:1907)
at org.eclipse.swt.widgets.Widget.keyDown(Widget.java:1085)
at org.eclipse.swt.widgets.Control.keyDown(Control.java:2400)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5558)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)
at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2104)
at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2318)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5620)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5057)
at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5206)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at
org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3648)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:354)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: org.jboss.forge.addon.resource.ResourceException: cannot obtain
stream to file: file does not exist:
/Users/lb3/projects/runtime-EclipseApplication/rewrite-double-param/scaffold/src/main/java/java/lang/Long.java
... 108 more
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
10 years, 11 months
Command execution failures in Eclipse. Am I missing something?
by Vineet Reynolds Pereira
Hey all,
I just built 2.0.0.CR1 from source, and I run into this error on every UICommand execution. Have I missed something?
!ENTRY org.jboss.tools.forge.ui.ext 4 1 2014-01-17 08:39:45.060
!MESSAGE Error logged from Forge Plugin:
!STACK 0
java.lang.UnsupportedOperationException: getMessage() should not be called in a CompositeResult. Call getResults() instead.
at org.jboss.forge.addon.ui.result.CompositeResult.getMessage(CompositeResult.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$1.call(ClassLoaderAdapterCallback.java:102)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:75)
at org.jboss.forge.addon.ui.result.Result_$$_javassist_0be5729e-a8c1-4ecd-8080-fb2fdd8f76f6.getMessage(Result_$$_javassist_0be5729e-a8c1-4ecd-8080-fb2fdd8f76f6.java)
at org.jboss.tools.forge.ui.ext.wizards.ForgeWizard$1.run(ForgeWizard.java:92)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1028)
at org.jboss.tools.forge.ui.ext.wizards.ForgeWizard.performFinish(ForgeWizard.java:71)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:802)
at org.jboss.tools.forge.ui.ext.dialog.WizardDialogHelper.openWizard(WizardDialogHelper.java:141)
at org.jboss.tools.forge.ui.ext.dialog.UICommandListDialog$1$1.handleElementSelected(UICommandListDialog.java:161)
at org.jboss.tools.forge.ui.ext.quickaccess.QuickAccessContents.handleSelection(QuickAccessContents.java:326)
at org.jboss.tools.forge.ui.ext.quickaccess.QuickAccessContents.access$0(QuickAccessContents.java:316)
at org.jboss.tools.forge.ui.ext.quickaccess.QuickAccessContents$6.mouseUp(QuickAccessContents.java:465)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Vineet
10 years, 11 months
JBoss Forge 2.0.0.CR1 is now available!
by Lincoln Baxter
New year, new releases. The Forge Team proudly presents the release of JBoss Forge 2.0.0.CR1, with over 40 issues implemented or fixed.
We are very close to releasing the Final version of Forge 2; however, given some Windows issues in the Shell addon, we decided to postpone 2.0.0.Final after they can be resolved. Starting today, prepare to take over your IDE in a way like you’ve never seen before!
In this version, we believe we have reached a stable API in both Furnace and the Forge UI Addon. Future versions should suffer from little to no changes to the API, so we are releasing 2.0.0.CR1 today.
You should be able to develop Addons with confidence, and run them in Eclipse using the Forge 2 Eclipse plugin. The CLI should also work well, but you may notice a hiccup here or there; once the remaining issues with the CLI are resolved, you should be able to expect a shiny, well formed, Final release.
Full release announcement: http://forge.jboss.org/news/2014/01/15/post-forge-2.html
--
Lincoln Baxter, III
JBoss, by Red Hat
lbaxter(a)redhat.com
"If you want something, you'll find a way; if you don't, you'll find an excuse."
10 years, 11 months
The git-tools addon
by Ivan St. Ivanov
Hi everybody,
A few hours before 2013 is over, I am very happy to announce that the
git-tools plugin from Forge 1 is finally migrated to a Forge 2 addon.
I have transformed the missing functionality and the tests in Forge core
addon style: different projects for api, addon, impl (containing the UI
commands) and tests. The tests are passing both in Eclipse and in Maven. I
have added javadoc to the APIs, README.asciidoc file and some man commands.
I haven't yet issued a pull request for two reasons:
* I am not sure whether you will want git-tools in the core repository or
you may want it in another one
* I expect some feedback from your side on my work
You can access the addon code here:
https://github.com/ivannov/core/tree/FORGE-1128. Once you build it and
install it in your local maven repository (Java 7 and Maven 3.1 required),
you may install it by simply running (FORGE_HOME should be set to Forge 2):
forge --install git-tools
You can review the functionality in the README file:
https://github.com/ivannov/core/tree/FORGE-1128/git-tools
As I have promised, I will send my feedback about the development
experience in Forge 2. I will also give you some feedback on the command
line shell usage on Windows (and maybe add some JIRAs to Antonio's list).
And, Lincoln, I haven't forgot this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=368230.
At the end, I wish all of you and your families a very happy, healthy and
successful 2014!
Cheers,
Ivan
10 years, 11 months