Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 99869 invoked from network); 31 May 2005 21:37:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 May 2005 21:37:46 -0000 Received: (qmail 74018 invoked by uid 500); 31 May 2005 21:37:45 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 73942 invoked by uid 500); 31 May 2005 21:37:44 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 73921 invoked by uid 99); 31 May 2005 21:37:43 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 31 May 2005 14:37:42 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id C4F57181; Tue, 31 May 2005 23:37:39 +0200 (CEST) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 6606] - META-BUG problems with delegating classloaders X-Bugzilla-Reason: AssignedTo Message-Id: <20050531213739.C4F57181@ajax.apache.org> Date: Tue, 31 May 2005 23:37:39 +0200 (CEST) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=6606 jglick@netbeans.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jglick@netbeans.org ------- Additional Comments From jglick@netbeans.org 2005-05-31 23:37 ------- (In reply to comment #22) > I changed the ant-junit.jar so it does not load/reference any > junit classes before it forks a new JVM. That way the classloader problems > disappear since junit classes are not loaded inside ant's JVM. This could be quite useful. E.g. the NetBeans IDE uses http://www.netbeans.org/download/dev/javadoc/org-apache-tools-ant-module/org/apache/tools/ant/module/spi/AutomaticExtraClasspathProvider.html from the module bundling junit.jar in order to force it to be added to Ant's primary classpath. Even though the build scripts that the IDE generates will have an explicit path for junit.jar - which is used e.g. when compiling unit tests - it cannot currently run unless this has been done. A patch such as is described here would make it possible to do omit junit.jar from Ant's primary classpath, and would mean that a command-line build incl. unit testing would succeed so long as the path was set up correctly, without requiring the user to run Ant with junit.jar in $CLASSPATH (or ant/lib/ or whatever). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org