[jbosstools-issues] [JBoss JIRA] (JBTIS-280) Update JBT IS TP build to latest tycho (and discover missing dependencies!)

Nick Boldt (JIRA) issues at jboss.org
Sun Jun 1 13:35:15 EDT 2014


    [ https://issues.jboss.org/browse/JBTIS-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972220#comment-12972220 ] 

Nick Boldt commented on JBTIS-280:
----------------------------------

Updated the PR, and I'm closer to a win, but have realized that newer Tycho doesn't like 0.0.0 versions in .target files:

{code}
[ERROR]   You requested to install 'org.hibernate.eclipse.feature.feature.group [0.0.0]' but it could not be found
{code}

So... need to pre-process the .target files to embed correct version numbers in them., ie., like this:

{code}
targetFile=integration-stack-base.target
mvn -U org.jboss.tools.tycho-plugins:target-platform-utils:0.16.0-SNAPSHOT:fix-versions -DtargetFile=${targetFile}
rm -f ${targetFile} *_update_hints.txt
mv -f ${targetFile}{_fixedVersion.target,}
{code}

> Update JBT IS TP build to latest tycho (and discover missing dependencies!)
> ---------------------------------------------------------------------------
>
>                 Key: JBTIS-280
>                 URL: https://issues.jboss.org/browse/JBTIS-280
>             Project: JBoss Tools Integration Stack
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: target-platform
>    Affects Versions: 4.2.0.Alpha1-TP
>            Reporter: Nick Boldt
>
> Wanted to see if the JBT IS TP could fetch sources, and it can. As it was building, I noticed that you're using Tycho 0.18.1 (not 0.20.0 or 0.21.0-SNAPSHOT) and a very old version of org.jboss.tools.tycho-plugins:target-platform-utils:0.16.0.CR2.
> So, I bumped you up to 0.20.0 and 0.19.0-SNAPSHOT, and got this error:
> {code}
> Unable to satisfy dependency from 
> org.springframework.osgi.io 1.2.1 to 
> package org.springframework.util [2.5.6,4.0.0).; 
> No solution found because the 
> problem is unsatisfiable.
> {code}
> Attached is a PR which shows what I tried, how it failed, and what I tried to do to fix it. 



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


More information about the jbosstools-issues mailing list