I see, is there a JIRA issue?
I have a bit complicated problem since I need to get it working from
init.gradle script where object configurations does not exists. Please help.


Hans Dockter wrote:
> 
> On Thu, Dec 17, 2009 at 4:20 PM, Narco <[email protected]> wrote:
> 
>>
>> Hello again!
>> Ant has Perforce tasks implemented by default so I wanted to reuse them
>> what
>> is much simpler than using P4Java framework. To get it working on gradle
>> the
>> only way I found is by copying libraries jakarta-oro-2.0.8 and
>> ant-apache-oro-1.7.1 to gradle/lib folder what doesn`t look good. A small
>> note that I need this working from init.gradle script what makes things
>> more
>> complicated. This didn`t worked for me couse ant classpath is loaded on
>> gradle startup as I understand:
>>
>> initscript {
>> repositories {
>>        ...
>>    }
>>    dependencies {
>>
>>        classpath group: 'ant-apache-oro', name: 'ant-apache-oro',
>> version:
>> '1.7.1'
>>        classpath group: 'jakarta-oro', name: 'jakarta-oro', version:
>> '2.0.8'
>>    }
>> }
>> groovy.util.AntBuilder ant = new groovy.util.AntBuilder()
>> ant.p4sync(view: "...#head")
>>
> 
> This is an issue we will fix soon (but after 0.9).
> 
> For another work around  see: http://markmail.org/thread/uwqv5jrqpzgxyhcx
> 
> - Hans
> 
> --
> Hans Dockter
> Gradle Project Manager
> http://www.gradle.org
> 
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Using-ant.p4sync-task-from-gradle-0.8-tp26829605p26829605.html
>> Sent from the gradle-user mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Using-ant.p4sync-task-from-gradle-0.8-tp26829605p26871880.html
Sent from the gradle-user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to