ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tsm...@netscape.net (Thomas Lionel SMETS)
Subject Re: Jdepend cannot find a directory
Date Thu, 20 Nov 2003 10:10:33 GMT
peter reilly <peter.reilly@corvil.com> wrote:

>What is the definition of "jdepend.lib.dir"
>(It seems to contain an space at the end)
>

Hey that was the problem...
Hence another question :
I use "property-files" to store all my directories, flags & specific files... & I
did not noticed that the line had trailing spaces. 

Annoying in this case !

Tx very much for your help Peter !

\T,


>
>Also (but not relevant to the problem):
>
>1) there is no need to have the pathelement in the path.
>2) the taskdef should not have both name and resource attributes. The
>   resource attribute is all that is required and (hopefully) the name
>   attribute will be ignored.
>3) ant already has an optional jdepend task, you should just
>   be able to drop the jdepend.jar into $ANT_HOME/lib directory
>   and be able to use it.
>Peter
>
>On Thursday 20 November 2003 09:44, tsmets@netscape.net wrote:
>> I have the following definition in my Build.xml that raises worries.
>>
>>     <path id="jdepend.classpath" >
>>         <pathelement location="${jdepend.lib.dir}"/>
>>             <fileset dir="${jdepend.lib.dir}">
>>                 <include name="*.jar"/>
>>         </fileset>
>>     </path>
>>
>>     <taskdef name="jdepend"
>>              classpathref="jdepend.classpath"
>>              resource="jdepend.properties"/>
>>
>>
>>
>> Apparently, the path is an issue while if I echo the variables used I get
>> the following : [echo]             jdepend.dir                    
=
>> C:\Data\PRJ_JAVA_MAIN\PRJ_JAVA\PRJ\script\jdepend [echo]            
>> jdepend.lib.dir                 =
>> C:\Data\PRJ_JAVA_MAIN\PRJ_JAVA\PRJ\script\jdepend\lib
>>
>> The full trace is in attachement...
>>
>> Can some one help ... ?
>>
>> \T,
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
 
Thomas SMETS 
rue J. Wytsmanstraat 62
1050 Brussels


__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

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


Mime
View raw message