[jbosstools-issues] [JBoss JIRA] (JBIDE-23489) Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm

Lukáš Valach (JIRA) issues at jboss.org
Tue May 23 03:57:00 EDT 2017


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

Lukáš Valach commented on JBIDE-23489:
--------------------------------------

There is test which is running as Vaclav suggested \[1\], PR \[2\]. This job tests if is possible to install all stuff from RH Central to Devstudio installed from RPM (JBDS-4295).

\[1\] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_rpm_tests/job/rpm_rh_central_UI_test.weekly/

\[2\] https://github.com/jbdevstudio/jbdevstudio-qa/pull/136

Running tests this way isn't so easy as running tests using Tycho, but works fine in the end.

----

I have also tried to modify tycho code to be able to change "destination" parameter which tycho passes to the p2director. Even though p2director is now installing plugins to ~/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64 the Eclipse is ignoring these plugins.

This issue don't seems to be related to Tycho. I have tried to install some stuff from RH Central using the p2director, it worked fine till I added -destination parameter. 

For example, this command will install "Android Development Tools" from RH Central but eclipse won't load installed plugins.

{code}
eclipse -consolelog -console -debug -clean \
-application org.eclipse.equinox.p2.director \
-metadataRepository https://devstudio.redhat.com/10.0/snapshots/updates/discovery.earlyaccess/4.4.neon,https://dl-ssl.google.com/android/eclipse/ \
-artifactRepository https://devstudio.redhat.com/10.0/snapshots/updates/discovery.earlyaccess/4.4.neon,https://dl-ssl.google.com/android/eclipse/ \
-installIU com.android.ide.eclipse.adt.feature.feature.group,com.android.ide.eclipse.ddms.feature.feature.group,com.android.ide.eclipse.hierarchyviewer.feature.feature.group,com.android.ide.eclipse.gldebugger.feature.feature.group,com.android.ide.eclipse.traceview.feature.feature.group \
-destination /home/lvalach/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64/configuration/
{code}

I tried to experiment with various configuration of p2director but without success.
----
[~psrna], [~nickboldt], are you satisfied with Vaclav's solution or do you want me to investigate more deeply to find out how to resolve problem with Tycho/p2 director? 

> Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm 
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-23489
>                 URL: https://issues.jboss.org/browse/JBIDE-23489
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.4.2.AM3
>            Reporter: Pavol Srna
>            Assignee: Lukáš Valach
>             Fix For: 4.5.0.AM1
>
>         Attachments: FreeMarket_rhscl_enabled.log, Freemarker_testRuntime_p2Installed.log
>
>
> We need to find a way how to run automated tests agains devstudio rpm.
> I've tried the following paths:
> 1) (as root) mvn clean verify -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/shareclipse/droplets/devstudio/eclipse/
> 2) (as hudson) mvn clean verify -Dtest.installBase=~/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64
> But none of the above works. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list