[JBoss JIRA] (JBIDE-17947) Java Model Exception occurs while typing
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17947?page=com.atlassian.jira.plugi... ]
Alexey Kazakov commented on JBIDE-17947:
----------------------------------------
+1 to merge this PR into Beta3 (the PR is targeting master, don't forget to merge into beta3 branch too). But null-check is not a silver bullet. See my comments in github:
{quote}
The problem is that as-you-type validation works in a separate job. It may happen that this method exists in the time of this null checking but won't when you do NodeFinder.perform().
So a core exception still can be thrown here. There is not much you can do actually. You should just be ready to get a Core Exception and handle it properly.
Anyway this PR looks OK for Beta3 since it decreases the possibility of getting a CoreExeption. But we should be sure that JAX-RS tools have a proper exception handling. It can be done for CR1.
{quote}
> Java Model Exception occurs while typing
> ----------------------------------------
>
> Key: JBIDE-17947
> URL: https://issues.jboss.org/browse/JBIDE-17947
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta3
> Reporter: Radoslav Rábara
> Assignee: Alexey Kazakov
> Labels: respin-c
> Fix For: 4.2.0.Beta3
>
> Attachments: JBIDE-17947 (2).ogv, stack trace, video.ogv
>
>
> While editing JAX-RS resource class, the following exception shows up in Error log
> {code}
> Java Model Exception: Java Model Status [post() {key=LResource;.post()V} [in Resource [in [Working copy] Resource.java [in <default> [in src [in DynamicWebProject]]]]] does not exist]
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBDS-3092) Remove content in JBDS update site which is duplicated in the JBDS TP
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-3092?page=com.atlassian.jira.plugin.... ]
Nick Boldt commented on JBDS-3092:
----------------------------------
OK, so to recap here's what has been done:
a) remove sources from the installer (file got smaller)
b) add extra plugins to the installer (file got a bit larger)
c) remove eclipse.org stuff from update site zip (file dropped from 850M to 508M, but still includes JBT sources & pack.gz files - perhaps we should remove those too?)
Quick test on Beta2 update site zip (850M) shows that if we remove the packed jars, we get down to 539M (saving over 310M), and if we then remove sources, we get down to 502M (another 37M of space saved). SO... combine that with the savings from removing the eclipse.org stuff, and we should be closer to the ~250M target that I had suggested earlier. I guess when I built it locally I didn't use the *-Ppack200* flag, which would explain the delta in size.
Because we need the packed jars for the live update site, we'll need to hand-tune the zip via an ant script to remove the pack.gz artifacts (and sources?) and then regen the metadata.
> Remove content in JBDS update site which is duplicated in the JBDS TP
> ---------------------------------------------------------------------
>
> Key: JBDS-3092
> URL: https://issues.jboss.org/browse/JBDS-3092
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: target-platform, updatesite
> Affects Versions: 8.0.0.Beta3
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 8.0.0.CR1
>
> Attachments: beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-compare-compressed-dir-sizes.png, beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-features-included.png, beta3-vs-cr1-installer-jar-cr1-has-more-plugins-included.png, jbds3092-dgolovin-pr.png
>
>
> From Max:
> {quote} Why is parts of TP included inside https://devstudio.jboss.com/updates/8.0.0/jboss-devstudio-8.0.0.Beta3-upd... ?
> why not *just* our plugins ? {quote}
> Ref: https://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-repository
> Haha: http://memegenerator.net/instance/52610169
> Reason for the extraneous inclusions is that this config param is set in the JBDS update site pom:
> {code:title=https://github.com/jbdevstudio/jbdevstudio-product/blob/master/site/pom.xml#L29}
> <includeAllDependencies>true</includeAllDependencies>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBDS-3092) Remove content in JBDS update site which is duplicated in the JBDS TP
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-3092?page=com.atlassian.jira.plugin.... ]
Nick Boldt commented on JBDS-3092:
----------------------------------
{quote} why are we ignoring the issues pointed out regarding icu.base and javax.* and org.apache.*
could we please investigate why we now need these?
About icu.base that bundle should NOT be in there. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=395003
{quote}
When installed, the resulting footprint for Beta2/Beta3 vs. CR1 is more or less the same (except for target platform changes). No new orbit bundles are present. Only these show differences and are found in both Beta2/Beta3/CR1 - the differences are that they were built at different times and therefore contain different jar signatures / ECLIPSE_.RSA files:
{code}javax.xml.rpc_1.1.0.v201209140446
org.apache.ant_1.9.2.v201404171502
org.apache.axis_1.4.0.v201005080400
org.apache.commons.discovery_0.2.0.v201004190315
com.ibm.icu_52.1.0.v201404241930.jar
javax.activation_1.1.0.v201211130549.jar
javax.annotation_1.2.0.v201401042248.jar
javax.mail_1.4.0.v201005080615.jar
javax.wsdl_1.6.2.v201012040545.jar
org.apache.commons.codec_1.6.0.v201305230611.jar
org.apache.commons.codec.source_1.6.0.v201305230611.jar
org.apache.commons.httpclient_3.1.0.v201012070820.jar
org.apache.commons.lang_2.6.0.v201404270220.jar
org.apache.commons.logging_1.1.1.v201101211721.jar
org.apache.httpcomponents.httpclient_4.2.6.v201311072007.jar
org.apache.httpcomponents.httpclient.source_4.2.6.v201311072007.jar
org.apache.httpcomponents.httpcore_4.2.5.v201311072007.jar
org.apache.httpcomponents.httpcore.source_4.2.5.v201311072007.jar
{code}
> Remove content in JBDS update site which is duplicated in the JBDS TP
> ---------------------------------------------------------------------
>
> Key: JBDS-3092
> URL: https://issues.jboss.org/browse/JBDS-3092
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: target-platform, updatesite
> Affects Versions: 8.0.0.Beta3
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 8.0.0.CR1
>
> Attachments: beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-compare-compressed-dir-sizes.png, beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-features-included.png, beta3-vs-cr1-installer-jar-cr1-has-more-plugins-included.png, jbds3092-dgolovin-pr.png
>
>
> From Max:
> {quote} Why is parts of TP included inside https://devstudio.jboss.com/updates/8.0.0/jboss-devstudio-8.0.0.Beta3-upd... ?
> why not *just* our plugins ? {quote}
> Ref: https://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-repository
> Haha: http://memegenerator.net/instance/52610169
> Reason for the extraneous inclusions is that this config param is set in the JBDS update site pom:
> {code:title=https://github.com/jbdevstudio/jbdevstudio-product/blob/master/site/pom.xml#L29}
> <includeAllDependencies>true</includeAllDependencies>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17947) Java Model Exception occurs while typing
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17947?page=com.atlassian.jira.plugi... ]
Xavier Coulon reassigned JBIDE-17947:
-------------------------------------
Assignee: Alexey Kazakov (was: Xavier Coulon)
[~akazakov], can you review the PR ? (see PR comments for info about the changes)
> Java Model Exception occurs while typing
> ----------------------------------------
>
> Key: JBIDE-17947
> URL: https://issues.jboss.org/browse/JBIDE-17947
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta3
> Reporter: Radoslav Rábara
> Assignee: Alexey Kazakov
> Labels: respin-c
> Fix For: 4.2.0.Beta3
>
> Attachments: JBIDE-17947 (2).ogv, stack trace, video.ogv
>
>
> While editing JAX-RS resource class, the following exception shows up in Error log
> {code}
> Java Model Exception: Java Model Status [post() {key=LResource;.post()V} [in Resource [in [Working copy] Resource.java [in <default> [in src [in DynamicWebProject]]]]] does not exist]
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBDS-3092) Remove content in JBDS update site which is duplicated in the JBDS TP
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-3092?page=com.atlassian.jira.plugin.... ]
Nick Boldt edited comment on JBDS-3092 at 7/22/14 1:06 PM:
-----------------------------------------------------------
(Note to Max: images are wide. Please scroll right.)
Comparing a Beta2 update site with the CR1 version, we see that as expected most of the eclipse.org stuff has been removed:
!beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-features-included.png!
Note also that binaries and plugins have removed. Compare the directory sizes before/after:
!beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-compare-compressed-dir-sizes.png!
For the iInstaller jar, the difference is that now the CR1 version contains MORE plugins than before, presumably because the inclusion of the full JBDS TP provides more optional/greedy deps to be made available:
!beta3-vs-cr1-installer-jar-cr1-has-more-plugins-included.png!
was (Author: nickboldt):
Comparing a Beta2 update site with the CR1 version, we see that as expected most of the eclipse.org stuff has been removed:
!beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-features-included.png!
Note also that binaries and plugins have removed. Compare the directory sizes before/after:
!beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-compare-compressed-dir-sizes.png!
For the iInstaller jar, the difference is that now the CR1 version contains MORE plugins than before, presumably because the inclusion of the full JBDS TP provides more optional/greedy deps to be made available:
!beta3-vs-cr1-installer-jar-cr1-has-more-plugins-included.png!
> Remove content in JBDS update site which is duplicated in the JBDS TP
> ---------------------------------------------------------------------
>
> Key: JBDS-3092
> URL: https://issues.jboss.org/browse/JBDS-3092
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: target-platform, updatesite
> Affects Versions: 8.0.0.Beta3
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 8.0.0.CR1
>
> Attachments: beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-compare-compressed-dir-sizes.png, beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-features-included.png, beta3-vs-cr1-installer-jar-cr1-has-more-plugins-included.png, jbds3092-dgolovin-pr.png
>
>
> From Max:
> {quote} Why is parts of TP included inside https://devstudio.jboss.com/updates/8.0.0/jboss-devstudio-8.0.0.Beta3-upd... ?
> why not *just* our plugins ? {quote}
> Ref: https://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-repository
> Haha: http://memegenerator.net/instance/52610169
> Reason for the extraneous inclusions is that this config param is set in the JBDS update site pom:
> {code:title=https://github.com/jbdevstudio/jbdevstudio-product/blob/master/site/pom.xml#L29}
> <includeAllDependencies>true</includeAllDependencies>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBDS-3092) Remove content in JBDS update site which is duplicated in the JBDS TP
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-3092?page=com.atlassian.jira.plugin.... ]
Nick Boldt updated JBDS-3092:
-----------------------------
Attachment: beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-compare-compressed-dir-sizes.png
beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-features-included.png
beta3-vs-cr1-installer-jar-cr1-has-more-plugins-included.png
Comparing a Beta2 update site with the CR1 version, we see that as expected most of the eclipse.org stuff has been removed:
!beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-features-included.png!
Note also that binaries and plugins have removed. Compare the directory sizes before/after:
!beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-compare-compressed-dir-sizes.png!
For the iInstaller jar, the difference is that now the CR1 version contains MORE plugins than before, presumably because the inclusion of the full JBDS TP provides more optional/greedy deps to be made available:
!beta3-vs-cr1-installer-jar-cr1-has-more-plugins-included.png!
> Remove content in JBDS update site which is duplicated in the JBDS TP
> ---------------------------------------------------------------------
>
> Key: JBDS-3092
> URL: https://issues.jboss.org/browse/JBDS-3092
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: target-platform, updatesite
> Affects Versions: 8.0.0.Beta3
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 8.0.0.CR1
>
> Attachments: beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-compare-compressed-dir-sizes.png, beta2-vs-cr1-installer-jar-cr1-has-less-eclipse.org-features-included.png, beta3-vs-cr1-installer-jar-cr1-has-more-plugins-included.png, jbds3092-dgolovin-pr.png
>
>
> From Max:
> {quote} Why is parts of TP included inside https://devstudio.jboss.com/updates/8.0.0/jboss-devstudio-8.0.0.Beta3-upd... ?
> why not *just* our plugins ? {quote}
> Ref: https://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-repository
> Haha: http://memegenerator.net/instance/52610169
> Reason for the extraneous inclusions is that this config param is set in the JBDS update site pom:
> {code:title=https://github.com/jbdevstudio/jbdevstudio-product/blob/master/site/pom.xml#L29}
> <includeAllDependencies>true</includeAllDependencies>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBDS-2949) Require Java 7 for the IDE
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBDS-2949?page=com.atlassian.jira.plugin.... ]
Max Rydahl Andersen resolved JBDS-2949.
---------------------------------------
Resolution: Done
> Require Java 7 for the IDE
> --------------------------
>
> Key: JBDS-2949
> URL: https://issues.jboss.org/browse/JBDS-2949
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: integration
> Reporter: Max Rydahl Andersen
> Assignee: Len DiMaggio
>
> Run the IDE with Java 7 (Java 6 no longer supported) (Users applications and servers can still use older and newer JDK’s like Java 1.4,5,6, 8 etc.) P1
> Java 6 is no longer supported by Oracle and by requiring Java 7 we can use better native IO and JavaFX (only on oracle)
> Forge already requires Java 7.
> Concerns: If we do not run with Java 6 we cannot support Xulrunner based VPE on OSX.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months