[jbosstools-issues] [JBoss JIRA] (JBIDE-17408) jst.jsdt plugin should depend on SPECIFIC version of tern.java, not just 0.2.0

Nick Boldt (JIRA) issues at jboss.org
Tue Jun 10 08:27:15 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-17408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Boldt updated JBIDE-17408:
-------------------------------

    Attachment: cannot-upgrade-tern-because-jsdt-feature-prevents.png
                jst.jsdt.feature_B43.png


1. Install JBDS from jboss-devstudio-8.0.0.Beta2-v20140525-2146-B104-installer-standalone.jar
2. Launch JBDS and open Central > Software/Update > select Hybrid Mobile Tools > click Install/Update > fail:

{code}
Problems occurred while performing installation: The following connectors are not available: JBoss Hybrid Mobile Tools + CordovaSim (id=org.jboss.tools.aerogear.hybrid.feature.feature.group, org.jboss.tools.vpe.cordovasim.feature.feature.group, org.jboss.tools.vpe.browsersim.feature.feature.group, org.jboss.tools.vpe.feature.feature.group, org.jboss.tools.livereload.feature.feature.group, site=https://devstudio.jboss.com/updates/8.0-staging/central/core/)
The following connectors are not available: JBoss Hybrid Mobile Tools + CordovaSim (id=org.jboss.tools.aerogear.hybrid.feature.feature.group, org.jboss.tools.vpe.cordovasim.feature.feature.group, org.jboss.tools.vpe.browsersim.feature.feature.group, org.jboss.tools.vpe.feature.feature.group, org.jboss.tools.livereload.feature.feature.group, site=https://devstudio.jboss.com/updates/8.0-staging/central/core/)
{code}

3. Shut down JBDS, and edit your jbdevstudio.ini file to add these lines:

{code}
-Djboss.discovery.directory.url=http://www.qa.jboss.com/binaries/RHDS/discovery/development/8.0.0.Beta2b/devstudio-directory.xml
-Djboss.discovery.site.url=http://www.qa.jboss.com/binaries/RHDS/discovery/development/8.0.0.Beta2b/
-Djboss.discovery.earlyaccess.site.url=http://www.qa.jboss.com/binaries/RHDS/discovery/development/8.0.0.Beta2b/ {code}

4. Relaunch JBDS. Open central, and as before, install the HMT connector. (I get an error installing the Browsersim feature because I'm using an older JBDS Beta2a instead of Beta2b, but ignoring that I install the other stuff and get these new plugins:

{code}
org.jboss.tools.jst.jsdt_3.6.0.Beta2-v20140523-1522-B35.jar
tern.eclipse.ide.jsdt_0.2.0.201405210810.jar
{code}

5. I was then able to update to the latest JBDS 8.0.0.Beta2b from this site by installing the "Branded Product" feature:

http://www.qa.jboss.com/binaries/RHDS/discovery/development/8.0.0.Beta2b/

6. After restarting, to find the jst.jsdt feature, I had to add this site to JBDS (note that installing JBT content into JBDS is an unsupported workflow):

http://download.jboss.org/jbosstools/updates/staging/jbosstools-4.2.0.Beta2b-updatesite-core/

!jst.jsdt.feature_B43.png!

Now my install includes these plugins:

{code}
org.jboss.tools.jst.jsdt_3.6.0.Beta2-v20140523-1522-B35.jar
tern.eclipse.ide.jsdt_0.2.0.201405210810.jar
org.jboss.tools.jst.jsdt_3.6.0.Beta2-v20140603-2303-B43.jar
{code}

7. If I attempt to upgrade the tern features to the latest from  http://oss.opensagres.fr/tern.repository/0.2.0 - version: 0.2.0.201405272009 - I get this error and cannot proceed unless I uninstall the jst.jsdt.feature:

!cannot-upgrade-tern-because-jsdt-feature-prevents.png!

So, this is working.


> jst.jsdt plugin should depend on SPECIFIC version of tern.java, not just 0.2.0
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-17408
>                 URL: https://issues.jboss.org/browse/JBIDE-17408
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html source editing
>    Affects Versions: 4.2.0.Beta2
>            Reporter: Nick Boldt
>            Assignee: Victor Rubezhny
>              Labels: respin-b
>             Fix For: 4.2.0.Beta2
>
>         Attachments: cannot-upgrade-tern-because-jsdt-feature-prevents.png, jst.jsdt.feature_B43.png
>
>
> Max says (paraphrasing):
> "The JSDT stuff should be locked down so that it depends on a specific version of tern.java, not just any version. We want it so that users can only install the version of tern.java we include in our TP."
> Currently, this is 0.2.0.201405210810.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list