[
https://issues.jboss.org/browse/JBIDE-23489?page=com.atlassian.jira.plugi...
]
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/Devstud...
\[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...
\
-artifactRepository
https://devstudio.redhat.com/10.0/snapshots/updates/discovery.earlyaccess...
\
-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)