[JBoss JIRA] (JBIDE-23705) no content assist in freemarker templates for interface-based beans
by Daniel Dekany (Jira)
[ https://issues.jboss.org/browse/JBIDE-23705?page=com.atlassian.jira.plugi... ]
Daniel Dekany commented on JBIDE-23705:
---------------------------------------
In case someone finds this issue... FreeMarker templates won't see anything that {{java.beans.Inspector}} doesn't, except that FreeMarker has an configuration option to see things defined via Java 8 default methods (yes, {{java.beans.Inspector}} doesn't see them for some reason). But, the code that deals with non-property-reader methods is totally broken anyway. As this plugin was deprecated, I fixed this in my fork (https://github.com/ddekany/jbosstools-freemarker), if anyone will need this to be fixed.
> no content assist in freemarker templates for interface-based beans
> -------------------------------------------------------------------
>
> Key: JBIDE-23705
> URL: https://issues.jboss.org/browse/JBIDE-23705
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: freemarker
> Reporter: Ronald Müller
> Priority: Major
> Fix For: 4.13.x
>
>
> If your beans in freemarker templates are described by an interface, the code completion (content assist) will not work.
> There two mechanism implemented to provide content suggestion:
> # Bean-Introspection: this doesn't work for interfaces
> # Java Reflections: there are bugs which prevent any suggestions
> My suggestion: use only reflections - it will work for both and isn't that harder to implement.
> I'm working on a pull request for fixing this issue.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months
[JBoss JIRA] (JBIDE-26806) provide up to date attributes for content assist
by nimo stephan (Jira)
nimo stephan created JBIDE-26806:
------------------------------------
Summary: provide up to date attributes for content assist
Key: JBIDE-26806
URL: https://issues.jboss.org/browse/JBIDE-26806
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: jsf
Affects Versions: 4.12.0.Final
Reporter: nimo stephan
For example, the ui:fragment has a _rendered_ attribute, which is not shown by the content assis/code completion of jboss tools. So users are not aware of this property when not looking in the API.
{code:java}
<ui:fragment rendered=
{code}
I dont know if other jsf-tags also has missing attributes in code completions..
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months
[JBoss JIRA] (JBIDE-26757) PR check job for target platform shows error in log(but its green)
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-26757?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-26757:
-------------------------------
Fix Version/s: 4.13.x
> PR check job for target platform shows error in log(but its green)
> ------------------------------------------------------------------
>
> Key: JBIDE-26757
> URL: https://issues.jboss.org/browse/JBIDE-26757
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, target-platform
> Affects Versions: 4.13.0.AM1
> Environment: Central CI
> Reporter: Josef Kopriva
> Priority: Minor
> Fix For: 4.13.x
>
>
> Job is green, but there is an error in log:
> {code:java}
> [INFO] BUILD SUCCESS
> 11:35:33 [INFO] ------------------------------------------------------------------------
> 11:35:33 [INFO] Total time: 01:15 h
> 11:35:33 [INFO] Finished at: 2019-07-24T05:35:33-04:00
> 11:35:33 [INFO] Final Memory: 46M/331M
> 11:35:33 [INFO] ------------------------------------------------------------------------
> 11:35:34 Terminating xvnc.
> 11:35:34 $ /usr/bin/vncserver -kill :22
> 11:35:34 Killing Xvnc process ID 11376
> 11:35:40 Archiving artifacts
> 11:35:40 java.lang.InterruptedException: no matches found within 10000
> 11:35:40 at hudson.FilePath$34.hasMatch(FilePath.java:2677)
> 11:35:40 at hudson.FilePath$34.invoke(FilePath.java:2556)
> 11:35:40 at hudson.FilePath$34.invoke(FilePath.java:2546)
> 11:35:40 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2917)
> 11:35:40 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to rhel7-devstudio-releng-20433
> 11:35:40 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
> 11:35:40 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
> 11:35:40 at hudson.remoting.Channel.call(Channel.java:955)
> 11:35:40 at hudson.FilePath.act(FilePath.java:1036)
> 11:35:40 at hudson.FilePath.act(FilePath.java:1025)
> 11:35:40 at hudson.FilePath.validateAntFileMask(FilePath.java:2546)
> 11:35:40 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:243)
> 11:35:40 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
> 11:35:40 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
> 11:35:40 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
> 11:35:40 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
> 11:35:40 at hudson.model.Build$BuildExecution.post2(Build.java:186)
> 11:35:40 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
> 11:35:40 at hudson.model.Run.execute(Run.java:1823)
> 11:35:40 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
> 11:35:40 at hudson.model.ResourceController.execute(ResourceController.java:97)
> 11:35:40 at hudson.model.Executor.run(Executor.java:429)
> 11:35:40 Caused: hudson.FilePath$TunneledInterruptedException
> 11:35:40 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2919)
> 11:35:40 at hudson.remoting.UserRequest.perform(UserRequest.java:212)
> 11:35:40 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
> 11:35:40 at hudson.remoting.Request$2.run(Request.java:369)
> 11:35:40 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
> 11:35:40 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 11:35:40 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 11:35:40 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 11:35:40 at java.lang.Thread.run(Thread.java:748)
> 11:35:40 Caused: java.lang.InterruptedException: java.lang.InterruptedException: no matches found within 10000
> 11:35:40 at hudson.FilePath.act(FilePath.java:1038)
> 11:35:40 at hudson.FilePath.act(FilePath.java:1025)
> 11:35:40 at hudson.FilePath.validateAntFileMask(FilePath.java:2546)
> 11:35:40 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:243)
> 11:35:40 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
> 11:35:40 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
> 11:35:40 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
> 11:35:40 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
> 11:35:40 at hudson.model.Build$BuildExecution.post2(Build.java:186)
> 11:35:40 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
> 11:35:40 at hudson.model.Run.execute(Run.java:1823)
> 11:35:40 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
> 11:35:40 at hudson.model.ResourceController.execute(ResourceController.java:97)
> 11:35:40 at hudson.model.Executor.run(Executor.java:429)
> 11:35:40 No artifacts found that match the file pattern "**/*.p2diff, **/*.log". Configuration error?
> 11:35:40 [Set GitHub commit status (universal)] SUCCESS on repos [] (sha:e05d75f) with context:jbosstoolstargetplatform-Pull-Request
> 11:35:40 Started calculate disk usage of build
> 11:35:40 Finished Calculation of disk usage of build in 0 seconds
> 11:35:40 Started calculate disk usage of workspace
> 11:35:41 Finished Calculation of disk usage of workspace in 0 seconds
> 11:35:41 Setting status of e05d75f78b8fcfc1dfd76f8687dc15745216b110 to SUCCESS with url https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jbosstoo... and message: 'Build finished. '
> 11:35:41 Using context: Red Hat Jenkins
> 11:35:42 SUCCESSFUL build; See https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jbosstoo... for p2diff and more details.
> 11:35:42
> 11:35:44 Finished: SUCCESS
> {code}
> https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jbosstoo...
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months
[JBoss JIRA] (JBIDE-26793) cvc-complex-type.2.4.a error in <weld:scan> tag in the pom.xml when using CDI 2.0
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-26793?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-26793:
-------------------------------
Fix Version/s: 4.13.x
> cvc-complex-type.2.4.a error in <weld:scan> tag in the pom.xml when using CDI 2.0
> ---------------------------------------------------------------------------------
>
> Key: JBIDE-26793
> URL: https://issues.jboss.org/browse/JBIDE-26793
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi
> Affects Versions: 4.12.0.Final
> Environment: OS X, RHEL 7, Windows 10
> Reporter: Zbyněk Červinka
> Priority: Major
> Fix For: 4.13.x
>
> Attachments: pom-xml.png
>
>
> h2. *Error message:*
> {code}
> cvc-complex-type.2.4.a: Invalid content was found starting with element 'weld:scan'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":interceptors, "http://xmlns.jcp.org/xml/ns/javaee":decorators, "http://xmlns.jcp.org/xml/ns/javaee":alternatives, "http://xmlns.jcp.org/xml/ns/javaee":scan, "http://xmlns.jcp.org/xml/ns/javaee":trim}' is expected.
> {code}
> h2. *Affected weld version details:*
> * Weld se version: 2.2.4.Final, 2.4.8.Final
> * Weld api version: 2.2.SP3, 3.1.SP1
> h2. *Additional information:*
> * error only appears when using CDI 2.0, older versions of CDI are working properly
> * Error appears when using WildFly 16 and in several CodeReady Studio version (July/August)
> * See the *{color:#DE350B}pom-xml.png{color}* image in the attachment to see, where the error appears
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months
[JBoss JIRA] (JBIDE-26803) provide content assist (code completion) for ui:params defined properties
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-26803?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-26803:
-------------------------------
Component/s: jsf
> provide content assist (code completion) for ui:params defined properties
> -------------------------------------------------------------------------
>
> Key: JBIDE-26803
> URL: https://issues.jboss.org/browse/JBIDE-26803
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: jsf
> Affects Versions: 4.12.0.Final
> Reporter: nimo stephan
> Priority: Major
> Fix For: 4.13.x
>
>
> When using this:
> {code:java}
> <ui:param name="user" value="#{client.user}" />
> {code}
> and typing
> {code:java}
> #{user.username}
> {code}
> then code completion does not work, because *jboss tools* cannot handle code completion from _ui:param_ defined names.
> Content assist does also not work when using something like this:
> {code:java}
> <ui:include src="WEB-INF/tpl/task.xhtml">
> <ui:param name="tasks" value="#{all.tasks}" />
> </ui:include>
> {code}
> when using
> {code:java}
> #{tasks.?}
> {code}
> in task.xhtml, then code completion does also not work.
> *Please provide code completion for such cases.*
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months
[JBoss JIRA] (JBIDE-26803) provide content assist (code completion) for ui:params defined properties
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-26803?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-26803:
-------------------------------
Affects Version/s: 4.12.0.Final
> provide content assist (code completion) for ui:params defined properties
> -------------------------------------------------------------------------
>
> Key: JBIDE-26803
> URL: https://issues.jboss.org/browse/JBIDE-26803
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Affects Versions: 4.12.0.Final
> Reporter: nimo stephan
> Priority: Major
> Fix For: 4.13.x
>
>
> When using this:
> {code:java}
> <ui:param name="user" value="#{client.user}" />
> {code}
> and typing
> {code:java}
> #{user.username}
> {code}
> then code completion does not work, because *jboss tools* cannot handle code completion from _ui:param_ defined names.
> Content assist does also not work when using something like this:
> {code:java}
> <ui:include src="WEB-INF/tpl/task.xhtml">
> <ui:param name="tasks" value="#{all.tasks}" />
> </ui:include>
> {code}
> when using
> {code:java}
> #{tasks.?}
> {code}
> in task.xhtml, then code completion does also not work.
> *Please provide code completion for such cases.*
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months
[JBoss JIRA] (JBIDE-26803) provide content assist (code completion) for ui:params defined properties
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-26803?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-26803:
-------------------------------
Fix Version/s: 4.13.x
> provide content assist (code completion) for ui:params defined properties
> -------------------------------------------------------------------------
>
> Key: JBIDE-26803
> URL: https://issues.jboss.org/browse/JBIDE-26803
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Affects Versions: 4.12.0.Final
> Reporter: nimo stephan
> Priority: Major
> Fix For: 4.13.x
>
>
> When using this:
> {code:java}
> <ui:param name="user" value="#{client.user}" />
> {code}
> and typing
> {code:java}
> #{user.username}
> {code}
> then code completion does not work, because *jboss tools* cannot handle code completion from _ui:param_ defined names.
> Content assist does also not work when using something like this:
> {code:java}
> <ui:include src="WEB-INF/tpl/task.xhtml">
> <ui:param name="tasks" value="#{all.tasks}" />
> </ui:include>
> {code}
> when using
> {code:java}
> #{tasks.?}
> {code}
> in task.xhtml, then code completion does also not work.
> *Please provide code completion for such cases.*
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months
[JBoss JIRA] (JBIDE-26805) StacksCoreTest is failing
by Josef Kopriva (Jira)
Josef Kopriva created JBIDE-26805:
-------------------------------------
Summary: StacksCoreTest is failing
Key: JBIDE-26805
URL: https://issues.jboss.org/browse/JBIDE-26805
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: base
Affects Versions: 4.13.0.AM1
Environment: CentralCI
Reporter: Josef Kopriva
{code:java}
org.jboss.tools.stacks.core.test.StacksCoreTest.testManagerUseDefaultStacks
Stack Trace
junit.framework.AssertionFailedError
at org.jboss.tools.stacks.core.test.StacksCoreTest.testManagerUseDefaultStacks(StacksCoreTest.java:45)
org.jboss.tools.stacks.core.test.StacksCoreTest.testManagerFindsStacks
Stack Trace
junit.framework.AssertionFailedError
at org.jboss.tools.stacks.core.test.StacksCoreTest.testManagerFindsStacks(StacksCoreTest.java:37)
{code}
See: https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstud...
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
5 years, 3 months