Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 11340 invoked by uid 500); 25 Jun 2001 10:10:30 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 11163 invoked from network); 25 Jun 2001 10:10:23 -0000 X-Url: http://www.pcotech.fr Message-ID: <3B370E6F.9090609@pcotech.fr> Date: Mon, 25 Jun 2001 12:11:59 +0200 From: Cyriaque Dupoirieux Organization: PCO Technologies User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; fr-FR; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: fr MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: Problem of dependencies ... References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Helliwell, Matthew wrote: > Have you tried just doing the compile from the command line? Perhaps the > sources in the doNotTouch packages have a newer timestamp than the classes. Alright, maybe, but why does ant compile the source whereas I told it to exclude this directory ? Well, Is there a way to update all my .class files ? (like the touch target, for several files or directories) Thanks, > > Matt > > > -----Original Message----- > From: Cyriaque Dupoirieux [mailto:cyriaque.dupoirieux@pcotech.fr] > Sent: 25 June 2001 10:41 > To: ant-user@jakarta.apache.org > Subject: Re: Problem of dependencies ... > > > > Hello again, > > I still have my problem, now my target looks like this : > > > > > > > destdir="codes" > includes="projet/**" > excludes="doNotTouch/**/*.java" > classpathref="path.classpath" > > > I am disapointed, > > > Rob van Oostrum wrote: > >> make sure you only include the sources you want to compile in the . >> Better yet, make sure you exclude **/doNotTouch/**/*.java >> >> Include the doNotTouch class files in the classpath. >> >> that should solve your problem >> >> Cyriaque Dupoirieux wrote: >> >>> Hello, >>> >>> I'm new on this list and I have to say that english is not my first >>> language... >>> >>> Well, we've got a problem of re-compilation of files that have not >>> been excluded. >>> >>> We use the following task : >>> >>> >>> >> destdir="codes" >>> includes="paquetage/**" >>> /> >>> >>> >>> Our directory organisation is like this : >>> sources/projet/... (*.java) >>> sources/doNotTouch/... (*.java) >>> >>> codes/projet/... (*.class) >>> codes/doNotTouch/... (*.class) >>> >>> Some classes from the project package inherits a class from the >>> doNotTouch package, >>> and even if we haven't included the doNotTouch package, ant compile >>> some classes of this package. >>> >>> What can I do, I can't modify the doNotTouch package because it is not >>> of my own and I must not >>> compile it because it gives me some problems... >>> >>> Thank you for your help, >>> >>> -- >>> Cyriaque Dupoirieux >>> PCO Technologies >>> Burolines - 2 ter rue Marcel Doret >>> 31700 Blagnac >>> T�l : 05 34 60 44 13 - Fax : 05 34 60 44 10 >> -- Cyriaque Dupoirieux PCO Technologies Burolines - 2 ter rue Marcel Doret 31700 Blagnac T�l : 05 34 60 44 13 - Fax : 05 34 60 44 10