Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 26028 invoked from network); 11 Apr 2002 18:07:38 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Apr 2002 18:07:38 -0000 Received: (qmail 20827 invoked by uid 97); 11 Apr 2002 18:07:32 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 20726 invoked by uid 97); 11 Apr 2002 18:07:32 -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 20702 invoked from network); 11 Apr 2002 18:07:31 -0000 Date: Thu, 11 Apr 2002 14:07:52 -0400 Message-ID: From: kenyee@keysolutions.com To: "Ant Users List" Subject: RE: auto dependency generation? X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 X-MIMETrack: Serialize by Router on SlipGate/KEY Enterprise Solutions(Release 5.0.10 |March 22, 2002) at 04/11/2002 02:07:53 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On 04/10/2002 11:59:50 PM, "Conor MacNeill" wrote: > Javac compiler will handle this issue. If a class, which is required, > does not yet exist, javac will attempt to find a source file by looking > at the source path. After digging into the various options including , it does seem like javac should be magically taking care of this. Here are a few snippets of build.xml (BTW, I couldn't find a good example in the Ant manual...some simple generic build.xml should probably be in there and you're welcome to use the one I have below if there aren't any problems with it) and the results from debug/compile: =========build.xml: ========== relevant ant -debug info: [javac] Files to be compiled: F:\work\Transcend\TransMedia2\src\AbstractTreeModel.java F:\work\Transcend\TransMedia2\src\BrowserSplitPane.java F:\work\Transcend\TransMedia2\src\com\transcend\utils\FileManager.java F: \work\Transcend\TransMedia2\src\com\transcend\utils\MultiContentSender.jav a F: \work\Transcend\TransMedia2\src\com\transcend\utils\ProgressListener.java F: \work\Transcend\TransMedia2\src\com\vistech\events\ImageLoadedEvent.java ===========javac error: [javac] F: \work\Transcend\TransMedia2\src\com\transcend\utils\MultiContentSe nder.java:186: cannot resolve symbol [javac] symbol : class ProgressListener [javac] location: class MultiContentSender [javac] private ProgressListener listene =========== The ProgressListener Interface is in ProgressListener.java in the same directory (com/transcend/utils) as MultiContentSender.java. The only thing I could think of is javac isn't including "." in the sourcepath, but couldn't see a way of setting it (only the javadoc tag in build.xml has a sourcepath value). ken -- To unsubscribe, e-mail: For additional commands, e-mail: