commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C. Grobmeier" <grobme...@possessed.de>
Subject Re: [email] ant dist fails / dependencies not found
Date Wed, 01 Mar 2006 09:22:56 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you. I think i will document this in the build-file and sent it to
you soon for a possible "patch". I really don't like build-files with
comments :-)

- - Chris

Dennis Lundberg wrote:
> 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
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEBWfwkv8rKBUE/T4RAmzsAJ9oofxjkPYNiGXEVmZcNnxwXZ1URwCggl0D
DI+QDjtSbcXLrdod9HUV/4I=
=i4Xc
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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