| Summary: | GEF4 build failure - Mars.profile does not exists | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Patrik Suzzi <psuzzi> | ||||||
| Component: | RelEng | Assignee: | gef-inbox <gef-inbox> | ||||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | nyssen, psuzzi | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows NT | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
I am not sure whether the Mars.profile actually is the problem here. As the failure happens in generateJavadoc.xml line 48 I would rather assume that the javadoc executable cannot be found on your machine. Unfortunately, the interesting part of the doc is missing. It should say something like:
Determining path to javadoc executable, using home dir ${java.home}...
and then
Done: ${javadoc}
to report which javadoc executable has been retrieved.
Resolving as worksforme. Please reopen if you have detailed findings that could help to improve our build script. BTW, we were planning to switch to using the maven javadoc plugin instead of our own executable anyway (see bug #430757). Created attachment 255435 [details]
Eclipse installation with all GEF4 needed plugins
It seems the error is caused by deletion of the USER_HOME variable in the Eclipse IDE.
This problem happens after installing Oomph plugins.
As example, following the GEF4 install guide, after installing Oomph, at the next Eclipse restart I see the following error:
An internal error occurred during: "Setup check".
USER_HOME
After the user got this "startup error message", the variables in the development environment are mis-aligned, and the build fails as specified.
A quick way to reproduce the error is:
- get eclipse-mars-committers-R
- add plugins using the attached p2f
- setup the development environment
- launch the maven build as specified.
|
Created attachment 255280 [details] GEF4 build error - debug output Hallo, I followed the instructions provided in the contribution guide, to setup the GEF4 development environment, and I tried to run a maven/tycho build with the specified parameters. The build fails, and this is the error: [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:34 min [INFO] Finished at: 2015-07-17T22:26:23+02:00 [INFO] Final Memory: 113M/247M [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "Mars.target" could not be activated because it does not exist. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-doc) on project org.eclipse.gef4.common.doc: An Ant BuildException has occured: The following error occurred while executing this line: [ERROR] C:\Users\*******\git\org.eclipse.gef4\org.eclipse.gef4.releng\scripts\generateJavadoc.xml:48: exec returned: 1 [ERROR] around Ant part ...<ant antfile="C:\Users\*******\git\org.eclipse.gef4\org.eclipse.gef4.common.doc/../org.eclipse.gef4.releng/scripts/generateJavadoc.xml" inheritRefs="true"/>... @ 14:163 in C:\Users\*******\git\org.eclipse.gef4\org.eclipse.gef4.common.doc\target\antrun\build-main.xml So, I ran again the maven/tycho build with the -X switch to check what the error is. The maven debug output is attached Any idea on how to fix this ?