[jbosstools-issues] [JBoss JIRA] (JBIDE-13843) SWTBot 2.0.5 depends on org.junit4, which has been removed from Eclipse 4.3M6. Can we use SWTBot 2.1 instead?

Martin Malina (JIRA) jira-events at lists.jboss.org
Sat Mar 23 12:30:42 EDT 2013


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

Martin Malina commented on JBIDE-13843:
---------------------------------------

[~nickboldt] I have a related version. I got worried that the missing org.junit4 in M6 might break our RedDeer build.
We define these two p2 repos:
http://download.eclipse.org/releases/kepler - supposedly this is the latest kepler milestone
http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site - this contains SWTBot 2.0.5

So I thought: OK, the kepler repo now contains M6 -> no org.junit4 -> failed dependency of SWTBot 2.0.5.

But actually not. It seems that the kepler repo is an aggregate repo of all kepler milestones so far:
{code}
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: org.jboss.reddeer:org.jboss.reddeer.swt:0.2.0-SNAPSHOT @ /Users/rasp/git/reddeer/org.jboss.reddeer.swt/pom.xml
[INFO] Fetching p2.index (0B of 96B at 0B/s) from http://download.eclipse.org/releases/kepler/
[INFO] Fetching p2.index (128B of 96B at 0B/s) from http://download.eclipse.org/releases/kepler/
[INFO] 1 operation remaining.
[INFO] Adding repository http://download.eclipse.org/releases/kepler
[INFO] Fetching p2.index (0B of 244B at 0B/s) from http://download.eclipse.org/releases/kepler/201303220900/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (365B of 244B at 0B/s) from http://download.eclipse.org/releases/kepler/201303220900/
[INFO] Fetching p2.index (0B of 245B at 0B/s) from http://download.eclipse.org/releases/kepler/201302080900/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (365B of 245B at 0B/s) from http://download.eclipse.org/releases/kepler/201302080900/
[INFO] Fetching p2.index (0B of 243B at 0B/s) from http://download.eclipse.org/releases/kepler/201212210900/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (365B of 243B at 0B/s) from http://download.eclipse.org/releases/kepler/201212210900/
[INFO] Fetching p2.index (0B of 92B at 0B/s) from http://download.eclipse.org/technology/epp/packages/kepler/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (116B of 92B at 0B/s) from http://download.eclipse.org/technology/epp/packages/kepler/
[INFO] Fetching p2.index (0B of 96B at 0B/s) from http://download.eclipse.org/releases/kepler/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (128B of 96B at 0B/s) from http://download.eclipse.org/releases/kepler/
[INFO] Adding repository http://download.eclipse.org/releases/kepler
[INFO] Fetching p2.index (0B of 244B at 0B/s) from http://download.eclipse.org/releases/kepler/201303220900/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (365B of 244B at 0B/s) from http://download.eclipse.org/releases/kepler/201303220900/
[INFO] Fetching p2.index (0B of 245B at 0B/s) from http://download.eclipse.org/releases/kepler/201302080900/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (365B of 245B at 0B/s) from http://download.eclipse.org/releases/kepler/201302080900/
[INFO] Fetching p2.index (0B of 243B at 0B/s) from http://download.eclipse.org/releases/kepler/201212210900/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (365B of 243B at 0B/s) from http://download.eclipse.org/releases/kepler/201212210900/
[INFO] Fetching p2.index (0B of 92B at 0B/s) from http://download.eclipse.org/technology/epp/packages/kepler/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (116B of 92B at 0B/s) from http://download.eclipse.org/technology/epp/packages/kepler/
[INFO] Adding repository http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site
[INFO] Adding repository http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site
[INFO] Resolving dependencies of MavenProject: org.jboss.reddeer:org.jboss.reddeer.swt:0.2.0-SNAPSHOT @ /Users/rasp/git/reddeer/org.jboss.reddeer.swt/pom.xml
[INFO] Downloading org.junit4
[INFO] Fetching download.php (0B of 1,74kB at 0B/s) from http://www.eclipse.org/downloads/download.php?format=xml&file=/releases/kepler/201302080900/&countryCode=us&timeZone=1&format=xml
[INFO] Fetching download.php (1,45kB of 1,74kB at 0B/s) from http://www.eclipse.org/downloads/download.php?format=xml&file=/releases/kepler/201302080900/&countryCode=us&timeZone=1&format=xml
{code}
And eventually junit4 was fetched from here:
{code}
[INFO] Fetching org.junit4_4.8.1.v20120705-112236.jar.pack.gz (0B of 6,18kB at 0B/s) from http://eclipse.c3sl.ufpr.br/releases/kepler/201302080900/plugins/
[INFO] 1 operation remaining.
[INFO] Fetching org.junit4_4.8.1.v20120705-112236.jar.pack.gz (2,55kB of 6,18kB at 0B/s) from http://eclipse.c3sl.ufpr.br/releases/kepler/201302080900/plugins/
{code}

Do you understand why it works like that? Is there a pure M6 p2 repo on eclipse.org?
Maybe we should move to using JBT TP instead.
                
> SWTBot 2.0.5 depends on org.junit4, which has been removed from Eclipse 4.3M6. Can we use SWTBot 2.1 instead?
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13843
>                 URL: https://issues.jboss.org/browse/JBIDE-13843
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: target-platform, testing-tools
>    Affects Versions: 4.1.0.Alpha2
>            Reporter: Nick Boldt
>            Assignee: Len DiMaggio
>             Fix For: 4.1.0.Alpha2
>
>
> Eclipse 4.3M5a contains:
> {code}4.3milestones/S-4.3M5a-201302041400/plugins/org.junit4_4.8.1.v20120705-112236.jar{code}
> But in Eclipse 4.3M6, the only JUnit available is:
> {code}4.3milestones/S-4.3M6-201303141330/plugins/org.junit_4.11.0.v201303080030.jar{code}
> So, we need to see if a newer SWTBot can be used which depends on org.junit instead of org.junit4.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list