Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 68519 invoked from network); 15 Sep 2000 00:49:35 -0000 Received: from postbox.viquity.com (HELO dcsrv0.ecom2ecom.com) (63.198.126.137) by locus.apache.org with SMTP; 15 Sep 2000 00:49:35 -0000 Received: by dcsrv0 with Internet Mail Service (5.5.2650.21) id ; Thu, 14 Sep 2000 17:49:05 -0700 Message-ID: <635802DA64D4D31190D500508B9B04104E0EF8@dcsrv0> From: Jose Alberto Fernandez To: "Ant Project List (E-mail)" Subject: How to use compileTask Date: Thu, 14 Sep 2000 17:49:02 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C01EAE.BF528D18" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C01EAE.BF528D18 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C01EAE.BF528D18" ------_=_NextPart_001_01C01EAE.BF528D18 Content-Type: text/plain; charset="iso-8859-1" Hi, I have a new task that builds as part of the same project in which it is defined. So I try to use but had several surprises in the process: 1) Must declare in a eventhough it is executed at parsing time. I would have thought that this task would be used just like . 2) The destination directory for the task, seem to be required to exists and there is no way to create it during compilation because the will not execute until compile time. Which means that one needs to put the task in some "always existing place" not clear how. 3) So I put it in $ANT_HOME/lib. 4) does not seem to declare the task, so I had to add element, but now this taskdef cannot find the class for the task. I would have thougt that one would have declared the in the same place as and that the task would have declared the new task (even is up to date) and know which classpath to use to get it, given the destdir attribute in . Any ideas on how to solve this problem would be appreciated. Jose Alberto ------_=_NextPart_001_01C01EAE.BF528D18 Content-Type: text/html; charset="iso-8859-1"
Hi, I have a new task that builds as part of the same project in which it is defined.
 
So I try to use <compileTask> but had several surprises in the process:
 
1) Must declare <compileTask> in a <target> eventhough it is executed at parsing time.
    I would have thought that this task would be used just like <taskdef>.
 
2) The destination directory for the task, seem to be required to exists and there is no way to
    create it during compilation because the <mkdir> will not execute until compile time.
    Which means that one needs to put the task in some "always existing place" not clear how.
 
3) So I put it in $ANT_HOME/lib.
 
4) <compileTask> does not seem to declare the task, so I had to add <taskdef> element,
    but now this taskdef cannot find the class for the task.
 
I would have thougt that one would have declared the <compileTask> in the same place as <taskdef> and that the task would have declared the new task (even is up to date) and know which classpath to use to get it, given the destdir attribute in <compileTask>.
 
Any ideas on how to solve this problem would be appreciated.
 
Jose Alberto
 

 
------_=_NextPart_001_01C01EAE.BF528D18-- ------_=_NextPart_000_01C01EAE.BF528D18 Content-Type: application/octet-stream; name="Jose Alberto Fernandez.vcf" Content-Disposition: attachment; filename="Jose Alberto Fernandez.vcf" BEGIN:VCARD VERSION:2.1 N:Fernandez;Jose FN:Jose Alberto Fernandez ORG:Viquity;Engineering TITLE:Architect Software Development TEL;WORK;VOICE:408-548-9755 ADR;WORK:;Sunnyvale;1161 N Fair Oaks Ave;Sunnyvale;CA;94089;USA LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Sunnyvale=0D=0A1161 N Fair Oaks Ave=0D=0ASunnyvale, CA 94089=0D=0AUSA EMAIL;PREF;INTERNET:JFernandez@viquity.com REV:20000629T183010Z END:VCARD ------_=_NextPart_000_01C01EAE.BF528D18--