Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 53513 invoked from network); 7 Dec 2002 07:22:38 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 Dec 2002 07:22:38 -0000 Received: (qmail 9353 invoked by uid 97); 7 Dec 2002 07:23:51 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 9316 invoked by uid 97); 7 Dec 2002 07:23:50 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 9264 invoked by uid 98); 7 Dec 2002 07:23:49 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) To: ant-dev@jakarta.apache.org X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Costin Manolache Subject: Delayed task Class creation and Date: Fri, 06 Dec 2002 23:17:21 -0800 Lines: 20 Message-ID: NNTP-Posting-Host: 63-203-204-149.dsl.snfc21.pacbell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: main.gmane.org 1039245753 26233 63.203.204.149 (7 Dec 2002 07:22:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 7 Dec 2002 07:22:33 +0000 (UTC) User-Agent: KNode/0.7.1 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I checked in some code to create the task class only when it is needed. That means tasks that are never used are not created - and the actual Class.forName() happens just before the task is constructed. There is one point where this doesn't work - antcall will create all the tasks. I'll try to find a solution for that later. Assuming the AntTaskTable doesn't get vetoed ( and doesn't break anything ) - I would like to move ahead and merge the task from [embed] into the main branch. This would allow to add jars to the core loader - things like junit.jar, etc - using normal . Opinions ? Costin -- To unsubscribe, e-mail: For additional commands, e-mail: