[JBoss JIRA] (JBIDE-17151) Improve the "New Restful Web Service" wizard
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17151?page=com.atlassian.jira.plugi... ]
Xavier Coulon commented on JBIDE-17151:
---------------------------------------
[~ArunGupta], [~pmuir], [~maxandersen],
Would it be better to have a JAX-RS Resource Creation Wizard that lets (or impose?) the user to create a JAX-RS Application (subclass of {{javax.ws.rs.core.Application}} and/or configured in {{web.xml}}) if none already exists in the project, or should the tooling simply report a problem (error or warning - this can already be configured in the preferences) to inform the user that no JAX-RS Application exists, along with providing her with a wizard to create one ?
As a third choice, we could have a wizard to create a JAX-RS Application, and it may or may not appear in the JAX-RS Resource creation workflow.
Choice 1 is strict and would match with pure JEE6/7 development, but would not work for developers targeting deployments on Servlet containers (where a custom dispatcher servlet needs to be configured - this is out-of-scope of the tooling).
Choice 2 seems more flexible (developers can still ignore the missing JAX-RS Application problem if they don't plan to deploy on a JEE container).
WDYT ?
> Improve the "New Restful Web Service" wizard
> --------------------------------------------
>
> Key: JBIDE-17151
> URL: https://issues.jboss.org/browse/JBIDE-17151
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 4.2.0.Beta1
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta2
>
> Attachments: current wizard.png, Mockup for new JAX-RS Wizard.bmml, Mockup for new JAX-RS Wizard.bmml, Mockup for new JAX-RS Wizard.bmml, Mockup for new JAX-RS Wizard.png
>
>
> The current wizard could be improved after feedback on JBIDE-13309, JBIDE-13310 and internal discussion:
> {quote}
> - Choosing the first wizard shows an option to edit "Web Service" and "Application Class Name" and have the same values. Why this value need to be entered twice and how is it used ?
> - web.xml is generated even though "Update web.xml" was not selected. Why can't ApplicationPath be used instead of web.xml anyway ?
> - Even in the generated web.xml, the mapped path is {{/*}}. This is not the recommended practice as none of the Servlets or other resources in the application would then be resolved correctly. The recommendation is to use something like {{/webresources}}, {{/resources}}, or {{/rest}} and have all the resources be accessed from there.
> - The generation of REST resource did not added JAX-RS facet to my project. Does it have to be manually added ? If yes, then why ?
> - Adding JAX-RS facet shows "Further configuration required" and require me to specify "JAX-RS Servlet class name". How is the user expected to know the class name ? This should not even be required for a Java EE 6 application.
> - In pure Java EE 6, there should be no need to ask that information anyway. Instead use {{@ApplicationPath}} to specify the base path of JAX-RS.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (JBIDE-17235) kitchensink-backbone example requirement is not satisfied by WildFly8 runtime
by Radim Hopp (JIRA)
Radim Hopp created JBIDE-17235:
----------------------------------
Summary: kitchensink-backbone example requirement is not satisfied by WildFly8 runtime
Key: JBIDE-17235
URL: https://issues.jboss.org/browse/JBIDE-17235
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples
Affects Versions: 4.2.0.Beta1
Environment: 4.2.0.Beta2b
Reporter: Radim Hopp
On MavenExapmlesRequirementsPage page of New Project Example wizard is requirement with description "This project example requires JBoss Enterprise Application Platform 6, JBoss Application Server 7.1 or WildFly 8.0", but even though WildFly8 requirement is correctly defined in eclipse, requirement is still not met.
EAP6.2 works fine (satisfies the reqirement)
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (JBIDE-15897) Server Adapter Context Menu: make all relevant OpenShift Explorer actions available from Server Adapter
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15897?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-15897:
------------------------------------------
we agreed on adding:
* Import Application (not shown if the project already exists)
* Delete Application (and delete the server adapter after having the user confirming)
* Edit Embedded Cartidges
* Application Details
> Server Adapter Context Menu: make all relevant OpenShift Explorer actions available from Server Adapter
> -------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-15897
> URL: https://issues.jboss.org/browse/JBIDE-15897
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Affects Versions: 4.2.0.Final
> Reporter: Max Rydahl Andersen
> Assignee: Max Rydahl Andersen
> Labels: server_adapter
> Fix For: 4.2.0.Beta2
>
> Attachments: explorer-context-menu.png, explorer-context-menu.png, server-adapter-context-menu.png, server-adapter-context-menu.png
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> JBIDE-11841 was done earlier but only added the missing actions - when new actions are added we tend to forget to add them.
> Explorer:
> !explorer-context-menu.png!
> Server adapter:
> !server-adapter-context-menu.png!
> We should make it so these actions (when relevant) gets added to both places (openshift explorer / server adapter) and optimally also available in an OpenShift context menu on a project.
> Meaning you don't have to navigate to explorer view constantly.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (JBIDE-17229) Is BrowserSim 'select JRE' option obsolete?
by Konstantin Marmalyukov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17229?page=com.atlassian.jira.plugi... ]
Konstantin Marmalyukov commented on JBIDE-17229:
------------------------------------------------
{quote}
So is there a use case any longer for users to be able to set a preference for a different JRE from the one running the IDE?
{quote}
I think usecase about SWT.Webkit under Win64 still not missed. Plus usecase for Linux users you mention above.
Anyway, choosing jvm special for browsersim is pretty good imo.
> Is BrowserSim 'select JRE' option obsolete?
> -------------------------------------------
>
> Key: JBIDE-17229
> URL: https://issues.jboss.org/browse/JBIDE-17229
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: browsersim
> Affects Versions: 4.2.0.Beta1
> Reporter: Michelle Murray
> Assignee: Konstantin Marmalyukov
>
> The preference to select a JRE with which to run BrowserSim was introduced so that 64-bit Windows users could run the IDE as 64-bit but use BrowserSim in 32-bit (since Apple Safari was only available as 32-bit for Windows).
> Now there is JavaFX option for 32-bit and 64-bit Windows users to run BrowserSIm. So 64-bit Windows users no longer need to install 32-bit Apple Safari and run BrowserSim 32-bit while IDE runs in 64-bit.
> So is there a use case any longer for users to be able to set a preference for a different JRE from the one running the IDE?
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (JBIDE-17230) GTK and BrowserSim web engine issue on Fedora
by Konstantin Marmalyukov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17230?page=com.atlassian.jira.plugi... ]
Konstantin Marmalyukov commented on JBIDE-17230:
------------------------------------------------
{quote}
I make a HTML5 app, deploy to EAP 6.2 and then try to view on BrowserSim. But when I start BrowserSim I see an error message stating "WebKitGTK 1.2.0 or newer must be installed and in library load path". I've got libwebkit2gtk 2.0.4 installed so don't know how to resolve this.
{quote}
I'm surprised/ Will check later this week when will be able to use Fedora machine.
{quote}
I don't have Oracle JDK installed as this isn't supported by RH for use with Fedora.
{quote}
But you can download and install it from Oracle site. And use JavaFx ;)
{quote}
Issues:
1) Can the first error message be more helpful?
2) Can the info on the error message wiki link be updated to detail why this error is being seen on Linux? (current info about similar message related to Windows and JRE7 issue - needs updating anyway as suggests using Java 6 as fallback for Windows but JBDS 8 doesn't support Java 6 for running IDE)
3) Can selecting GTK2 set BrowserSim to use SWT WebKit and then users change web engine preference to JavaFX if they want?
{quote}
1. Got any stacktrace whan you see it? It will help if yes.
2. Will try to update.
3. Must be like this. Will check later this week if I can reproduce it on my F20.
> GTK and BrowserSim web engine issue on Fedora
> ---------------------------------------------
>
> Key: JBIDE-17230
> URL: https://issues.jboss.org/browse/JBIDE-17230
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.2.0.Beta1
> Reporter: Michelle Murray
> Assignee: Konstantin Marmalyukov
>
> Here's my bad user experience:
> I'm running Fedora19. I've seen GTK3 issues so I always set 'export SWT_GTK3=0' before starting JBDS.
> I make a HTML5 app, deploy to EAP 6.2 and then try to view on BrowserSim. But when I start BrowserSim I see an error message stating "WebKitGTK 1.2.0 or newer must be installed and in library load path". I've got libwebkit2gtk 2.0.4 installed so don't know how to resolve this.
> After much head scratching I finally remember about BrowserSim GTK preferences and web engine options. Within Window>Preferences>JBoss Tools>BrowserSim/CordovaSim, I see that GTK2 is selected. The GTK2 button label states that this will allow me to use JavaFX which needs Oracle JDK. I don't have Oracle JDK installed as this isn't supported by RH for use with Fedora. Perhaps this is why I see the earlier error message? So I try selecting GTK3. I run BrowserSim again and it starts but then I start to see GTK3 UI issues in BrowserSim.
> So I want to use GTK2 and SWT WebKit for BrowserSim on Fedora. Is there a specific reason I can't (other than the IDE won't let me)?
> Issues:
> 1) Can the first error message be more helpful?
> 2) Can the info on the error message wiki link be updated to detail why this error is being seen on Linux? (current info about similar message related to Windows and JRE7 issue - needs updating anyway as suggests using Java 6 as fallback for Windows but JBDS 8 doesn't support Java 6 for running IDE)
> 2) Can selecting GTK2 set BrowserSim to use SWT WebKit and then users change web engine preference to JavaFX if they want?
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (JBDS-3014) On Mac Maverick JVM shared library points to wrong directory
by Emily Brand (JIRA)
[ https://issues.jboss.org/browse/JBDS-3014?page=com.atlassian.jira.plugin.... ]
Emily Brand commented on JBDS-3014:
-----------------------------------
OSX Version 10.8.5
> On Mac Maverick JVM shared library points to wrong directory
> ------------------------------------------------------------
>
> Key: JBDS-3014
> URL: https://issues.jboss.org/browse/JBDS-3014
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: installer
> Affects Versions: 8.0.0.Beta1
> Environment: Mac on Maverick
> Reporter: Robb Greathouse
> Priority: Critical
> Fix For: 8.0.0.Beta2
>
>
> The JVM shared library "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/../lib/server/libjvm.dylib"
> does not contain the JNI_CreateJavaVM symbol.
> This prevents it from starting.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (JBIDE-17234) Cannot launch BrowserSim on Windows 8.1 (32- or 64-bit) w/ JDK 7 or 8
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17234?page=com.atlassian.jira.plugi... ]
Ilya Buziuk commented on JBIDE-17234:
-------------------------------------
[~nickboldt], lol :-) I will try to be more polite next time
> Cannot launch BrowserSim on Windows 8.1 (32- or 64-bit) w/ JDK 7 or 8
> ---------------------------------------------------------------------
>
> Key: JBIDE-17234
> URL: https://issues.jboss.org/browse/JBIDE-17234
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.2.0.Beta1
> Environment: Windows 8.1 Pro, 64-bit
> Reporter: Nick Boldt
> Assignee: Ilya Buziuk
> Fix For: 4.2.0.Beta2
>
> Attachments: jbds8b1-win81-failure-to-launch_with_32-bit-jdk.png, jbds8b1-win81-failure-to-launch_with_32-bit-jdk7_installed_d32.png, win81pro-details.png
>
>
> System details: [^win81pro-details.png]
> I have tried the following:
> a) install jbdevstudio-product-universal-8.0.0.Beta1-v20140408-2350-B93.jar via commandline, using JDK 7 (32- and 64-bit) and JDK 8 (64-bit). Using the 32-bit JDK, I've both used and omitted the -d32 flag.
> JDK versions:
> * jdk1.7.0_55 (32- and 64-bit)
> * jdk1.8.0_05 (64-bit)
> b) In Central, click either `Start from scratch > HTML5 Project`, or `Start from a sample > Mobile Applications > kitchensink-html5-mobile`
> c) In Project Explorer, open `src > main > webapp > index.html`
> d) right-click the file and select `Open With > BrowserSim`
> If JBDS was installed in 32-bit mode, you get this error:
> !jbds8b1-win81-failure-to-launch_with_32-bit-jdk7_installed_d32.png!
> If JBDS was installed in 64-bit mode, you get this error:
> !jbds8b1-win81-failure-to-launch_with_32-bit-jdk.png!
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (JBIDE-17167) rse.ui source bundle not available in locally-built TP
by Mickael Istria (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17167?page=com.atlassian.jira.plugi... ]
Mickael Istria commented on JBIDE-17167:
----------------------------------------
I've had time to quickly test it:
* org.eclipse.rse.ui.source bundle is available when importing multiple.target in IDE
* org.eclipse.rse.ui.source bundle is NOT available when mirroring TP with Maven
* org.eclipse.rse.ui bundle comes transitively from org.eclipse.rse feature. Chain of dependencies is : target-platform -> org.eclipse.rse feature -> org.eclipse.rse.core feature -> org.eclipse.rse.ui bundle
* feature org.eclipse.rse.core.source is the one that references org.eclipse.rse.ui.source bundle
* the TargetToRepo mojo doesn't try to resolve sources transitively, so it tries to get org.eclipse.rse.source feature, but this one doesn't exist, so it does not try to resolve org.eclipse.rse.core.feature
Although the TM/RSE project should consider shipping an org.eclipse.rse.source feature that includes other source features, there is definitely a way to improve how the TargetToRepo mojo works. It could resolve source against resolved artifacts of TP, instead of relying on the target definition.
> rse.ui source bundle not available in locally-built TP
> ------------------------------------------------------
>
> Key: JBIDE-17167
> URL: https://issues.jboss.org/browse/JBIDE-17167
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: target-platform
> Affects Versions: 4.2.0.Beta1
> Reporter: Rob Stryker
> Fix For: 4.2.0.Beta2
>
>
> Cannot find a source bundle for rse.ui using locally-built TP and the flags for include source.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (JBIDE-17234) Cannot launch BrowserSim on Windows 8.1 (32- or 64-bit) w/ JDK 7 or 8
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17234?page=com.atlassian.jira.plugi... ]
Nick Boldt commented on JBIDE-17234:
------------------------------------
After installing Safari 5.1.7 on Windows 8.1 Pro, I can confirm that yes, BrowserSim *DOES* work when I do the above `Open With > BrowserSim` on an html file.
(Side note: you might want to abbreviate BrowserSim to bSim or something other than BS, as it suggests your quality is not very good.
http://www.urbandictionary.com/define.php?term=calling%20bs
http://www.urbandictionary.com/define.php?term=B.S.
:D)
> Cannot launch BrowserSim on Windows 8.1 (32- or 64-bit) w/ JDK 7 or 8
> ---------------------------------------------------------------------
>
> Key: JBIDE-17234
> URL: https://issues.jboss.org/browse/JBIDE-17234
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.2.0.Beta1
> Environment: Windows 8.1 Pro, 64-bit
> Reporter: Nick Boldt
> Assignee: Ilya Buziuk
> Fix For: 4.2.0.Beta2
>
> Attachments: jbds8b1-win81-failure-to-launch_with_32-bit-jdk.png, jbds8b1-win81-failure-to-launch_with_32-bit-jdk7_installed_d32.png, win81pro-details.png
>
>
> System details: [^win81pro-details.png]
> I have tried the following:
> a) install jbdevstudio-product-universal-8.0.0.Beta1-v20140408-2350-B93.jar via commandline, using JDK 7 (32- and 64-bit) and JDK 8 (64-bit). Using the 32-bit JDK, I've both used and omitted the -d32 flag.
> JDK versions:
> * jdk1.7.0_55 (32- and 64-bit)
> * jdk1.8.0_05 (64-bit)
> b) In Central, click either `Start from scratch > HTML5 Project`, or `Start from a sample > Mobile Applications > kitchensink-html5-mobile`
> c) In Project Explorer, open `src > main > webapp > index.html`
> d) right-click the file and select `Open With > BrowserSim`
> If JBDS was installed in 32-bit mode, you get this error:
> !jbds8b1-win81-failure-to-launch_with_32-bit-jdk7_installed_d32.png!
> If JBDS was installed in 64-bit mode, you get this error:
> !jbds8b1-win81-failure-to-launch_with_32-bit-jdk.png!
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months
[JBoss JIRA] (JBIDE-17234) Cannot launch BrowserSim on Windows 8.1 (32- or 64-bit) w/ JDK 7 or 8
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17234?page=com.atlassian.jira.plugi... ]
Ilya Buziuk edited comment on JBIDE-17234 at 5/6/14 6:14 AM:
-------------------------------------------------------------
< b) is there no way to make BrowserSim work on 64-bit windows with 32-bit JBDS + 32-bit JDK 7, without having to install Safari?
Nope, for now we do need Safari anyways and this is definitely a downturn. I think we need to think how to improve that. For instance if there is no Safari but we run against JDK 7 or JDK 8 use javaFx web engine. [~nickboldt], could you possibly verify if BS works on windows 8 with Safari installed?
was (Author: ibuziuk):
< b) is there no way to make BrowserSim work on 64-bit windows with 32-bit JBDS + 32-bit JDK 7, without having to install Safari?
Nope, for now we do need Safari anyways and this is definitely a downturn. I think we need to think how to improve that. For instance if there is no Safari but we run against JDK 7 or JDK 8 use javaFx web engine. [~nickboldt], could you possibly verify if BS on windows 8 with Safari installed?
> Cannot launch BrowserSim on Windows 8.1 (32- or 64-bit) w/ JDK 7 or 8
> ---------------------------------------------------------------------
>
> Key: JBIDE-17234
> URL: https://issues.jboss.org/browse/JBIDE-17234
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.2.0.Beta1
> Environment: Windows 8.1 Pro, 64-bit
> Reporter: Nick Boldt
> Assignee: Ilya Buziuk
> Fix For: 4.2.0.Beta2
>
> Attachments: jbds8b1-win81-failure-to-launch_with_32-bit-jdk.png, jbds8b1-win81-failure-to-launch_with_32-bit-jdk7_installed_d32.png, win81pro-details.png
>
>
> System details: [^win81pro-details.png]
> I have tried the following:
> a) install jbdevstudio-product-universal-8.0.0.Beta1-v20140408-2350-B93.jar via commandline, using JDK 7 (32- and 64-bit) and JDK 8 (64-bit). Using the 32-bit JDK, I've both used and omitted the -d32 flag.
> JDK versions:
> * jdk1.7.0_55 (32- and 64-bit)
> * jdk1.8.0_05 (64-bit)
> b) In Central, click either `Start from scratch > HTML5 Project`, or `Start from a sample > Mobile Applications > kitchensink-html5-mobile`
> c) In Project Explorer, open `src > main > webapp > index.html`
> d) right-click the file and select `Open With > BrowserSim`
> If JBDS was installed in 32-bit mode, you get this error:
> !jbds8b1-win81-failure-to-launch_with_32-bit-jdk7_installed_d32.png!
> If JBDS was installed in 64-bit mode, you get this error:
> !jbds8b1-win81-failure-to-launch_with_32-bit-jdk.png!
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 11 months