You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "C. Grobmeier" <gr...@possessed.de> on 2006/02/28 10:54:09 UTC

[email] ant dist fails / dependencies not found

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

> ant dist

fails, cause the dependencies cannot be found.

http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
...

brought an I/O Exception, trying to download this from a browser show a
404. Are there any other archives or who does maintain this ibiblio.org
site?

An apache-depencies-host would be great, i guess...

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

iD8DBQFEBB3Bkv8rKBUE/T4RAp9+AJsEL8PS+t/tY2sWS8A6GTJ5ZNq1kQCfSf/E
rMgf/hCLYoaFEMpvW0ZrlNs=
=cEZa
-----END PGP SIGNATURE-----

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


Re: [email] ant dist fails / dependencies not found

Posted by Henri Yandell <fl...@gmail.com>.
On 3/2/06, C. Grobmeier <gr...@possessed.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> >> Dion Gillard wrote:
> >>> The javamail jars cannot be distributed by themselves as they are licensed
> >>> under the Sun Binary Code License.
>
> > How about building against the Geronimo versions?
> > http://www.ibiblio.org/maven/geronimo-spec/jars/geronimo-spec-activation-1.0.2-rc4.jar
> > http://www.ibiblio.org/maven/geronimo-spec/jars/geronimo-spec-javamail-1.3.1-rc5.jar
>
> sorry for my asking again, but why is it a problem to keep javamail-jars
> for Commons Mail but not for having jars for geronimo? Couldn't we have
> something like: commons-javamail-1.3.1.jar?
>
> - - Chris.

The geronimo spec jars are clean-room implementations of the Sun
libraries; rather than copies for Geronimo use. So they're not
encumbered by baroque licensing conditions.

Really need to make a Jakarta page that lists the various open spec
implementations at the ASF (and elsewhere) so we can get off the BCL
licensed crap.

Hen

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


Re: [email] ant dist fails / dependencies not found

Posted by "C. Grobmeier" <gr...@possessed.de>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> Dion Gillard wrote:
>>> The javamail jars cannot be distributed by themselves as they are licensed
>>> under the Sun Binary Code License.

> How about building against the Geronimo versions?
> http://www.ibiblio.org/maven/geronimo-spec/jars/geronimo-spec-activation-1.0.2-rc4.jar
> http://www.ibiblio.org/maven/geronimo-spec/jars/geronimo-spec-javamail-1.3.1-rc5.jar

sorry for my asking again, but why is it a problem to keep javamail-jars
for Commons Mail but not for having jars for geronimo? Couldn't we have
something like: commons-javamail-1.3.1.jar?

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

iD8DBQFEBsOlkv8rKBUE/T4RAlhzAJ4iVPd226qY34lUhFP4VGB+XIWlNwCfRars
zOuAadap5XT5xNoHpAkGXY4=
=1izm
-----END PGP SIGNATURE-----

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


Re: [email] ant dist fails / dependencies not found

Posted by Henri Yandell <fl...@gmail.com>.
On 2/28/06, C. Grobmeier <gr...@possessed.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Dion Gillard wrote:
> > The javamail jars cannot be distributed by themselves as they are licensed
> > under the Sun Binary Code License.
> >
> > I thought the generated ant build.xml would allow you to specify an
> > alternate location of javamail.jar as a a property?
> >
> > is this not working?
>
> I got Dumbster, but not these two:
>
> * http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
> * http://www.ibiblio.org/maven/activation/jars/activation-1.0.2.jar

How about building against the Geronimo versions?

http://www.ibiblio.org/maven/geronimo-spec/jars/geronimo-spec-activation-1.0.2-rc4.jar
http://www.ibiblio.org/maven/geronimo-spec/jars/geronimo-spec-javamail-1.3.1-rc5.jar

Hen

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


Re: [email] ant dist fails / dependencies not found

Posted by "C. Grobmeier" <gr...@possessed.de>.
-----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


Re: [email] ant dist fails / dependencies not found

Posted by Dennis Lundberg <de...@apache.org>.
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


Re: [email] ant dist fails / dependencies not found

Posted by Dion Gillard <di...@gmail.com>.
I'll test this as well.

I thought just the file name would work, but will verify the URL approach as
well.

On 3/1/06, matthew.hawthorne <ma...@apache.org> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>


--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris

Re: [email] ant dist fails / dependencies not found

Posted by "matthew.hawthorne" <ma...@apache.org>.
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

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


Re: [email] ant dist fails / dependencies not found

Posted by "C. Grobmeier" <gr...@possessed.de>.
-----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.

I downloaded the distributions manually and will copy it to the place it
have to be, but this is not comfortable.

Does maven work with this?

Chris.


> On 2/28/06, C. Grobmeier <gr...@possessed.de> wrote:
> Dion Gillard wrote:
>>>> The javamail jars cannot be distributed by themselves as they are
> licensed
>>>> under the Sun Binary Code License.
>>>>
>>>> I thought the generated ant build.xml would allow you to specify an
>>>> alternate location of javamail.jar as a a property?
>>>>
>>>> is this not working?
> I got Dumbster, but not these two:
> 
> * http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
> * http://www.ibiblio.org/maven/activation/jars/activation-1.0.2.jar
> 
> The location is "hard"-coded in the <get/> Tag.
> Problem is before downloading you have to accept the terms. I think it
> would be better to kick off these <get/> Tags and tell the user he has
> to download these apis manually.
> 
> How is this solved with maven? I guess this will result in an error too.
> 
> Regards,
> Chris
> 
>>>> On 2/28/06, C. Grobmeier <gr...@possessed.de> wrote:
>>>> Hello,
>>>>
>>>>>>> ant dist
>>>> fails, cause the dependencies cannot be found.
>>>>
>>>> http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
>>>> http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
>>>> ...
>>>>
>>>> brought an I/O Exception, trying to download this from a browser show a
>>>> 404. Are there any other archives or who does maintain this ibiblio.org
>>>> site?
>>>>
>>>> An apache-depencies-host would be great, i guess...
>>>>
>>>> Regards,
>>>> Chris
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>>>>
>>>> --
>>>> http://www.multitask.com.au/people/dion/
>>>> Chuck Norris sleeps with a night light. Not because Chuck Norris is
> afraid
>>>> of the dark, but because the dark is afraid of Chuck Norris
> 
>>
- ---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>
>>

> --
> http://www.multitask.com.au/people/dion/
> Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
> of the dark, but because the dark is afraid of Chuck Norris


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

iD8DBQFEBEdmkv8rKBUE/T4RAtmKAJ0RQbTpSA2FgZyR1cfrethb6a1o4ACgiSCb
LC3oBaGCZDTKWWlB3JIMBLg=
=0b7x
-----END PGP SIGNATURE-----

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


Re: [email] ant dist fails / dependencies not found

Posted by Dion Gillard <di...@gmail.com>.
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

On 2/28/06, C. Grobmeier <gr...@possessed.de> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Dion Gillard wrote:
> > The javamail jars cannot be distributed by themselves as they are
> licensed
> > under the Sun Binary Code License.
> >
> > I thought the generated ant build.xml would allow you to specify an
> > alternate location of javamail.jar as a a property?
> >
> > is this not working?
>
> I got Dumbster, but not these two:
>
> * http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
> * http://www.ibiblio.org/maven/activation/jars/activation-1.0.2.jar
>
> The location is "hard"-coded in the <get/> Tag.
> Problem is before downloading you have to accept the terms. I think it
> would be better to kick off these <get/> Tags and tell the user he has
> to download these apis manually.
>
> How is this solved with maven? I guess this will result in an error too.
>
> Regards,
> Chris
>
> >
> > On 2/28/06, C. Grobmeier <gr...@possessed.de> wrote:
> > Hello,
> >
> >>>> ant dist
> > fails, cause the dependencies cannot be found.
> >
> > http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
> > http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
> > ...
> >
> > brought an I/O Exception, trying to download this from a browser show a
> > 404. Are there any other archives or who does maintain this ibiblio.org
> > site?
> >
> > An apache-depencies-host would be great, i guess...
> >
> > Regards,
> > Chris
> >>
> - ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >>
> >>
>
> > --
> > http://www.multitask.com.au/people/dion/
> > Chuck Norris sleeps with a night light. Not because Chuck Norris is
> afraid
> > of the dark, but because the dark is afraid of Chuck Norris
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.1 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEBDHukv8rKBUE/T4RApQIAJ9D4h0gNoV3nOrhkE+SFFcbXlcl+gCfbq3I
> zNU5CSsxE6fxg1TDI6NXRoo=
> =ziSf
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>


--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris

Re: [email] ant dist fails / dependencies not found

Posted by "C. Grobmeier" <gr...@possessed.de>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dion Gillard wrote:
> The javamail jars cannot be distributed by themselves as they are licensed
> under the Sun Binary Code License.
> 
> I thought the generated ant build.xml would allow you to specify an
> alternate location of javamail.jar as a a property?
> 
> is this not working?

I got Dumbster, but not these two:

* http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
* http://www.ibiblio.org/maven/activation/jars/activation-1.0.2.jar

The location is "hard"-coded in the <get/> Tag.
Problem is before downloading you have to accept the terms. I think it
would be better to kick off these <get/> Tags and tell the user he has
to download these apis manually.

How is this solved with maven? I guess this will result in an error too.

Regards,
Chris

> 
> On 2/28/06, C. Grobmeier <gr...@possessed.de> wrote:
> Hello,
> 
>>>> ant dist
> fails, cause the dependencies cannot be found.
> 
> http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
> http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
> ...
> 
> brought an I/O Exception, trying to download this from a browser show a
> 404. Are there any other archives or who does maintain this ibiblio.org
> site?
> 
> An apache-depencies-host would be great, i guess...
> 
> Regards,
> Chris
>>
- ---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>
>>

> --
> http://www.multitask.com.au/people/dion/
> Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
> of the dark, but because the dark is afraid of Chuck Norris


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

iD8DBQFEBDHukv8rKBUE/T4RApQIAJ9D4h0gNoV3nOrhkE+SFFcbXlcl+gCfbq3I
zNU5CSsxE6fxg1TDI6NXRoo=
=ziSf
-----END PGP SIGNATURE-----

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


Re: [email] ant dist fails / dependencies not found

Posted by Dion Gillard <di...@gmail.com>.
The javamail jars cannot be distributed by themselves as they are licensed
under the Sun Binary Code License.

I thought the generated ant build.xml would allow you to specify an
alternate location of javamail.jar as a a property?

is this not working?

On 2/28/06, C. Grobmeier <gr...@possessed.de> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> > ant dist
>
> fails, cause the dependencies cannot be found.
>
> http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
> http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.3.jar
> ...
>
> brought an I/O Exception, trying to download this from a browser show a
> 404. Are there any other archives or who does maintain this ibiblio.org
> site?
>
> An apache-depencies-host would be great, i guess...
>
> Regards,
> Chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.1 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEBB3Bkv8rKBUE/T4RAp9+AJsEL8PS+t/tY2sWS8A6GTJ5ZNq1kQCfSf/E
> rMgf/hCLYoaFEMpvW0ZrlNs=
> =cEZa
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>


--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris