Problems building commons-email.jar file

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems building commons-email.jar file

Flatoff Allan
Hello,

I'm interested in using the commons email package but I'm having
difficulty producing a JAR file.

I've tried using javac and jar utilites but I'm having problems
compiling all of the java files.

I've installed maven and using this as it was recommended for the
project but I encounter errors.

Can someone please send me a compiled and packaged commons-email.jar
file or

Give me some pointers for packaging my own jar from the source in CVS?

Thanks!

Here is the maven error that I am receiving:

 Volume in drive C has no label.
 Volume Serial Number is 5411-00F9

 Directory of C:\commons-email

05/27/2005  10:07a      <DIR>          .
05/27/2005  10:07a      <DIR>          ..
05/27/2005  04:46a                 128 build.properties
05/27/2005  04:46a               7,062 build.xml
05/27/2005  10:07a      <DIR>          conf
05/27/2005  04:46a              11,358 LICENSE.txt
05/27/2005  04:46a               2,239 maven.xml
05/27/2005  04:46a                 101 NOTICE.txt
05/27/2005  04:46a               1,732 project.properties
05/27/2005  04:46a               7,044 project.xml
05/27/2005  04:46a               1,326 README.txt
05/27/2005  10:34a      <DIR>          src
05/27/2005  04:46a               3,437 STATUS.html
05/27/2005  10:07a      <DIR>          xdocs
               9 File(s)         34,427 bytes
               5 Dir(s)   3,645,779,968 bytes free

C:\commons-email>"C:\Program Files\Apache Software Foundation\Maven
1.0.2\bin\maven.bat"
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Attempting to download commons-lang-2.0.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.0.jar]:
java.io.IOException: Unknown error downloading; status code was
: 302
WARNING: Failed to download commons-lang-2.0.jar.
Attempting to download javamail-1.3.2.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/javamail/jars/javamail-1.3.2.jar]:
java.io.IOException: Unknown error downloading; status code was: 302
WARNING: Failed to download javamail-1.3.2.jar.
Attempting to download activation-1.0.2.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/activation/jars/activation-1.0.2.jar]:
java.io.IOException: Unknown error downloading; status code was:
302
WARNING: Failed to download activation-1.0.2.jar.
Attempting to download dumbster-1.5.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/dumbster/jars/dumbster-1.5.jar]:
java.io.IOException: Unknown error downloading; status code was: 302
WARNING: Failed to download dumbster-1.5.jar.
The build cannot continue because of the following unsatisfied
dependencies:

commons-lang-2.0.jar (try downloading from
http://jakarta.apache.org/commons/lang.html)
javamail-1.3.2.jar (try downloading from
http://java.sun.com/products/javamail/)
activation-1.0.2.jar (try downloading from
http://java.sun.com/products/javabeans/glasgow/jaf.html)
dumbster-1.5.jar

Total time: 3 seconds
Finished at: Thu Jun 02 09:30:56 CDT 2005


This e-mail is confidential.  If you are not the intended recipient, you must not disclose or use the information contained in it.  If you have received this e-mail in error, please tell us immediately by return e-mail to [hidden email] and delete the document.

E-mails containing unprofessional, discourteous or offensive remarks violate Sentry policy. You may report employee violations by forwarding the message to [hidden email].

No recipient may use the information in this e-mail in violation of any civil or criminal statute. Sentry disclaims all liability for any unauthorized uses of this e-mail or its contents.

This e-mail constitutes neither an offer nor an acceptance of any offer. No contract may be entered into by a Sentry employee without express approval from an authorized Sentry manager.

Warning: Computer viruses can be transmitted via e-mail. Sentry accepts no liability or responsibility for any damage caused by any virus transmitted with this e-mail.

Reply | Threaded
Open this post in threaded view
|

Re: Problems building commons-email.jar file

Simon Kitching
On Thu, 2005-06-02 at 09:39 -0500, Flatoff Allan wrote:
> Give me some pointers for packaging my own jar from the source in CVS?

Manually download the jars that maven is unable to automatically
download, put them in the maven repository directory, then run maven
again.

I don't use windows but according to the maven install documentation,
maven's jar repository can be found at:
 %HOMEDRIVE%%HOMEPATH%\.maven\repository

I suspect that you're at some corporate and a firewall is preventing
maven from downloading these files.

Regards,

Simon



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Problems building commons-email.jar file

Flatoff Allan
In reply to this post by Flatoff Allan
Simon, Thanks for the tip,

I manually downloaded all of the jar files and found where I could put
them in the
Maven repository.

The only ones that are giving me trouble now are the ones below.

I don't see a place for them in the repository.

I tried putting them into maven's LIB directory but they still aren't
recognized.

Any ideas?


C:\commons-email>"C:\Program Files\Apache Software Foundation\Maven
1.0.2\bin\maven.bat"
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Attempting to download commons-jelly-tags-jsl-20030211.143151.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-jsl-
20030211.143151.jar]: java.io.IOException: Unknown error downl
oading; status code was: 302
WARNING: Failed to download commons-jelly-tags-jsl-20030211.143151.jar.
Attempting to download commons-jelly-tags-log-20030211.142821.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-log-
20030211.142821.jar]: java.io.IOException: Unknown error downl
oading; status code was: 302
WARNING: Failed to download commons-jelly-tags-log-20030211.142821.jar.
Attempting to download commons-jelly-tags-velocity-20030303.205659.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-velo
city-20030303.205659.jar]: java.io.IOException: Unknown error
downloading; status code was: 302
WARNING: Failed to download
commons-jelly-tags-velocity-20030303.205659.jar.
Attempting to download commons-jelly-tags-xml-20040613.030723.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-xml-
20040613.030723.jar]: java.io.IOException: Unknown error downl
oading; status code was: 302
WARNING: Failed to download commons-jelly-tags-xml-20040613.030723.jar.
The build cannot continue because of the following unsatisfied
dependencies:

commons-jelly-tags-jsl-20030211.143151.jar
commons-jelly-tags-log-20030211.142821.jar
commons-jelly-tags-velocity-20030303.205659.jar
commons-jelly-tags-xml-20040613.030723.jar (try downloading from
http://jakarta.apache.org/commons/jelly/libs/xml/)

Total time: 4 seconds
Finished at: Fri Jun 03 10:20:42 CDT 2005

-----Original Message-----
From: Simon Kitching [mailto:[hidden email]]
Sent: Thursday, June 02, 2005 6:42 PM
To: Jakarta Commons Users List
Subject: Re: Problems building commons-email.jar file

On Thu, 2005-06-02 at 09:39 -0500, Flatoff Allan wrote:
> Give me some pointers for packaging my own jar from the source in CVS?

Manually download the jars that maven is unable to automatically
download, put them in the maven repository directory, then run maven
again.

I don't use windows but according to the maven install documentation,
maven's jar repository can be found at:
 %HOMEDRIVE%%HOMEPATH%\.maven\repository

I suspect that you're at some corporate and a firewall is preventing
maven from downloading these files.

Regards,

Simon



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



This e-mail is confidential.  If you are not the intended recipient, you must not disclose or use the information contained in it.  If you have received this e-mail in error, please tell us immediately by return e-mail to [hidden email] and delete the document.

E-mails containing unprofessional, discourteous or offensive remarks violate Sentry policy. You may report employee violations by forwarding the message to [hidden email].

No recipient may use the information in this e-mail in violation of any civil or criminal statute. Sentry disclaims all liability for any unauthorized uses of this e-mail or its contents.

This e-mail constitutes neither an offer nor an acceptance of any offer. No contract may be entered into by a Sentry employee without express approval from an authorized Sentry manager.

Warning: Computer viruses can be transmitted via e-mail. Sentry accepts no liability or responsibility for any damage caused by any virus transmitted with this e-mail.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]