Buckminster "Invalid pattern exp" but no patterns in my project [message #816150] |
Thu, 08 March 2012 13:43 |
fran cisco Messages: 3 Registered: March 2012 |
Junior Member |
|
|
Hello,
This may be silly mistake which I'm not able to see but I'm stuck on it.
When I build my site.p2 with buckminster it builds all the plugins and features but when it tries to build the root feature i get this error:
"/buckminster/pde/antscripts/build.xml:300: java.lang.IllegalArgumentException: Illegal pattern character 'T': java.lang.IllegalArgumentException: Illegal pattern character 'T'"
I don have any pattern in my projects nor in the feature. The only pattern is the
qualifier.replace.* in buckminster.properties but I've seen this in all samples.
Also the plugins qualifier is not being replaced, both issues may be related.
My properties files:
# Where all the output should go
buckminster.output.root=${user.home}/tmp/Icaria
# Where the temp files should go
buckminster.temp.root=${user.home}/tmp/buildtmp
# How .qualifier in versions should be replaced
qualifier.replacement.*=generator:buildTimestamp
target.os=*
target.ws=*
target.arch=*
after reinstalling buckminster 3.7 qualifiers are being replaced by "elipse-feature" or "osgi-bundle" (same properties file)
Eclipse version Version: 3.7.1
[Updated on: Thu, 08 March 2012 13:44] Report message to a moderator
|
|
|
|
Re: Buckminster "Invalid pattern [message #816158 is a reply to message #816150] |
Thu, 08 March 2012 13:49 |
|
Try running your build with DEBUG output and check to see if you get a stacktrace. Using --displaystacktrace may be
helpful if you run headless.
- thomas
On 03/08/2012 02:43 PM, fran cisco wrote:
> Hello,
> This may be silly mistake which I'm not able to see but I'm stuck on it.
>
> When I build my site.p2 with buckminster it builds all the plugins and features but when it tries to build the root
> feature i get this error:
>
> "/buckminster/pde/antscripts/build.xml:300: java.lang.IllegalArgumentException: Illegal pattern character 'T':
> java.lang.IllegalArgumentException: Illegal pattern character 'T'"
>
> I don have any pattern in my projects nor in the feature. The only pattern is the
> qualifier.replace.* in buckminster.properties but I've seen this in all samples.
>
> Also the plugins qualifier is not being replaced, both issues may be related.
> My properties files:
> # Where all the output should go
> buckminster.output.root=${user.home}/tmp/Icaria
> # Where the temp files should go
> buckminster.temp.root=${user.home}/tmp/buildtmp
> # How .qualifier in versions should be replaced
> qualifier.replacement.*=generator:buildTimestamp
>
> target.os=*
> target.ws=*
> target.arch=*
>
> after reinstalling buckminster 3.7 qualifiers are being replaced by "elipse-feature" or "osgi-bundle" (same properties
> file)
>
> Eclipse version Version: 3.7.1
>
|
|
|
|
Re: Buckminster "Invalid pattern [message #816878 is a reply to message #816818] |
Fri, 09 March 2012 11:23 |
|
Buckminster picks up a property setting using the key:
generator.buildTimestamp.format
The value for that property is then used as a format parameter to the java.text.SimpleDateFormat class. Apparently the
value contains an invalid pattern character. The default value for this property is
'v'yyyyMMddHHmm
and as far as I can see, Buckminster never overrides this default by itself. Do you find a setting for this property
somewhere in your build?
- thomas
On 03/09/2012 10:47 AM, fran cisco wrote:
> Caused by: java.lang.IllegalArgumentException: Illegal pattern character 'T'
> at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:769)
> at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:576)
> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:501)
> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:476)
> at org.eclipse.buckminster.core.version.BuildTimestampQualifierGenerator.generateQualifier(BuildTimestampQualifierGenerator.java:76)
> at org.eclipse.buckminster.ant.tasks.VersionQualifierTask.replaceQualifier(VersionQualifierTask.java:118)
> at org.eclipse.buckminster.pde.tasks.FeatureConsolidator.consolidateFeatureVersion(FeatureConsolidator.java:109)
> at org.eclipse.buckminster.pde.tasks.FeatureConsolidator.run(FeatureConsolidator.java:88)
> at org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.execute(FeatureConsolidatorTask.java:92)
|
|
|
|
Re: Buckminster &amp;quot;Invalid pattern [message #819785 is a reply to message #819072] |
Tue, 13 March 2012 10:21 |
|
On 03/12/2012 02:04 PM, fran cisco wrote:
> Just to be sure I did a search over all my projects and no matches were found. It's the first time I use buckminster so
> I don't think that is the problem.
> Reinstalling doesn't work neither.
>
Very odd indeed. I've scanned through the whole Buckminster code base and I can't find any formats that would be invalid.
Would it be possible for you to zip up an example and attach it to a bug?
- thomas
|
|
|
Powered by
FUDForum. Page generated in 0.02680 seconds