Mac Setting Development environment issue

117 views
Skip to first unread message

gaurav sontakke

unread,
Mar 9, 2020, 9:34:44 AM3/9/20
to iDempiere
Hi , 

I am trying to set development environment on macOS.

Here is the maven & java version details

mvn -version


Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T21:41:47+03:00)

Maven home: /Users/gauravmanasi/Documents/workspace/maven


Java version: 11.0.6, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.6.jdk/Contents/Home

Default locale: en_US, platform encoding: UTF-8

OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "mac"


when I try to run mvn verify / mvn verify -U 



[INFO] org.idempiere.p2 ................................... FAILURE [ 58.192 s]

[INFO] org.idempiere.javadoc .............................. SKIPPED

[INFO] org.idempiere.p2.targetplatform .................... SKIPPED

[INFO] org.idempiere.main ................................. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  04:17 min

[INFO] Finished at: 2020-03-09T16:31:22+03:00

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-eclipserun-plugin:1.5.0:eclipse-run (default) on project org.idempiere.p2: Error while executing platform: Error while executing platform (return code: 13) -> [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/MojoExecutionException

[ERROR] 

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :org.idempiere.p2



Please help me to get this resolved. Any help would be highly appreciated ?


Regards

Gaurav



Orlando Curieles

unread,
Mar 9, 2020, 12:34:56 PM3/9/20
to iDempiere
I Have the same problem but only in the branch release - if you try to materialize the master branch work without problems

 Best Regards.

Luis Amesty

unread,
Mar 9, 2020, 2:52:34 PM3/9/20
to iDempiere
Try This on 7.1 release:
1- MAVEN VERIFY FOR MAC
************************************
Using Hiep's suggestion, I've added the following to the pom in org.idempiere.parent/pom.xml:

<!-- configure the p2 target environments for multi-platform build -->
            <environments>
            <environment>
            <os>linux</os>
            <ws>gtk</ws>
            <arch>x86_64</arch>
            </environment>
            <environment>
            <os>win32</os>
            <ws>win32</ws>
            <arch>x86_64</arch>
            </environment>
<environment>
            <os>macosx</os>
            <ws>cocoa</ws>
            <arch>x86_64</arch>
            </environment>
            </environments>

then 'mvn verify -U" completed successfully after that. I've only test it up to that point only unfortunately... have not test further... I'll post up further if future errors come up.

2-ECLIPSE Install Running Configuration
****************************************
On Arguments Tab
Replace:
-os ${target.os} -arch x86 -nl ${target.nl} -consoleLog  --launcher.secondThread
where:
-os ${target.os} -arch ${target.arch} -nl ${target.nl} -consoleLog

3-ECLIPSE server Running Configuration
****************************************

Turn off the flag in the argument:

-XStartOnfirstThread argument when launching with SWT

Orlando Curieles

unread,
Mar 9, 2020, 2:54:21 PM3/9/20
to iDempiere
mmm .. it seems that they have removed it, I had made a commit for that
Reply all
Reply to author
Forward
0 new messages