atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suma Shivaprasad (JIRA)" <>
Subject [jira] [Updated] (ATLAS-304) surefire fails to run tests if maven project directory path has embedded space
Date Tue, 17 Nov 2015 04:50:11 GMT


Suma Shivaprasad updated ATLAS-304:
    Affects Version/s: 0.6-incubating
        Fix Version/s: 0.6-incubating

> surefire fails to run tests if maven project directory path has embedded space
> ------------------------------------------------------------------------------
>                 Key: ATLAS-304
>                 URL:
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.6-incubating
>            Reporter: David Kantor
>            Assignee: David Kantor
>            Priority: Minor
>             Fix For: 0.6-incubating
>         Attachments: ATLAS-304-v0.patch
> If the Atlas source pathname has an embedded space (e.g. C:\temp\Atlas Source), running
"mvn install" or "mvn test" will fail when surefire attempts to run the tests.  The hadoop.tmp.dir
property value needs to be quoted to ensure the full pathname is included in the value and
not interpreted as multiple arguments on the java command line.
> The error looks something like:
> Error: Could not find or load main class Source\incubator-atlas\repository\target.tmp-hadoop-dkantor
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
(default-test) on project atlas-repository: ExecutionException: java.lang.RuntimeException:
The forked VM terminated without properly saying goodbye.VM crash or System.exit called?
> [ERROR] Command was cmd.exe /X /C "C:\software\ibm-java-sdk-\jre\bin\java -Djava.awt.headless=true
-Dproject.version=0.6-incubating-SNAPSHOT -Dhadoop.tmp.dir=C:\temp\Atlas Source\incubator-atlas\repository\target/tmp-hadoop-dkantor
-Xmx1024m -XX:MaxPermSize=512m -Dlog4j.configuration=atlas-log4j.xml
> referIPv4Stack=true -jar "C:\temp\Atlas Source\incubator-atlas\repository\target\surefire\surefirebooter719522114019830282.jar"
"C:\temp\Atlas Source\incubator-atlas\repository\target\surefire\surefire215598821283036484tmp"
"C:\temp\Atlas Source\incubator-atlas\repository\target\surefire\surefire_07228291279149081174tm
> p""

This message was sent by Atlassian JIRA

View raw message