Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 39511 invoked from network); 8 Oct 2009 14:32:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Oct 2009 14:32:56 -0000 Received: (qmail 92625 invoked by uid 500); 8 Oct 2009 14:32:55 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 92595 invoked by uid 500); 8 Oct 2009 14:32:55 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 92555 invoked by uid 99); 8 Oct 2009 14:32:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Oct 2009 14:32:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Oct 2009 14:32:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5BBCB234C1EF for ; Thu, 8 Oct 2009 07:32:31 -0700 (PDT) Message-ID: <90144915.1255012351374.JavaMail.jira@brutus> Date: Thu, 8 Oct 2009 07:32:31 -0700 (PDT) From: "Ivica Loncar (JIRA)" To: notifications@ant.apache.org Subject: [jira] Commented: (IVYDE-210) Dependencies marked for export into WEB-INF/lib should be fully exported regardles of the ordering in Java Build Path In-Reply-To: <1411717652.1254821431377.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVYDE-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763504#action_12763504 ] Ivica Loncar commented on IVYDE-210: ------------------------------------ I can reproduce the same behaviour if I use "User libraries" instead of IVYDE, so it might be a bug in the WTP. > Dependencies marked for export into WEB-INF/lib should be fully exported regardles of the ordering in Java Build Path > --------------------------------------------------------------------------------------------------------------------- > > Key: IVYDE-210 > URL: https://issues.apache.org/jira/browse/IVYDE-210 > Project: IvyDE > Issue Type: Bug > Components: classpath container > Environment: latest ivy from trunk, eclipse 3.5, WTP 3.1 > Reporter: Ivica Loncar > > Create dynamic web project and create ivy configuration. > This is a relevant part of ivy.xml that can be used to demonstrate bug. > {code:xml} > > > > > > > > > > > > > > > > > > > > > > > > > > > > {code} > _Scenario 1_ > _Steps_ > * go to the Java Build Path and reorder libraries (last tab under Java Build Path) in the following order: > # source folder > # JRE System library > # Apache Tomcat > # _runtime_ > # _compile_ > * under J2EE Module dependecies we mark ivy.xml [compile] for export > * we can see that compile classpath container contains libraries like aopalliance, commons-fileupload, etc. (more than 4 jars) > * publish direclty to the tomcat installation (Do not use workspace as server location. You have to setup server path and deploy path.) > _Result_ > - under TOMCAT_HOME\webapps\APPNAME\WEB-INF\lib we get: > - jms-1.1.jar > - jstl-1.2.jar > - spring-jdbc-2.5.6.jar > _Scenario 2_ > _Steps_ > - go to the Java Build Path and reorder libraries such that compile comes before runtime: > # source folder > # JRE System library > # Apache Tomcat > # _compile_ > # _runtime_ > - publish project to tomcat installation > _Result_ > - under {TOMCAT_HOME}\webapps\{APPNAME}\WEB-INF\lib we get all of the libraries that we can see under compile configuration in ivy classpath container > The first scenario demonstrates the bug and should be fixed: > - dependencies marked for J2EE export into WEB-INF/lib should be fully exported in all circumstances and Java Build Path ordering should not have influence on it -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.