Eclipse Tycho Tutorial Problem w. Fix

255 views
Skip to first unread message

lumo

unread,
Jun 13, 2013, 2:11:09 AM6/13/13
to vog...@googlegroups.com
Hello,
i just walk through this tutorial about tycho:
http://www.vogella.com/articles/EclipseTycho/article.html
all points to part 7 seem plausible and i did not have much of a problem.

but when i start (6.7.) Building

cmd
cd de-vogella.tycho.master
mvn clean install

i get the following error:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] parent ............................................ SUCCESS [0.172s]
[INFO] de.vogella.tycho.plugin ................................. FAILURE [0.109s]
[INFO] de.vogella.tycho.feature ................................ SKIPPED
[INFO] de.vogella.tycho.p2updatesite ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.717s
[INFO] Finished at: Thu Jun 13 07:52:05 CEST 2013
[INFO] Final Memory: 55M/143M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.16.0:b
uild-qualifier (default-build-qualifier) on project de.vogella.tycho.plugin: Execution
default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:0.16.0
:build-qualifier failed: One of setGitDir or setWorkTree must be called. -> [Hel
p 1]

i was not able to find 'setWorkTree' in any files nor 'setGitDir' (obvious as i have nothing stored in Git.

this is a problem in the master pom.xml
just comment/remove this block and building works:
<!-- <plugin> -->
<!-- <groupId>org.eclipse.tycho</groupId> -->
<!-- <artifactId>tycho-packaging-plugin</artifactId> -->
<!-- <version>${tycho.version}</version> -->
<!-- <dependencies> -->
<!-- <dependency> -->
<!-- <groupId>org.eclipse.tycho.extras</groupId> -->
<!-- <artifactId>tycho-buildtimestamp-jgit</artifactId> -->
<!-- <version>${tycho-extras.version}</version> -->
<!-- </dependency> -->
<!-- </dependencies> -->
<!-- <configuration> -->
<!-- <strictBinIncludes>false</strictBinIncludes> -->
<!-- <format>'v'yyyyMMdd-HHmm</format> -->
<!-- <timestampProvider>jgit</timestampProvider> -->
<!-- <jgit.ignore> -->
<!-- </jgit.ignore> -->
<!-- </configuration> -->
<!-- </plugin> -->

Lars Vogel

unread,
Nov 22, 2013, 5:18:34 PM11/22/13
to vog...@googlegroups.com

Should be fixed in the latest version.

Thanks, Lars

--
You received this message because you are subscribed to the Google Groups "vogella" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vogella+u...@googlegroups.com.
To post to this group, send email to vog...@googlegroups.com.
Visit this group at http://groups.google.com/group/vogella.
For more options, visit https://groups.google.com/groups/opt_out.


Reply all
Reply to author
Forward
0 new messages