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

Ondrej Dockal (JIRA) issues at jboss.org
Mon Nov 14 04:08:00 EST 2016


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

Ondrej Dockal commented on JBIDE-23489:
---------------------------------------

We may exclude also this option:
mvn clean verify -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/bin/
which is the path where eclipse binary executable is located. Usually the problem is that user under who the maven command is executed has no rights (and should not have) to write to that location and thus, this results in error:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.26.0:test (default-test) on project org.jboss.tools.freemarker.ui.bot.test: Execution default-test of goal org.eclipse.tycho:tycho-surefire-plugin:0.26.0:test failed: Exception creating test eclipse runtime: /opt/rh/rh-eclipse46/root/usr/bin/dev.properties (Permission denied)

After some digging, maybe [osgi.user.area|http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html&anchor=osgiuserarea] parameter (or some other in section "Locations") is the way how to change the location of folders where user has access. Although, I have yet to figure out how to pass/set this parameters.

> 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
>             Fix For: 4.4.2.Final
>
>
> We need to find a way how to run automated tests agains devstudio rpm.
> I've tried the following paths:
> 1) mvn clean verify -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/shareclipse/droplets/devstudio/eclipse/
> 2) 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