On Tue, Dec 15, 2009 at 7:47 AM, Narco <[email protected]> wrote:

>
> Hello! I want to add some build logic depending on provided commandline
> args
> before whole build process. There is init.gradle for that as I see. How to
> access commandline properties from there? It is giving exception:
> Cause: No such property: csbArtifacts for class:
> org.gradle.invocation.DefaultGradle
>
> My goal is to sync build scripts to head revision before build start up.
> Other recommendations are welcome!
>
>
I'm not sure exactly what you want from the command line, so this may not
help.  DefaultGradle has a getStartParameter() method that returns the start
parameters which are extracted from the command line by
DefaultCommandLine2StartParameterConverter.java.


-- 
John Murph
Automated Logic Research Team

Reply via email to