Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 30909 invoked from network); 6 Mar 2002 15:34:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Mar 2002 15:34:40 -0000 Received: (qmail 24366 invoked by uid 97); 6 Mar 2002 15:34:36 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 24333 invoked by uid 97); 6 Mar 2002 15:34:35 -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 24319 invoked by uid 50); 6 Mar 2002 15:34:34 -0000 Date: 6 Mar 2002 15:34:34 -0000 Message-ID: <20020306153434.24318.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 6921] New: - java.class.path not updated with Class-Path from Manifest of jar used in user's defined tasks X-Spam-Rating: daedalus.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://nagoya.apache.org/bugzilla/show_bug.cgi?id=6921 java.class.path not updated with Class-Path from Manifest of jar used in user's defined tasks Summary: java.class.path not updated with Class-Path from Manifest of jar used in user's defined tasks Product: Ant Version: 1.4.1 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: ant-dev@jakarta.apache.org ReportedBy: francis.andre@e-xmlmedia.fr Hello When using a user's defined task, it seems that the Class-Path specified in the Manifest of cascaded jars are not taken into account in the global classpath of the JVM. When using directly the JVM without ant as in the following bat: @setlocal set classpath=../../dist/HEAD/repository/jar/repository.jar java com.exmlmedia.repository.helpers.XMLManager %1 %2 %3 %4 %5 %6 %7 %8 @endlocal the JVM include all manifests Class-Path When using ant with manager as target as in: one got: C:\exmlmedia\qa\repositoryV2\build.xml:78: Could not create task of type: manage r due to java.lang.NoClassDefFoundError: com/exmlmedia/xml/serialize/CompactXMLS erializer -- To unsubscribe, e-mail: For additional commands, e-mail: