Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 96919 invoked from network); 11 Aug 2005 09:04:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Aug 2005 09:04:34 -0000 Received: (qmail 69740 invoked by uid 500); 11 Aug 2005 09:04:18 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 69624 invoked by uid 500); 11 Aug 2005 09:04:17 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 69598 invoked by uid 99); 11 Aug 2005 09:04:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2005 02:04:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [192.6.10.17] (HELO gort.hpl.hp.com) (192.6.10.17) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2005 02:04:39 -0700 Received: from timmay.hpl.hp.com (timmay-hb.hpl.hp.com [15.144.59.39]) by gort.hpl.hp.com (8.12.10/8.12.10) with ESMTP id j7B93u18026302 for ; Thu, 11 Aug 2005 10:03:56 +0100 (BST) Received: from [15.144.25.135] (chamonix.hpl.hp.com [15.144.25.135]) by timmay.hpl.hp.com (8.13.2/8.13.2) with ESMTP id j7B93q3N007722 for ; Thu, 11 Aug 2005 10:03:52 +0100 (BST) Message-ID: <42FB1429.2020608@apache.org> Date: Thu, 11 Aug 2005 10:02:33 +0100 From: Steve Loughran User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: SV: junit task problem References: <200508071108.j77B8jQp028990@mail47.fg.online.no> In-Reply-To: <200508071108.j77B8jQp028990@mail47.fg.online.no> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-HPLB-IMAP-MailScanner-Information: Please contact the Helpdesk for more information X-HPLB-IMAP-MailScanner: Found to be clean X-HPLB-IMAP-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5) X-HPL-MailScanner-Information: Please contact the Helpdesk for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.628, required 5, autolearn=not spam, ALL_TRUSTED -3.30, AWL 0.67) X-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ola Lie wrote: > Hi again, > > The Java Communications API calls caused my problem. When I installed > comm.jar og javax.comm.properties in the ant\lib directory and win32com.dll > in the ant\bin directory, it worked all right. > > However, I do not know why this is necessary as long as I had the classpath > set to the java directory where I originally installed java comm api. > > Best regards > Ola Adding native libraries to Java is trouble; you need to have them in one of a few blessed places. As for javax.* packages, some are extra special "endorsed libraries" that can only be updated in recent JVMs by also putting them in special places. Java Web Start works around some of this, so there may be tricks that ant junit could use in future, if only we knew what they were... -steve --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org