Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 23117 invoked from network); 28 Jul 2004 07:21:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Jul 2004 07:21:36 -0000 Received: (qmail 83911 invoked by uid 500); 28 Jul 2004 07:21:24 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 83799 invoked by uid 500); 28 Jul 2004 07:21:23 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 83785 invoked by uid 99); 28 Jul 2004 07:21:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [212.30.164.1] (HELO mail.diasoft.ru) (212.30.164.1) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 28 Jul 2004 00:21:19 -0700 Received: (qmail 3737 invoked from network); 28 Jul 2004 07:21:05 -0000 Received: from aabashev.diasoft.ru (HELO ?10.1.4.172?) (10.1.4.172) by 0 with SMTP; 28 Jul 2004 07:21:05 -0000 Message-ID: <410753E1.2020205@diasoft.ru> Date: Wed, 28 Jul 2004 11:21:05 +0400 From: Alexey Abashev User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: Sample code for Presetdef References: <4104F87C.0@diasoft.ru> In-Reply-To: <4104F87C.0@diasoft.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Selfanswered message :) This is JavaScript sample code: preset = project.createDataType("myjavac").getPreSets(); preset.maybeConfigure(); task = compiler.getTask(); And now task is javac task. Alexey Abashev wrote: > Anybody can help me???? Where I can find API how to use presetdef > tasks in Java or JavaScript code? This is what I've got: > > > > But I want to change this code into usage presetdef like this: > > > deprecation="${compile.deprecation}" optimize="${compile.optimize}"/> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > -- � ���������, ������ ������� ���������� �������-����������� ����� ���������� ���������� �������� "�������" Alexey V. Abashev Programmer Banking Technologies Center, Diasoft ������, 127018, ������, ��.�������� �.17, ���.15 ��� (095) 780-7575 ���� (095) 780-7576 E-mail: aabashev@diasoft.ru http://www.diasoft.ru --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org