| Summary: | Write some doc about running Tycho build locally | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Szymon Brandys <Szymon.Brandys> |
| Component: | Releng | Assignee: | Project Inbox <orion.releng-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | adrian.aichner, ahunter.eclipse |
| Version: | 3.0 | ||
| Target Milestone: | 8.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 399023 | ||
| Bug Blocks: | |||
|
Description
Szymon Brandys
In the meantime, could some rough notes be added to this issue? I would also like to build a local orion executable. I have installed maven and mvn test seems to work OK [INFO] org.eclipse.orion.client.repository ............... SUCCESS [0.596s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 23.370s [INFO] Finished at: Sun Apr 06 22:53:22 CEST 2014 [INFO] Final Memory: 15M/36M [INFO] ------------------------------------------------------------------------ adrian@apa:~/git/org.eclipse.orion.client$ history 2 1077 20140406T225254+0200 mvn test 1078 20140406T230816+0200 history 2 adrian@apa:~/git/org.eclipse.orion.client$ I have also installed m2e in eclipse luna, but haven't quite figured out how to build the orion product with that or the mvn command-line. Is any quick advice available? Ah, I just found that org.eclipse.orion.server/README.md has instructions about building with maven. I am trying that (mvn clean install) now. So far I had only tried mvn install. I have been running: % cd org.eclipse.orion.server % mvn clean install -P platform-kepler,local-build % cd releng/org.eclipse.orion.server.repository/target/products/org.eclipse.orion/linux/gtk/x86_64/eclipse % ./orion (In reply to Anthony Hunter from comment #3) > I have been running: > > % cd org.eclipse.orion.server > % mvn clean install -P platform-kepler,local-build > % cd > releng/org.eclipse.orion.server.repository/target/products/org.eclipse.orion/ > linux/gtk/x86_64/eclipse > % ./orion Thanks Anthony! I have started a batch build, will report back later. (In reply to Adrian Aichner from comment #4) > (In reply to Anthony Hunter from comment #3) > > I have been running: > > > > % cd org.eclipse.orion.server > > % mvn clean install -P platform-kepler,local-build > > % cd > > releng/org.eclipse.orion.server.repository/target/products/org.eclipse.orion/ > > linux/gtk/x86_64/eclipse > > % ./orion > > Thanks Anthony! > > I have started a batch build, will report back later. Tests seem to look good, but after spending a lot of time minifying my local build fails. Any quick ideas what I am missing? Do I have to run something in the client repo as well? I don't have a target directory under releng/org.eclipse.orion.server.repository ---- Tests run: 431, Failures: 3, Errors: 0, Skipped: 13, Time elapsed: 479.\ 337 sec <<< FAILURE! Results : Failed tests: testApplyPatch_addFile(org.eclipse.orion.server.tests.s\ ervlets.git.GitApplyPatchTest): expected:<[2]00> but was:<[4]00> testApplyPatch_modifyFile(org.eclipse.orion.server.tests.servlets.git\ .GitApplyPatchTest): expected:<[2]00> but was:<[4]00> testApplyPatch_deleteFile(org.eclipse.orion.server.tests.servlets.git\ .GitApplyPatchTest): expected:<[2]00> but was:<[4]00> Tests run: 431, Failures: 3, Errors: 0, Skipped: 13 [INFO] All tests passed! ---- [INFO] org.eclipse.orion.releng.test.master .............. SUCCESS [0.609s] [INFO] Orion Client Parent ............................... FAILURE [44:08.277s] [INFO] org.eclipse.orion.doc.isv ......................... SKIPPED [INFO] org.eclipse.orion.client.core ..................... SKIPPED [INFO] org.eclipse.orion.client.editor ................... SKIPPED [INFO] org.eclipse.orion.client.users .................... SKIPPED [INFO] org.eclipse.orion.client.git ...................... SKIPPED [INFO] org.eclipse.orion.doc.user ........................ SKIPPED [INFO] org.eclipse.orion.client.ui ....................... SKIPPED [INFO] org.eclipse.orion.client.javascript ............... SKIPPED [INFO] org.eclipse.orion.client.cf ....................... SKIPPED [INFO] org.eclipse.orion.client.feature .................. SKIPPED [INFO] org.eclipse.orion ................................. SKIPPED [INFO] org.eclipse.orion.server.repository ............... SKIPPED [INFO] org.eclipse.orion.client.repository ............... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 54:28.822s [INFO] Finished at: Tue Apr 08 23:14:31 CEST 2014 [INFO] Final Memory: 40M/112M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project org.eclipse.orion.client.parent: An Ant BuildException has \ occured: The following error occurred while executing this line: [ERROR] /var/home/adrian/git/org.eclipse.orion.client/releng/org.eclipse.orion.client.releng/builder/orion.mini.xml:286: The following error occurred while executin\ g this line: [ERROR] /var/home/adrian/git/org.eclipse.orion.client/releng/org.eclipse.orion.client.releng/builder/orion.mini.xml:210: The following error occurred while executin\ g this line: [ERROR] /var/home/adrian/git/org.eclipse.orion.client/releng/org.eclipse.orion.client.releng/builder/orion.mini.xml:227: Java returned: 3 [ERROR] around Ant part ...<ant antfile="/var/home/adrian/git/org.eclipse.orion.client/releng/org.eclipse.orion.client.releng/builder/orion.mini.xml">... @ 14:126 i\ n /var/home/adrian/git/org.eclipse.orion.client/target/antrun/build-main.xml [ERROR] -> [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.eclipse.orion.client.parent |