ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lopez, William" <william.lo...@eds.com>
Subject RE: <depend> help
Date Mon, 25 Aug 2003 22:29:19 GMT
I'll try using the destDir attribute but I thought the classpath element
instructed depend on where to look for classes. The directory where the
dependencies.txt should reside is already there...it always exist...we do
incremental builds so a directory structure is always in place and populate
with files.

Thanks,
-Will

-----Original Message-----
From: Rutger Hofman [mailto:rutger@cs.vu.nl] 
Sent: Tuesday, August 26, 2003 1:10 AM
To: Ant Users List
Subject: Re: <depend> help


It seems a separate destDir attribute is required,
which would imply a <depend> task for each of the roots
of the classpath.

Another silly question: do you
<mkdir ${build.base}/depend/combodependcache ?

Rutger

Lopez, William wrote:
> ...no one has nibbled on my plea for help...let me try explaining my 
> problem another way (less wordy :-)...I changed my target:
> 
> <target name="dependCheck">
>      <depend srcdir="${src.base}"
>              cache="${build.base}/depend/combodependcache"
>              closure="yes">
>        <include name="BatchJobs/**/*.java"/>
>        <include name="BillReview/**/*.java"/>
>        <include name="RulesEngine/**/*.java"/>
>        <include name="BillReviewEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewBERefEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewBillEventEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewBillServicesEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewHistoryEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewLMClaimEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewClaimEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewOrganizationEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewProviderEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewRefEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewSecurityEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewServiceTransferEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewWorkAssignmentEJS/ejbModule/**/*.java"/>
>        <include name="BillReviewXMLEJS/ejbModule/**/*.java"/>
>        <include name="Servlet/**/*.java"/>
>        <excludesfile name="${build.base}/depend/depend_excludes"/>
>        <classpath>
>          <path refid="classpath.depend"/>
>        </classpath>
>      </depend>
>   </target>
> 
> I am still getting the same results: No dependency file is created, 
> thus no dependent classes deleted.
> 
> dependCheck:
>    [depend] Deleted 0 out of date files in 0 seconds
> 
> ...the class directories mimic the source...
> <path id="classpath.depend">
>      <pathelement location="${bo.build.dir}"/>
>      <pathelement location="${ejb.build.dir}/BillReviewEJS/bin"/>
>      ...
>   </path>
> 
> Any ideas? Thanks.
> -Will
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message