[
https://issues.apache.org/jira/browse/BUILDR-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Assaf Arkin updated BUILDR-149:
-------------------------------
Fix Version/s: (was: 1.3.3)
Let's revisit this after the 1.3.3 release. Goal is to have more consistency
with Rake, so let's see what Rake 0.8.3 provides.
> cannot specify foo.bar=value as argument
> ----------------------------------------
>
> Key: BUILDR-149
> URL: https://issues.apache.org/jira/browse/BUILDR-149
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.3.2
> Reporter: Ittay Dror
>
> > buildr foo.bar=value
> (in /work/HEAD, development)
> Don't know how to build task 'foo.bar=value'
> [Failed] Your build failed with an error: /work/HEAD:
> Don't know how to build task 'foo.bar=value'
> buildr aborted!
> The reason is that Buildr.application.collect_tasks parses arguments using
> the \w regexp which takes dots to be word separators. similarly,
> foo:bar=value, foo-bar=value, will not work.
> Maybe just use /^(.+)=(.*)$/ to recognize variables? This means task names
> cannot contain '=', but variables and task names can still contain all
> special symbols.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.