Sorry, wrong link.

http://blog.james-carr.org/2010/02/05/running-a-single-class-from-gradle/


On Mon, Mar 1, 2010 at 8:54 AM, James Carr <[email protected]> wrote:
> Hi,
>
> Look here:
> http://blog.james-carr.org/2010/02/05/using-gradle-for-your-enterprise-java-project/
>
> Thanks,
> James
> On Mon, Mar 1, 2010 at 8:45 AM, Donal Mc Namee <[email protected]> wrote:
>> Hi,
>> I'm migrating our ant scripts to Gradle and one of the scripts executes
>> a 3rd party class like so:
>>
>> <target name="transform-accept-server-file">
>>        <java
>> classname="com.blazesoft.server.deploy.tools.NdServerConfigSerializer"
>> fork="true" failonerror="true">
>>            <classpath>
>>                <path refid="project.classpath"/>
>>            </classpath>
>>            <jvmarg line="-Dnd.resourcepath=${blaze.resource.path}"/>
>>            <arg line="-dir 'sources/ie/vhi/ias/bre/blaze/config'"/>
>>            <arg line="-prefix 'Accept'"/>
>>            <arg line="-server '${resources.dir}/Accept.server'"/>
>>            <arg line="-package 'ie.vhi.ias.bre.blaze.config'"/>
>>        </java>
>>    </target>
>>
>> What's the 'smart' way to do this in Gradle?
>> Should I just define a Gradle task to call 'ant.java()' or have Groovy
>> execute it using Groovy's execute()?
>>
>> Thanks,
>> Donal.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>

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

    http://xircles.codehaus.org/manage_email


Reply via email to