Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Missing qualifier generator for id lastrevision
Missing qualifier generator for id lastrevision [message #894724] Tue, 10 July 2012 09:32 Go to next message
Fabian Ruckwied is currently offline Fabian RuckwiedFriend
Messages: 10
Registered: July 2012
Location: Stuttgart, Germany
Junior Member
Hello,

is Buckminster missing a plugin ?

Jenkins Consolelog:

INFO: perform '-D' 'qualifier.replacement.*=generator:lastrevision' '-D' 'generator.lastrevision.format=r{0,number,00000}' '-D' 'target.os=win32' '-D' 'target.ws=win32' '-D' 'target.arch=x86' 'com.project.example.site#site.p2'

INFO: [start org.eclipse.update.ui.nl:osgi.bundle$1.0.0.qualifier#eclipse.build]
INFO: [end org.eclipse.update.ui.nl:osgi.bundle$1.0.0.qualifier#eclipse.build]
INFO: [start org.eclipse.update.ui.nl:osgi.bundle$1.0.0.qualifier#bundle.jar]

INFO: [end org.eclipse.update.ui.nl:osgi.bundle$1.0.0.qualifier#bundle.jar]
INFO: [start org.eclipse.core.contenttype.nl:osgi.bundle$1.0.0.qualifier#eclipse.build]
INFO: [end org.eclipse.core.contenttype.nl:osgi.bundle$1.0.0.qualifier#eclipse.build]
INFO: [start org.eclipse.core.contenttype.nl:osgi.bundle$1.0.0.qualifier#bundle.jar]
...
...
...
...
...
...
INFO: [start org.eclipse.ui.nl:osgi.bundle$1.0.0.qualifier#bundle.jar]
INFO: [end org.eclipse.ui.nl:osgi.bundle$1.0.0.qualifier#bundle.jar]
INFO: [start com.project.example.main:osgi.bundle$1.0.0.qualifier#bundle.jar]

INFO: [end com.project.example.main:osgi.bundle$1.0.0.qualifier#bundle.jar]
INFO: [start com.project.example.feature:eclipse.feature$1.0.0.qualifier#manifest]

[ant] ERROR: Unable to qualify version
[ant] org.eclipse.core.runtime.CoreException: Missing qualifier generator for id lastrevision
[ant] at org.eclipse.buckminster.runtime.BuckminsterException.fromMessage(BuckminsterException.java:57)
[ant] at org.eclipse.buckminster.runtime.BuckminsterException.fromMessage(BuckminsterException.java:53)
[ant] at org.eclipse.buckminster.core.CorePlugin.getQualifierGenerator(CorePlugin.java:434)
[ant] at org.eclipse.buckminster.ant.tasks.VersionQualifierTask.replaceQualifier(VersionQualifierTask.java:117)
[ant] at org.eclipse.buckminster.pde.tasks.FeatureConsolidator.consolidateFeatureVersion(FeatureConsolidator.java:109)
[ant] at org.eclipse.buckminster.pde.tasks.FeatureConsolidator.run(FeatureConsolidator.java:88)
[ant] at org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.execute(FeatureConsolidatorTask.java:92)
[ant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[ant] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
[ant] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ant] at java.lang.reflect.Method.invoke(Method.java:597)
[ant] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ant] at org.apache.tools.ant.Task.perform(Task.java:348)
[ant] at org.apache.tools.ant.Target.execute(Target.java:390)
[ant] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[ant] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[ant] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
[ant] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[ant] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[ant] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[ant] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:665)
[ant] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:498)
[ant] at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
[ant] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ant] at java.lang.reflect.Method.invoke(Method.java:597)
[ant] at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:318)
[ant] at org.eclipse.buckminster.ant.actor.AntActor.internalPerform(AntActor.java:254)
[ant] at org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:195)
[ant] at org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:143)
[ant] at org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:454)
[ant] at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
[ant] at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:305)
[ant] at org.eclipse.buckminster.core.commands.Perform.internalRun(Perform.java:108)
[ant] at org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:91)
[ant] at org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:200)
[ant] at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:350)
[ant] at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:145)
[ant] at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:165)
[ant] at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
[ant] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
[ant] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
[ant] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
[ant] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
[ant] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ant] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ant] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ant] at java.lang.reflect.Method.invoke(Method.java:597)
[ant] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
[ant] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
[ant] at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
[ant] at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
INFO: [end com.project.example.feature:eclipse.feature$1.0.0.qualifier#manifest]
INFO: [start com.project.example.feature:eclipse.feature$1.0.0.qualifier#feature.jar]

INFO: [end com.project.example.feature:eclipse.feature$1.0.0.qualifier#feature.jar]
INFO: [start com.project.example.site:eclipse.feature$1.0.0.qualifier#copy.subfeatures]
INFO: [end com.project.example.site:eclipse.feature$1.0.0.qualifier#copy.subfeatures]
INFO: [start com.project.example.site:eclipse.feature$1.0.0.qualifier#copy.plugins]

INFO: [end com.project.example.site:eclipse.feature$1.0.0.qualifier#copy.plugins]
INFO: [start com.project.example.site:eclipse.feature$1.0.0.qualifier#manifest]



Does anybody know about this issue ?
Re: Missing qualifier generator for id lastrevision [message #894771 is a reply to message #894724] Tue, 10 July 2012 13:16 Go to previous messageGo to next message
Peter Nehrer is currently offline Peter NehrerFriend
Messages: 240
Registered: July 2009
Senior Member
It may just be case sensitivity -- try using
'generator.lastRevision.format' (capital 'R').

On 7/10/12 5:32 AM, Fabian Ruckwied wrote:
> Hello,
>
> is Buckminster missing a plugin ?
>
> Jenkins Consolelog:
>
> INFO: perform '-D' 'qualifier.replacement.*=generator:lastrevision' '-D'
> 'generator.lastrevision.format=r{0,number,00000}' '-D' 'target.os=win32'
> '-D' 'target.ws=win32' '-D' 'target.arch=x86'
> 'com.project.example.site#site.p2'
>
> INFO: [start
> org.eclipse.update.ui.nl:osgi.bundle$1.0.0.qualifier#eclipse.build]
> INFO: [end
> org.eclipse.update.ui.nl:osgi.bundle$1.0.0.qualifier#eclipse.build]
> INFO: [start
> org.eclipse.update.ui.nl:osgi.bundle$1.0.0.qualifier#bundle.jar]
>
> INFO: [end org.eclipse.update.ui.nl:osgi.bundle$1.0.0.qualifier#bundle.jar]
> INFO: [start
> org.eclipse.core.contenttype.nl:osgi.bundle$1.0.0.qualifier#eclipse.build]
> INFO: [end
> org.eclipse.core.contenttype.nl:osgi.bundle$1.0.0.qualifier#eclipse.build]
> INFO: [start
> org.eclipse.core.contenttype.nl:osgi.bundle$1.0.0.qualifier#bundle.jar]
> ..
> ..
> ..
> ..
> ..
> ..
> INFO: [start org.eclipse.ui.nl:osgi.bundle$1.0.0.qualifier#bundle.jar]
> INFO: [end org.eclipse.ui.nl:osgi.bundle$1.0.0.qualifier#bundle.jar]
> INFO: [start
> com.project.example.main:osgi.bundle$1.0.0.qualifier#bundle.jar]
>
> INFO: [end com.project.example.main:osgi.bundle$1.0.0.qualifier#bundle.jar]
> INFO: [start
> com.project.example.feature:eclipse.feature$1.0.0.qualifier#manifest]
>
> [ant] ERROR: Unable to qualify version
> [ant] org.eclipse.core.runtime.CoreException: Missing qualifier
> generator for id lastrevision
> [ant] at
> org.eclipse.buckminster.runtime.BuckminsterException.fromMessage(BuckminsterException.java:57)
>
> [ant] at
> org.eclipse.buckminster.runtime.BuckminsterException.fromMessage(BuckminsterException.java:53)
>
> [ant] at
> org.eclipse.buckminster.core.CorePlugin.getQualifierGenerator(CorePlugin.java:434)
>
> [ant] at
> org.eclipse.buckminster.ant.tasks.VersionQualifierTask.replaceQualifier(VersionQualifierTask.java:117)
>
> [ant] at
> org.eclipse.buckminster.pde.tasks.FeatureConsolidator.consolidateFeatureVersion(FeatureConsolidator.java:109)
>
> [ant] at
> org.eclipse.buckminster.pde.tasks.FeatureConsolidator.run(FeatureConsolidator.java:88)
>
> [ant] at
> org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.execute(FeatureConsolidatorTask.java:92)
>
> [ant] at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
> [ant] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
> [ant] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> [ant] at java.lang.reflect.Method.invoke(Method.java:597)
> [ant] at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> [ant] at org.apache.tools.ant.Task.perform(Task.java:348)
> [ant] at org.apache.tools.ant.Target.execute(Target.java:390)
> [ant] at org.apache.tools.ant.Target.performTasks(Target.java:411)
> [ant] at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
> [ant] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
> [ant] at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>
> [ant] at
> org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
>
> [ant] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
> [ant] at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:665)
>
> [ant] at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:498)
>
> [ant] at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
> [ant] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> [ant] at java.lang.reflect.Method.invoke(Method.java:597)
> [ant] at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:318)
> [ant] at
> org.eclipse.buckminster.ant.actor.AntActor.internalPerform(AntActor.java:254)
>
> [ant] at
> org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:195)
>
> [ant] at
> org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:143)
>
> [ant] at
> org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:454)
>
> [ant] at
> org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
>
> [ant] at
> org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:305)
>
> [ant] at
> org.eclipse.buckminster.core.commands.Perform.internalRun(Perform.java:108)
> [ant] at
> org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:91)
>
> [ant] at
> org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:200)
>
> [ant] at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:350)
> [ant] at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:145)
> [ant] at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:165)
> [ant] at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> [ant] at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>
> [ant] at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>
> [ant] at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
>
> [ant] at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> [ant] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ant] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> [ant] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> [ant] at java.lang.reflect.Method.invoke(Method.java:597)
> [ant] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
> [ant] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> [ant] at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
> [ant] at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
> INFO: [end
> com.project.example.feature:eclipse.feature$1.0.0.qualifier#manifest]
> INFO: [start
> com.project.example.feature:eclipse.feature$1.0.0.qualifier#feature.jar]
>
> INFO: [end
> com.project.example.feature:eclipse.feature$1.0.0.qualifier#feature.jar]
> INFO: [start
> com.project.example.site:eclipse.feature$1.0.0.qualifier#copy.subfeatures]
> INFO: [end
> com.project.example.site:eclipse.feature$1.0.0.qualifier#copy.subfeatures]
> INFO: [start
> com.project.example.site:eclipse.feature$1.0.0.qualifier#copy.plugins]
>
> INFO: [end
> com.project.example.site:eclipse.feature$1.0.0.qualifier#copy.plugins]
> INFO: [start
> com.project.example.site:eclipse.feature$1.0.0.qualifier#manifest]
>
>
>
> Does anybody know about this issue ?
Re: Missing qualifier generator for id lastrevision [message #894785 is a reply to message #894771] Tue, 10 July 2012 14:14 Go to previous messageGo to next message
Fabian Ruckwied is currently offline Fabian RuckwiedFriend
Messages: 10
Registered: July 2012
Location: Stuttgart, Germany
Junior Member
When i use this:

qualifier.replacement.*=generator:lastRevision
generator.lastRevision.format=r{0,number,00000}

there is no error, but the qualifiers are not replaced too.


Re: Missing qualifier generator for id lastrevision [message #897547 is a reply to message #894785] Tue, 24 July 2012 13:17 Go to previous message
Fabian Ruckwied is currently offline Fabian RuckwiedFriend
Messages: 10
Registered: July 2012
Location: Stuttgart, Germany
Junior Member
RESOLVED

Get revision number directly from Jenkins:

perform -D qualifier.replacement.*=${SVN_REVISION} com.project.example.site#site.signed
Previous Topic:Buckminster qualifier replacement last revision SVN
Next Topic:App crashes first time after update (jnlp and jars) started via shortcut
Goto Forum:
  


Current Time: Thu Dec 18 04:18:07 GMT 2014

Powered by FUDForum. Page generated in 0.01904 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software