commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <denn...@apache.org>
Subject Re: [email] ant dist fails / dependencies not found
Date Tue, 28 Feb 2006 21:21:24 GMT
matthew.hawthorne wrote:
> C. Grobmeier wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Dion Gillard wrote:
>>> If you define a property (in build.properties)
>>> javamail.jar=c:/myjars/javamail-1.3.3.ar
>>> AFAIK,
>>> the build.xml will notice this and copy it into ./lib
>>
>> No,
>> this doesn't work as expected. Cause the build-file works with get, i 
>> get:
>>
>> BUILD FAILED
>> C:\Data\Projects\commons-email\build.xml:211:
>> java.net.MalformedURLException: no protocol:
>> /Data/java-repository/javamail-1.3.3_01/mail.jar
>>
>> when i use slashes, backslashes, double-backslashes, C:, c: and so on.
> 
> 
> You may want to try the 'file' protocol, like this:
> 
> file:///Data/java-repository/javamail-1.3.3_01/mail.jar

Matthew is correct, you need to use a correctly formated URL. Here's an 
example for a Windows machine:

activation.jar=file://C:/myjars/activation.jar
javamail.jar=file://C:/myjars/mail.jar


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message