[JBoss JIRA] (JBIDE-23489) Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm
by Lukáš Valach (JIRA)
[ 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)
8 years, 10 months
[JBoss JIRA] (JBIDE-24301) Error while building jbosstools-openshift-4.4.3
by jyoti tumsare (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24301?page=com.atlassian.jira.plugi... ]
jyoti tumsare commented on JBIDE-24301:
---------------------------------------
Error While building jbosstools/jbosstools-openshift-4.4.4.Final
Please check Below Error
[INFO] Reactor Summary:
[INFO]
[INFO] jbosstools-openshift ............................... SUCCESS [ 0.736 s]
[INFO] openshift.plugins .................................. SUCCESS [ 0.013 s]
[INFO] org.jboss.tools.openshift.egit.core ................ SUCCESS [ 28.381 s]
[INFO] org.jboss.tools.openshift.egit.ui .................. SUCCESS [ 4.386 s]
[INFO] org.jboss.tools.openshift.express.client ........... SUCCESS [ 20.835 s]
[INFO] org.jboss.tools.openshift.common.core .............. SUCCESS [ 8.033 s]
[INFO] org.jboss.tools.openshift.express.core ............. SUCCESS [ 7.922 s]
[INFO] org.jboss.tools.openshift.common.ui ................ SUCCESS [ 10.230 s]
[INFO] org.jboss.tools.openshift.express.ui ............... SUCCESS [ 22.010 s]
[INFO] org.jboss.tools.openshift.client ................... FAILURE [ 0.713 s]
[INFO] org.jboss.tools.openshift.core ..................... SKIPPED
[INFO] org.jboss.tools.openshift.ui ....................... SKIPPED
[INFO] org.jboss.tools.openshift.cdk.server ............... SKIPPED
[INFO] org.jboss.tools.openshift.js ....................... SKIPPED
[INFO] openshift.tests .................................... SKIPPED
[INFO] org.jboss.tools.openshift.egit.test ................ SKIPPED
[INFO] org.jboss.tools.openshift.express.test ............. SKIPPED
[INFO] org.jboss.tools.openshift.test ..................... SKIPPED
[INFO] org.jboss.tools.openshift.cdk.server.test .......... SKIPPED
[INFO] openshift.test-framework ........................... SKIPPED
[INFO] org.jboss.tools.openshift.reddeer .................. SKIPPED
[INFO] org.jboss.tools.cdk.reddeer ........................ SKIPPED
[INFO] openshift.features ................................. SKIPPED
[INFO] org.jboss.tools.openshift.feature .................. SKIPPED
[INFO] org.jboss.tools.openshift.test.feature ............. SKIPPED
[INFO] org.jboss.tools.openshift.egit.integration.feature . SKIPPED
[INFO] org.jboss.tools.openshift.egit.integration.test.feature SKIPPED
[INFO] org.jboss.tools.openshift.express.feature .......... SKIPPED
[INFO] org.jboss.tools.openshift.express.test.feature ..... SKIPPED
[INFO] org.jboss.tools.openshift.cdk.feature .............. SKIPPED
[INFO] org.jboss.tools.openshift.cdk.test.feature ......... SKIPPED
[INFO] org.jboss.tools.openshift.js.feature ............... SKIPPED
[INFO] openshift.site ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:21 min
[INFO] Finished at: 2017-05-23T12:26:19+05:30
[INFO] Final Memory: 143M/767M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-p2-extras-plugin:1.0.0:compare-version-with-baselines (default) on project org.jboss.tools.openshift.client: Only qualifier changed for (org.jboss.tools.openshift.client/3.3.3.Final-v20170523-0653). Expected to have bigger x.y.z than what is available in baseline (3.3.3.Final-v20170511-1321-B166) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.jboss.tools.openshift.client
> Error while building jbosstools-openshift-4.4.3
> -----------------------------------------------
>
> Key: JBIDE-24301
> URL: https://issues.jboss.org/browse/JBIDE-24301
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, openshift
> Affects Versions: 4.4.3.Final
> Reporter: jyoti tumsare
> Assignee: Dmitrii Bocharov
> Fix For: 4.4.4.Final
>
> Attachments: Error.PNG, issues.PNG, issues.txt, jboss-build.png, jbosstools-build.png, org.jboss.ide.eclipse.as.management.as7.png, target-platform.png
>
>
> To build jbosstools-openshift-4.4.3 I followed following steps
> 1. I clone jbosstools-base and jbosstools-server which are required for the building jbosstools-openshift-4.4.3.
> 2. while executing the jbosstools-base I got error "Missing requirement: org.jboss.tools.common.core 3.8.3.qualifier requires 'bundle org.jboss.tools.foundation.core 1.3.3' but it could not be found".
> 3. I build the org.jboss.tools.foundation.core 1.3.3 plugin and add into eclipse plugin folder and restart the eclipse IDE still facing the isuue.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (JBIDE-24301) Error while building jbosstools-openshift-4.4.3
by jyoti tumsare (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24301?page=com.atlassian.jira.plugi... ]
jyoti tumsare commented on JBIDE-24301:
---------------------------------------
Error While building jbosstools/jbosstools-openshift-4.4.4.Final
[INFO] {osgi.os=macosx, osgi.ws=cocoa, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.jboss.tools.openshift.core 3.3.3.qualifier
[ERROR] Missing requirement: org.jboss.tools.openshift.core 3.3.3.qualifier requires 'bundle org.jboss.tools.openshift.client 3.3.3' but it could not be found
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: org.jboss.tools.openshift.plugins:org.jboss.tools.openshift.core:3.3.3-SNAPSHOT @ C:\Users\jyoti.tumsare\Desktop\jbosstools-openshift\plugins\org.jboss.tools.openshift.core\pom.xml: See log for details -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
please help me as soon as possible
> Error while building jbosstools-openshift-4.4.3
> -----------------------------------------------
>
> Key: JBIDE-24301
> URL: https://issues.jboss.org/browse/JBIDE-24301
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, openshift
> Affects Versions: 4.4.3.Final
> Reporter: jyoti tumsare
> Assignee: Dmitrii Bocharov
> Fix For: 4.4.4.Final
>
> Attachments: Error.PNG, issues.PNG, issues.txt, jboss-build.png, jbosstools-build.png, org.jboss.ide.eclipse.as.management.as7.png, target-platform.png
>
>
> To build jbosstools-openshift-4.4.3 I followed following steps
> 1. I clone jbosstools-base and jbosstools-server which are required for the building jbosstools-openshift-4.4.3.
> 2. while executing the jbosstools-base I got error "Missing requirement: org.jboss.tools.common.core 3.8.3.qualifier requires 'bundle org.jboss.tools.foundation.core 1.3.3' but it could not be found".
> 3. I build the org.jboss.tools.foundation.core 1.3.3 plugin and add into eclipse plugin folder and restart the eclipse IDE still facing the isuue.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (JBIDE-23862) Server adapter: if "oc" in preferences is set to path with a " " syncing fails
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23862?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-23862 at 5/22/17 4:39 PM:
-------------------------------------------------------------------
[~dbocharov] finally found the solution in PR [#272|https://github.com/openshift/openshift-restclient-java/pull/272]. For mac the full path to the binary has to be given as argument while for linux/windows the binary name is used as argument and the builder directory set:
{code}
+ if (IS_MAC) {
+ args.add(location);
+ Arrays.stream(StringUtils.split(buildArgs(Arrays.asList(options)))).forEach(s -> args.add(s));
+ builder = new ProcessBuilder(args);
+ } else {
+ File oc = new File(location);
+ args.add(oc.getName());
+ Arrays.stream(StringUtils.split(buildArgs(Arrays.asList(options)))).forEach(s -> args.add(s));
+ builder = new ProcessBuilder(args);
+ builder.directory(oc.getParentFile());
+ }
{code}
was (Author: adietish):
[~dbocharov] finally found the solution. For mac the full path to the binary has to be given as argument while for linux/windows the binary name is used as argument and the builder directory set:
{code}
+ if (IS_MAC) {
+ args.add(location);
+ Arrays.stream(StringUtils.split(buildArgs(Arrays.asList(options)))).forEach(s -> args.add(s));
+ builder = new ProcessBuilder(args);
+ } else {
+ File oc = new File(location);
+ args.add(oc.getName());
+ Arrays.stream(StringUtils.split(buildArgs(Arrays.asList(options)))).forEach(s -> args.add(s));
+ builder = new ProcessBuilder(args);
+ builder.directory(oc.getParentFile());
+ }
{code}
> Server adapter: if "oc" in preferences is set to path with a " " syncing fails
> ------------------------------------------------------------------------------
>
> Key: JBIDE-23862
> URL: https://issues.jboss.org/browse/JBIDE-23862
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.3.Final
> Reporter: Andre Dietisheim
> Assignee: Dmitrii Bocharov
> Labels: oc_binary, openshift_v3
> Fix For: 4.5.0.AM1
>
> Attachments: ProcessMain.java
>
>
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (JBIDE-23862) Server adapter: if "oc" in preferences is set to path with a " " syncing fails
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23862?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-23862:
------------------------------------------
[~dbocharov] finally found the solution. For mac the full path to the binary has to be given as argument while for linux/windows the binary name is used as argument and the builder directory set:
{code}
+ if (IS_MAC) {
+ args.add(location);
+ Arrays.stream(StringUtils.split(buildArgs(Arrays.asList(options)))).forEach(s -> args.add(s));
+ builder = new ProcessBuilder(args);
+ } else {
+ File oc = new File(location);
+ args.add(oc.getName());
+ Arrays.stream(StringUtils.split(buildArgs(Arrays.asList(options)))).forEach(s -> args.add(s));
+ builder = new ProcessBuilder(args);
+ builder.directory(oc.getParentFile());
+ }
{code}
> Server adapter: if "oc" in preferences is set to path with a " " syncing fails
> ------------------------------------------------------------------------------
>
> Key: JBIDE-23862
> URL: https://issues.jboss.org/browse/JBIDE-23862
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.3.Final
> Reporter: Andre Dietisheim
> Assignee: Dmitrii Bocharov
> Labels: oc_binary, openshift_v3
> Fix For: 4.5.0.AM1
>
> Attachments: ProcessMain.java
>
>
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months