[JBoss JIRA] (JBIDE-17824) Remote EAP 5 without a runtime does not have a default config
by Martin Malina (JIRA)
Martin Malina created JBIDE-17824:
-------------------------------------
Summary: Remote EAP 5 without a runtime does not have a default config
Key: JBIDE-17824
URL: https://issues.jboss.org/browse/JBIDE-17824
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: server
Affects Versions: 4.2.0.Beta3
Reporter: Martin Malina
Assignee: Rob Stryker
When you create a remote EAP 5 server without a runtime, on the last page of the dialog called Remote System Integration, there are two fields:
Remote Server Home
- it will be empty and you can browse for it - that's fine
Remote Server Configuration
- this will be normally prefilled with "default" - probably taken from the runtime. But since we have no runtime, it will be empty. I would prefer if we could prefill "default" in this case, too. Also, when you leave it empty and click Test, it will tell you that the config is alright. So it seems under the hood we actually use "default" as the default (if I enter some nonsense, it will show an error).
So it's more of a usability problem - users probably don't have to fill anything in and it will work with the default profile. But it's imho much better to have "default" there, because that makes it obvious what kind of input is expected.
Note that the same applies when you change the profile of an existing (local) EAP 5 server. I assume that this is the same code.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17824) Remote EAP 5 without a runtime does not have a default config
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17824?page=com.atlassian.jira.plugi... ]
Martin Malina updated JBIDE-17824:
----------------------------------
Priority: Minor (was: Major)
> Remote EAP 5 without a runtime does not have a default config
> -------------------------------------------------------------
>
> Key: JBIDE-17824
> URL: https://issues.jboss.org/browse/JBIDE-17824
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.2.0.Beta3
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Priority: Minor
>
> When you create a remote EAP 5 server without a runtime, on the last page of the dialog called Remote System Integration, there are two fields:
> Remote Server Home
> - it will be empty and you can browse for it - that's fine
> Remote Server Configuration
> - this will be normally prefilled with "default" - probably taken from the runtime. But since we have no runtime, it will be empty. I would prefer if we could prefill "default" in this case, too. Also, when you leave it empty and click Test, it will tell you that the config is alright. So it seems under the hood we actually use "default" as the default (if I enter some nonsense, it will show an error).
> So it's more of a usability problem - users probably don't have to fill anything in and it will work with the default profile. But it's imho much better to have "default" there, because that makes it obvious what kind of input is expected.
> Note that the same applies when you change the profile of an existing (local) EAP 5 server. I assume that this is the same code.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17807) index.html of HTML5 kitchensink example is not displayed in VPE visual part
by Konstantin Marmalyukov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17807?page=com.atlassian.jira.plugi... ]
Konstantin Marmalyukov commented on JBIDE-17807:
------------------------------------------------
Cannot reproduce issue with Beta3. New HTML5 project looks not how it must be(like in GTK3), but it displays the same as in preview.
Steps I do:
1. run JBDS8beta3
2. Create HTML5 project from Central
3. open index.html
!snapshot7.png!
4. run JBDS8Beta3 using SWT_GTK3=1
5. open index.html
!snapshot7.png!
Am I doing smth wrong? If not, Vlado, could you try it once again?
> index.html of HTML5 kitchensink example is not displayed in VPE visual part
> ---------------------------------------------------------------------------
>
> Key: JBIDE-17807
> URL: https://issues.jboss.org/browse/JBIDE-17807
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: visual-page-editor-core
> Affects Versions: 4.2.0.Beta3
> Environment: JBDS 8.0.0.Beta3-v20140706-0939-B172
> Linux
> SWT_GTK3=0
> Reporter: Vlado Pakan
> Assignee: Konstantin Marmalyukov
> Priority: Critical
> Fix For: 4.2.0.CR1
>
> Attachments: snapshot6.png, snapshot7.png
>
>
> 1. Import HTML5 kitchensink project from JBoss Central
> 2. Open index.html in VPE
> ERROR: Visual part of VPE is blank
> HTML Preview is showing page properly.
> 3. Run JBT with arguments -vmargs -Dorg.jboss.tools.vpe.loadxulrunner=false
> ASSERT: Page is displayed correctly in Visual part of VPE
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17807) index.html of HTML5 kitchensink example is not displayed in VPE visual part
by Konstantin Marmalyukov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17807?page=com.atlassian.jira.plugi... ]
Konstantin Marmalyukov updated JBIDE-17807:
-------------------------------------------
Attachment: snapshot6.png
snapshot7.png
> index.html of HTML5 kitchensink example is not displayed in VPE visual part
> ---------------------------------------------------------------------------
>
> Key: JBIDE-17807
> URL: https://issues.jboss.org/browse/JBIDE-17807
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: visual-page-editor-core
> Affects Versions: 4.2.0.Beta3
> Environment: JBDS 8.0.0.Beta3-v20140706-0939-B172
> Linux
> SWT_GTK3=0
> Reporter: Vlado Pakan
> Assignee: Konstantin Marmalyukov
> Priority: Critical
> Fix For: 4.2.0.CR1
>
> Attachments: snapshot6.png, snapshot7.png
>
>
> 1. Import HTML5 kitchensink project from JBoss Central
> 2. Open index.html in VPE
> ERROR: Visual part of VPE is blank
> HTML Preview is showing page properly.
> 3. Run JBT with arguments -vmargs -Dorg.jboss.tools.vpe.loadxulrunner=false
> ASSERT: Page is displayed correctly in Visual part of VPE
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17740) Cannot deploy git-based project to OpenShift
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17740?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-17740:
------------------------------------------
I stumbled upon another stunning behavior where the merged project needs a push force to get deployed to OpenShift:
!push-force.png!
This is caused by our import procedure: it clones the remote repo, copies the openshift specific files into the local clone and committs them (in Beta2):
!git-log.png!
This is not a proper merge and we thus have to push force the result to the remote. So this is again no proper error but an indication that we should move to a proper merge since jgit now supports the recursive merge startegy: JBIDE-14890
> Cannot deploy git-based project to OpenShift
> --------------------------------------------
>
> Key: JBIDE-17740
> URL: https://issues.jboss.org/browse/JBIDE-17740
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
> Priority: Blocker
> Labels: respin-a
> Fix For: 4.2.0.Beta3
>
> Attachments: cannot-create-server-adapter.png, git-log.png, import-failed-uncommitted-changes.png, import.png, push-force.png
>
>
> It is not possible to deploy existing git based project to the OpenShift instance. What's going to happen is that new OpenShift project is created, but existing git project is not merged. As result there is a project based on basic cartridge and not on existing project. There is a issue with git changes - uncommitted changes required to commit first, but it is not possible bcs. remote is still set to the old one git remote.
> See log
> {code}
> !ENTRY org.jboss.tools.openshift.express.ui 4 0 2014-07-02 08:52:28.848
> !MESSAGE Could not import project to the workspace.
> !STACK 0
> org.jboss.tools.openshift.express.internal.ui.UnCommittedChangesException: The project jboss-javaee6-webapp has uncommitted changes. Please commit those changes first.
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.MergeIntoGitSharedProject.execute(MergeIntoGitSharedProject.java:97)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.mergeIntoGitSharedProject(OpenShiftApplicationWizardModel.java:186)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizard$ImportJob.runInWorkspace(OpenShiftApplicationWizard.java:376)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> {code}
> Error shell:
> !import.png!
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17740) Cannot deploy git-based project to OpenShift
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17740?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-17740:
-------------------------------------
Attachment: push-force.png
git-log.png
> Cannot deploy git-based project to OpenShift
> --------------------------------------------
>
> Key: JBIDE-17740
> URL: https://issues.jboss.org/browse/JBIDE-17740
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.Beta3
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
> Priority: Blocker
> Labels: respin-a
> Fix For: 4.2.0.Beta3
>
> Attachments: cannot-create-server-adapter.png, git-log.png, import-failed-uncommitted-changes.png, import.png, push-force.png
>
>
> It is not possible to deploy existing git based project to the OpenShift instance. What's going to happen is that new OpenShift project is created, but existing git project is not merged. As result there is a project based on basic cartridge and not on existing project. There is a issue with git changes - uncommitted changes required to commit first, but it is not possible bcs. remote is still set to the old one git remote.
> See log
> {code}
> !ENTRY org.jboss.tools.openshift.express.ui 4 0 2014-07-02 08:52:28.848
> !MESSAGE Could not import project to the workspace.
> !STACK 0
> org.jboss.tools.openshift.express.internal.ui.UnCommittedChangesException: The project jboss-javaee6-webapp has uncommitted changes. Please commit those changes first.
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.MergeIntoGitSharedProject.execute(MergeIntoGitSharedProject.java:97)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.mergeIntoGitSharedProject(OpenShiftApplicationWizardModel.java:186)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizard$ImportJob.runInWorkspace(OpenShiftApplicationWizard.java:376)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> {code}
> Error shell:
> !import.png!
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17423) BrowserSim is not opening source code of opened web page
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17423?page=com.atlassian.jira.plugi... ]
Ilya Buziuk commented on JBIDE-17423:
-------------------------------------
PR was sent
> BrowserSim is not opening source code of opened web page
> --------------------------------------------------------
>
> Key: JBIDE-17423
> URL: https://issues.jboss.org/browse/JBIDE-17423
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.2.0.Beta2
> Environment: JBDS 8.0.0.Beta2-v20140525-2146-B104
> Reporter: Vlado Pakan
> Assignee: Konstantin Marmalyukov
> Priority: Blocker
> Fix For: 4.2.0.Beta3
>
>
> 1. Open BrowserSim
> 2. Open page www.github.com in BrowserSim
> 3. Choose View Page Source from BrowserSim context menu
> ERROR: No source code displayed in JBDS just error message in VPE and Error Log view
> {noformat}
> java.lang.ClassCastException: org.jboss.tools.vpe.browsersim.eclipse.callbacks.StringInput cannot be cast to org.eclipse.ui.IFileEditorInput
> at org.jboss.tools.vpe.preview.editor.VpeEditorPartFactory.createVisualEditor(VpeEditorPartFactory.java:35)
> at org.jboss.tools.jst.web.ui.internal.editor.jspeditor.JSPMultiPageEditor.createPagesForVPE(JSPMultiPageEditor.java:589)
> at org.jboss.tools.jst.web.ui.internal.editor.jspeditor.JSPMultiPageEditor.createPages(JSPMultiPageEditor.java:506)
> at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:362)
> at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:140)
> at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:99)
> at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:321)
> at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
> at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:888)
> at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:869)
> at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:120)
> at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:337)
> at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:258)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
> at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)
> at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
> at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)
> at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:127)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:984)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:663)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:767)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:738)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:732)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:716)
> at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1250)
> at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:66)
> at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4598)
> at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:207)
> at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
> at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
> at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
> at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
> at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
> at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
> at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
> at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
> at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
> at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:81)
> at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
> at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
> at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
> at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:479)
> at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:445)
> at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:692)
> at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1123)
> at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3127)
> at org.eclipse.ui.internal.WorkbenchPage.access$23(WorkbenchPage.java:3049)
> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:3031)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3026)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2990)
> at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2971)
> at org.jboss.tools.vpe.browsersim.eclipse.callbacks.ViewSourceCallback.openInMemoryHtmlEditor(ViewSourceCallback.java:100)
> at org.jboss.tools.vpe.browsersim.eclipse.callbacks.ViewSourceCallback.access$0(ViewSourceCallback.java:83)
> at org.jboss.tools.vpe.browsersim.eclipse.callbacks.ViewSourceCallback$1.run(ViewSourceCallback.java:75)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3781)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3419)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1152)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1033)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:635)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:578)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:233)
> 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:648)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months