[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho-buildtimestamp-jgit - doesn't work

Hi Nepomuk,

I cloned your repo, downloaded weka.jar (weka-3-6-7.zip) and run mvn clean package.
It worked as expected.

See output of dir /b/s (dir.txt).

HTH,
Marco


2012/7/28 Nepomuk Seiler <nepomuk.seiler@xxxxxxxxx>
Hi Marco,

Thanks. No it seems to work. However the format option is ignored

<format>'v'yyyyMMdd-HHmm</format>

Expected: my.bundle-v20120728-2130
Actual: my.bundle-20120728.2130

And the qualifier is only created correctly during the "deploy" phase.
If i just "mvn clean package", there is just a "-SNAPSHOT" at the end.


I tried to set the build-qualifier directly in the package phase for testing,
but it doesn't work. Here is what I tried:

ÂÂÂ <plugin>
ÂÂÂ ÂÂÂ <groupId>org.eclipse.tycho</groupId>
ÂÂÂ ÂÂÂ <artifactId>tycho-packaging-plugin</artifactId>
ÂÂÂ ÂÂÂ <version>${tycho.version}</version>

ÂÂÂ ÂÂÂ <executions>
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ <execution>
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ <phase>package</phase>
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ <goals>
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ <goal>build-qualifier</goal>
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ </goals>
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ <configuration>
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ <qualifier>RELEASE</qualifier>
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ </configuration>
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ </execution>
ÂÂÂ ÂÂÂ </executions>


cheers,
Muki

Am 28.07.2012 19:32, schrieb Marco Lehmann-MÃrz:
Hi Nepomuk,

please use -SNAPSHOT in your POM rather than .qualifier.

pom.xml: -SNAPSHOT
MANIFEST.MF: .qualifier

HTH,
Marco

2012/7/28 Nepomuk Seiler <nepomuk.seiler@xxxxxxxxx>
Hi,

I'm not able to get the tycho-buildtimestamp-jgit running. My code is hosted
here:
https://github.com/muuki88/weka-osgi

A very simple project
+ plugin
+ feature (containing the plugin)
+ update-site (containing the feature)

However the result of my build is always ".qualifier" for my plugin.

I used the pom from here:
https://github.com/mlehmannm/mlm-eclipse-ide-jsbuilder/blob/master/pom.xml

cheers,
Muki
--
Nepomuk Seiler
Java/Scala Developer
Email: nepomuk.seiler@xxxxxxxx
Homepage: www.mukis.de
Github: github/muuki88
Twitter: twitter/muuki88

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Tschà Marco



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Tschà Marco

D:\dev\tmp\weka-osgi\.gitignore
D:\dev\tmp\weka-osgi\dir.txt
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.feature
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site
D:\dev\tmp\weka-osgi\pom.xml
D:\dev\tmp\weka-osgi\.git\branches
D:\dev\tmp\weka-osgi\.git\config
D:\dev\tmp\weka-osgi\.git\description
D:\dev\tmp\weka-osgi\.git\HEAD
D:\dev\tmp\weka-osgi\.git\hooks
D:\dev\tmp\weka-osgi\.git\index
D:\dev\tmp\weka-osgi\.git\info
D:\dev\tmp\weka-osgi\.git\logs
D:\dev\tmp\weka-osgi\.git\objects
D:\dev\tmp\weka-osgi\.git\ORIG_HEAD
D:\dev\tmp\weka-osgi\.git\packed-refs
D:\dev\tmp\weka-osgi\.git\refs
D:\dev\tmp\weka-osgi\.git\hooks\applypatch-msg.sample
D:\dev\tmp\weka-osgi\.git\hooks\commit-msg.sample
D:\dev\tmp\weka-osgi\.git\hooks\post-commit.sample
D:\dev\tmp\weka-osgi\.git\hooks\post-receive.sample
D:\dev\tmp\weka-osgi\.git\hooks\post-update.sample
D:\dev\tmp\weka-osgi\.git\hooks\pre-applypatch.sample
D:\dev\tmp\weka-osgi\.git\hooks\pre-commit.sample
D:\dev\tmp\weka-osgi\.git\hooks\pre-rebase.sample
D:\dev\tmp\weka-osgi\.git\hooks\prepare-commit-msg.sample
D:\dev\tmp\weka-osgi\.git\hooks\update.sample
D:\dev\tmp\weka-osgi\.git\info\exclude
D:\dev\tmp\weka-osgi\.git\logs\HEAD
D:\dev\tmp\weka-osgi\.git\logs\refs
D:\dev\tmp\weka-osgi\.git\logs\refs\heads
D:\dev\tmp\weka-osgi\.git\logs\refs\remotes
D:\dev\tmp\weka-osgi\.git\logs\refs\stash
D:\dev\tmp\weka-osgi\.git\logs\refs\heads\3.7.6
D:\dev\tmp\weka-osgi\.git\logs\refs\heads\master
D:\dev\tmp\weka-osgi\.git\logs\refs\remotes\origin
D:\dev\tmp\weka-osgi\.git\logs\refs\remotes\origin\HEAD
D:\dev\tmp\weka-osgi\.git\objects\00
D:\dev\tmp\weka-osgi\.git\objects\09
D:\dev\tmp\weka-osgi\.git\objects\16
D:\dev\tmp\weka-osgi\.git\objects\19
D:\dev\tmp\weka-osgi\.git\objects\24
D:\dev\tmp\weka-osgi\.git\objects\2a
D:\dev\tmp\weka-osgi\.git\objects\2c
D:\dev\tmp\weka-osgi\.git\objects\2e
D:\dev\tmp\weka-osgi\.git\objects\30
D:\dev\tmp\weka-osgi\.git\objects\3d
D:\dev\tmp\weka-osgi\.git\objects\43
D:\dev\tmp\weka-osgi\.git\objects\47
D:\dev\tmp\weka-osgi\.git\objects\4f
D:\dev\tmp\weka-osgi\.git\objects\54
D:\dev\tmp\weka-osgi\.git\objects\5c
D:\dev\tmp\weka-osgi\.git\objects\5d
D:\dev\tmp\weka-osgi\.git\objects\62
D:\dev\tmp\weka-osgi\.git\objects\66
D:\dev\tmp\weka-osgi\.git\objects\6d
D:\dev\tmp\weka-osgi\.git\objects\73
D:\dev\tmp\weka-osgi\.git\objects\74
D:\dev\tmp\weka-osgi\.git\objects\77
D:\dev\tmp\weka-osgi\.git\objects\78
D:\dev\tmp\weka-osgi\.git\objects\7f
D:\dev\tmp\weka-osgi\.git\objects\82
D:\dev\tmp\weka-osgi\.git\objects\87
D:\dev\tmp\weka-osgi\.git\objects\88
D:\dev\tmp\weka-osgi\.git\objects\92
D:\dev\tmp\weka-osgi\.git\objects\9f
D:\dev\tmp\weka-osgi\.git\objects\a1
D:\dev\tmp\weka-osgi\.git\objects\a2
D:\dev\tmp\weka-osgi\.git\objects\a8
D:\dev\tmp\weka-osgi\.git\objects\b2
D:\dev\tmp\weka-osgi\.git\objects\b5
D:\dev\tmp\weka-osgi\.git\objects\bc
D:\dev\tmp\weka-osgi\.git\objects\bd
D:\dev\tmp\weka-osgi\.git\objects\c5
D:\dev\tmp\weka-osgi\.git\objects\d2
D:\dev\tmp\weka-osgi\.git\objects\d3
D:\dev\tmp\weka-osgi\.git\objects\d8
D:\dev\tmp\weka-osgi\.git\objects\da
D:\dev\tmp\weka-osgi\.git\objects\e2
D:\dev\tmp\weka-osgi\.git\objects\e5
D:\dev\tmp\weka-osgi\.git\objects\e9
D:\dev\tmp\weka-osgi\.git\objects\ec
D:\dev\tmp\weka-osgi\.git\objects\f1
D:\dev\tmp\weka-osgi\.git\objects\f6
D:\dev\tmp\weka-osgi\.git\objects\f8
D:\dev\tmp\weka-osgi\.git\objects\f9
D:\dev\tmp\weka-osgi\.git\objects\ff
D:\dev\tmp\weka-osgi\.git\objects\info
D:\dev\tmp\weka-osgi\.git\objects\pack
D:\dev\tmp\weka-osgi\.git\objects\00\dea2f9a0d212f43e624ddb2b0ed75d273b86f7
D:\dev\tmp\weka-osgi\.git\objects\09\c13d5ba47dfab20321a7a8778e375a1d689b15
D:\dev\tmp\weka-osgi\.git\objects\09\d6ef60d00432a7f4de6c69d9ea01fec3d4438c
D:\dev\tmp\weka-osgi\.git\objects\16\0865c66a01ea94981de0e60156c6783069043b
D:\dev\tmp\weka-osgi\.git\objects\19\3a968884a4f3f6af3efba1c45c50d704ffeaac
D:\dev\tmp\weka-osgi\.git\objects\24\e7851a117e41c237a901b19500450ba0bb11b9
D:\dev\tmp\weka-osgi\.git\objects\2a\1536914f8e292070d935f31ccfa6be3d7cdcb8
D:\dev\tmp\weka-osgi\.git\objects\2c\7f91e83a9f9f468a18e75e9e65109d8d4e29ef
D:\dev\tmp\weka-osgi\.git\objects\2c\acb9a9486e08228983dc54efd7cf66fffa0cc5
D:\dev\tmp\weka-osgi\.git\objects\2e\4a51b3410b48901204af4e58edb9f3d5a9f6a6
D:\dev\tmp\weka-osgi\.git\objects\30\5acbbf913457f751da736aaa96e7401f91f757
D:\dev\tmp\weka-osgi\.git\objects\3d\8bbf4a1dc782a88bfca5709f940ed12fd84f67
D:\dev\tmp\weka-osgi\.git\objects\43\102da479f3501f43be8ee966f4af108e10abcc
D:\dev\tmp\weka-osgi\.git\objects\43\93a94f14e70953296a2ca318ea3f7997d81b4c
D:\dev\tmp\weka-osgi\.git\objects\43\e7309260a6b0b3ce0f1fbbf4011597e49e88df
D:\dev\tmp\weka-osgi\.git\objects\47\c7e460527db979311236884b786e2e457b11cd
D:\dev\tmp\weka-osgi\.git\objects\4f\046e2bb70f65c6c3ad6b2579a21f3bad03c233
D:\dev\tmp\weka-osgi\.git\objects\54\c85ee4becd27a02089e13a15b95b72ecc0912c
D:\dev\tmp\weka-osgi\.git\objects\5c\165ae4a95548d81ed4ea9486c98c4009a342cb
D:\dev\tmp\weka-osgi\.git\objects\5d\6d6499a99eace52488f726d053b4d9bc950058
D:\dev\tmp\weka-osgi\.git\objects\62\c6f9ffa4472e7893b59ccfdb9665254a6a07b2
D:\dev\tmp\weka-osgi\.git\objects\66\a9d06764fe63c640b695727e8a64025d091245
D:\dev\tmp\weka-osgi\.git\objects\6d\36e71c0d4f3f45d246f85a37475005b7381caf
D:\dev\tmp\weka-osgi\.git\objects\6d\e034e3a5fa9a1f2a880d220d01c5a0136c138b
D:\dev\tmp\weka-osgi\.git\objects\73\b3a3903d75292506dda9bcf5802b2c290912d4
D:\dev\tmp\weka-osgi\.git\objects\74\2ca8e20fa13cab96095330b59a8d9e5a1d3690
D:\dev\tmp\weka-osgi\.git\objects\77\e94226eff64ab38ddeb754aca9f51d2fa9187e
D:\dev\tmp\weka-osgi\.git\objects\78\6035d417f510615d65deb13b9ee54d319c81f2
D:\dev\tmp\weka-osgi\.git\objects\7f\f4e670f4eea5bb30458edbcd8ca558191767e5
D:\dev\tmp\weka-osgi\.git\objects\82\0159331710e2b19f8fa28a3d9c546e7bcb89bf
D:\dev\tmp\weka-osgi\.git\objects\87\19b6a4e02fbbb370d49ec9c70f013412a46229
D:\dev\tmp\weka-osgi\.git\objects\88\11ebada2d7b396c24ff7b32bc07cbc062b375f
D:\dev\tmp\weka-osgi\.git\objects\92\ef675f3d0dfec080919b9bf750519723ee9fb4
D:\dev\tmp\weka-osgi\.git\objects\9f\ece99523d29a4dd864ce2f4d1aefa2dca229da
D:\dev\tmp\weka-osgi\.git\objects\a1\023c88ff08fe8a190160c4a78cb26766eaaf27
D:\dev\tmp\weka-osgi\.git\objects\a2\40b10065ec6b1015c8c339db2e32b0e635a5f1
D:\dev\tmp\weka-osgi\.git\objects\a8\8a222b04540639bd2cbd0f60580c70773c7d4e
D:\dev\tmp\weka-osgi\.git\objects\b2\30fd29fcdd5d86b02a07f414821c4636c8c504
D:\dev\tmp\weka-osgi\.git\objects\b5\97e9b0d1bfe103660934e2f704b50893b9b588
D:\dev\tmp\weka-osgi\.git\objects\bc\51a1cb29697f57e2eecbc0da2b193c44209d8c
D:\dev\tmp\weka-osgi\.git\objects\bd\0a2782f9ff4f76fe32a284fbd687e2a0347499
D:\dev\tmp\weka-osgi\.git\objects\c5\7a1d7ccbe7900783433c076d4554feffb21d89
D:\dev\tmp\weka-osgi\.git\objects\d2\bdd25a4b9c0fb7036e20ab0cbe5343567841f0
D:\dev\tmp\weka-osgi\.git\objects\d3\614a8cfc54f8a1394890426ab11ef00cfe4a6d
D:\dev\tmp\weka-osgi\.git\objects\d8\b5384176b10c840e108d4f63a9e7041709be78
D:\dev\tmp\weka-osgi\.git\objects\da\77d0a2877ff9badf29486ccfe6be7f26c4d7e7
D:\dev\tmp\weka-osgi\.git\objects\e2\4d0b2812cab3c5a4c6bfda8256a3133a2b1f17
D:\dev\tmp\weka-osgi\.git\objects\e2\bb4ef74cdae6382ecd0c8e1eb23de8ac75b126
D:\dev\tmp\weka-osgi\.git\objects\e5\cdee06f00795167126837286a6fa068529debe
D:\dev\tmp\weka-osgi\.git\objects\e9\5fa361ca818150a9c9eae6f0fae91e201f2602
D:\dev\tmp\weka-osgi\.git\objects\ec\d8bb18ebf6e55dc765c18e6dc67fdcf81258df
D:\dev\tmp\weka-osgi\.git\objects\f1\4d386413fb6d12a8c5f72d2c319ba79f797222
D:\dev\tmp\weka-osgi\.git\objects\f1\e02158413849c6ba2c031babb1d444fdf483b8
D:\dev\tmp\weka-osgi\.git\objects\f6\24bcae27df12cb3bf8f6cbd5bffed3d76362b9
D:\dev\tmp\weka-osgi\.git\objects\f8\42cb6c2f4dce64da459eff02fdb6b587eade90
D:\dev\tmp\weka-osgi\.git\objects\f9\cb462a699715ff7fc15be93a65a860099ae7aa
D:\dev\tmp\weka-osgi\.git\objects\ff\6d0c82ec92cf8a1ae415875b98e0b983b1e039
D:\dev\tmp\weka-osgi\.git\refs\heads
D:\dev\tmp\weka-osgi\.git\refs\remotes
D:\dev\tmp\weka-osgi\.git\refs\stash
D:\dev\tmp\weka-osgi\.git\refs\tags
D:\dev\tmp\weka-osgi\.git\refs\heads\3.7.6
D:\dev\tmp\weka-osgi\.git\refs\heads\master
D:\dev\tmp\weka-osgi\.git\refs\remotes\origin
D:\dev\tmp\weka-osgi\.git\refs\remotes\origin\HEAD
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka\build.properties
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka\META-INF
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka\pom.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka\target
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka\weka.jar
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka\META-INF\MANIFEST.MF
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka\target\local-artifacts.properties
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka\target\MANIFEST.MF
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka\target\nz.ac.waikato.cs.weka-3.7.6.qualifier.jar
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka\target\p2artifacts.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka\target\p2content.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.feature\build.properties
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.feature\feature.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.feature\pom.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.feature\target
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.feature\target\feature.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.feature\target\local-artifacts.properties
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.feature\target\nz.ac.waikato.cs.weka.feature-3.7.6.jar
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.feature\target\p2artifacts.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.feature\target\p2content.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\category.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\index.html
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\pom.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\web
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\category.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\local-artifacts.properties
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\nz.ac.waikato.cs.weka.site-3.7.6.zip
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\p2agent
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\p2artifacts.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\p2content.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\repository
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\targetPlatformRepository
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\p2agent\org.eclipse.equinox.p2.core
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\p2agent\org.eclipse.equinox.p2.engine
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\p2agent\org.eclipse.equinox.p2.core\cache
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\p2agent\org.eclipse.equinox.p2.core\cache\artifacts.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\p2agent\org.eclipse.equinox.p2.engine\.settings
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\p2agent\org.eclipse.equinox.p2.engine\profileRegistry
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\p2agent\org.eclipse.equinox.p2.engine\.settings\org.eclipse.equinox.p2.artifact.repository.prefs
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\p2agent\org.eclipse.equinox.p2.engine\.settings\org.eclipse.equinox.p2.metadata.repository.prefs
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\repository\artifacts.jar
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\repository\content.jar
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\repository\features
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\repository\plugins
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\repository\features\nz.ac.waikato.cs.weka.feature_3.7.6.jar
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\repository\plugins\nz.ac.waikato.cs.weka_3.7.6.v20120728-1713.jar
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\target\targetPlatformRepository\content.xml
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\web\site.css
D:\dev\tmp\weka-osgi\nz.ac.waikato.cs.weka.site\web\site.xsl