Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 31935 invoked from network); 7 Dec 2001 23:24:17 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 Dec 2001 23:24:17 -0000 Received: (qmail 5868 invoked by uid 97); 7 Dec 2001 23:24:14 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 5825 invoked by uid 97); 7 Dec 2001 23:24:13 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 5803 invoked from network); 7 Dec 2001 23:24:12 -0000 From: "Ylan Segal" To: "Ant Users List" Subject: RE: classpath question Date: Fri, 7 Dec 2001 17:25:35 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > However, if instead we run ant with -classpath (the same > classpath with some > java source dirs), the compile fails on an import on one of the > dependencies > on one of the source files in the classpath. We also tried setting the > classpath inside the build.xml file. That didn't work either. Here is part of my build file... classpath is working great for me. ... ... Hope this example helps. Otherwise I would suggest posting the appropiate parts of your buils file and I'll take a look and see what is going on. You should note that the path element is not under a target, but declared before any target so that it can be reused in other parts. The javac part IS declared inside a target. Good Luck. Ylan Segal. -- To unsubscribe, e-mail: For additional commands, e-mail: