Re: jakarta/apache email subscription

2007-07-19 Thread Dion Gillard

Look at the headers of the email messages you receive and check out the

Return-Path:

line. That should tell you which address was used to subscribe to the
mailing list, and hence help you unsubscribe.



On 7/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


I'm tired of getting all these emails and cannot get unsubscribed from
this list!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


[daemon] Fwd: Compiling jsvc Win32

2007-07-08 Thread Dion Gillard

The lack of response on this:

http://mail-archives.apache.org/mod_mbox/jakarta-commons-user/200707.mbox/ajax/[EMAIL
 PROTECTED]

is telling.

How dormant is daemon?

-- Forwarded message --
From: JsD [EMAIL PROTECTED]
Date: Jul 9, 2007 12:09 PM
Subject: Re: Compiling jsvc Win32
To: [EMAIL PROTECTED]

After finding out that one must have the latest version of Visual Studio to
build, I decided to look for another route.

Finally I found JavaService (
http://forge.objectweb.org/projects/javaservice/). This project comes
pre-built and works like a charm. I strongly suggest this for those who do
not wish to purchase or use Visual Studio.

Cheers,
JsD

On 5/3/07, JsD [EMAIL PROTECTED] wrote:


On 4/28/07, JsD [EMAIL PROTECTED] wrote:

 Hello,

 I am trying to compile from source on Windows XP using Cygwin.

 I have installed the latest make, autoconf, gcc in cygwin environment.

 The configure runs fine.

 When I try to make I get the following:

 /cygdrive/c/_other/_s/java/daemon-1.0.1/src/native/unix
 $ make
 make -C native all
 make[1]: Entering directory `/cygdrive/c/_other/_s/java/daemon-1.0.1
 /src/native/unix/native'
 gcc -g -O2 -DOS_CYGWIN -DDSO_DLFCN -DNO_SETSID -DCPU=\i386\
 -I/cygdrive/c/jdk1.5.0_11/include

-I/cygdrive/c/jdk1.5.0_11/include/win32

 -Wall -Wstrict-prototypes -c jsvc-unix.c -o jsvc-unix.o
 jsvc-unix.c:229: warning: function declaration isn't a prototype
 jsvc-unix.c: In function `check_pid':
 jsvc-unix.c:279: warning: implicit declaration of function `lockf'
 jsvc-unix.c:279: error: `F_LOCK' undeclared (first use in this function)
 jsvc-unix.c:279: error: (Each undeclared identifier is reported only
 once
 jsvc-unix.c:279: error: for each function it appears in.)
 jsvc-unix.c :286: error: `F_ULOCK' undeclared (first use in this
 function)
 jsvc-unix.c: In function `get_pidf':
 jsvc-unix.c:321: error: `F_LOCK' undeclared (first use in this function)
 jsvc-unix.c:323: error: `F_ULOCK' undeclared (first use in this
 function)
 jsvc-unix.c: In function `wait_child':
 jsvc-unix.c:405: error: `F_LOCK' undeclared (first use in this function)
 jsvc-unix.c:407: error: `F_ULOCK' undeclared (first use in this
 function)
 jsvc-unix.c : In function `main':
 jsvc-unix.c:693: warning: implicit declaration of function `SetTerm'
 make[1]: *** [jsvc-unix.o] Error 1
 make[1]: Leaving directory `/cygdrive/c/_other/_s/java/daemon-1.0.1

/src/native/unix/native'


 make: *** [native/all] Error 2
 ~end~

 Any help is greatly appreciated. I would love to run this on *nix but I
 am unfortunately stuck with windoze at this point :(

 Thanks,
 JsD


Following up...

Are there any *detailed* instructions out there on how to build jsvc on
Win32?

Any help is appreciated.

JsD




--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


Re: [daemon] Fwd: Compiling jsvc Win32

2007-07-08 Thread Dion Gillard

Who else from daemon should be on the PMC?

On 7/9/07, Bill Barker [EMAIL PROTECTED] wrote:



Dion Gillard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 The lack of response on this:


http://mail-archives.apache.org/mod_mbox/jakarta-commons-user/200707.mbox/ajax/[EMAIL
 PROTECTED]

 is telling.

 How dormant is daemon?


Using jsvc on Windows has never been supported.  The jsvc module is only
for
*nix systems.  Windows systems should use procrun.

Daemon is fairly mature, but not particularly dormant.  It gets commits
every few months.  It could use some more eyes for systems like OS/X, but
otherwise is relatively healthy for a commons project, aside from not
having
much PMC representation.

 -- Forwarded message --
 From: JsD [EMAIL PROTECTED]
 Date: Jul 9, 2007 12:09 PM
 Subject: Re: Compiling jsvc Win32
 To: [EMAIL PROTECTED]

 After finding out that one must have the latest version of Visual Studio
 to
 build, I decided to look for another route.

 Finally I found JavaService (
 http://forge.objectweb.org/projects/javaservice/). This project comes
 pre-built and works like a charm. I strongly suggest this for those who
do
 not wish to purchase or use Visual Studio.

 Cheers,
 JsD

 On 5/3/07, JsD [EMAIL PROTECTED] wrote:

 On 4/28/07, JsD [EMAIL PROTECTED] wrote:
 
  Hello,
 
  I am trying to compile from source on Windows XP using Cygwin.
 
  I have installed the latest make, autoconf, gcc in cygwin
environment.
 
  The configure runs fine.
 
  When I try to make I get the following:
 
  /cygdrive/c/_other/_s/java/daemon-1.0.1/src/native/unix
  $ make
  make -C native all
  make[1]: Entering directory `/cygdrive/c/_other/_s/java/daemon-1.0.1
  /src/native/unix/native'
  gcc -g -O2 -DOS_CYGWIN -DDSO_DLFCN -DNO_SETSID -DCPU=\i386\
  -I/cygdrive/c/jdk1.5.0_11/include
 -I/cygdrive/c/jdk1.5.0_11/include/win32
  -Wall -Wstrict-prototypes -c jsvc-unix.c -o jsvc-unix.o
  jsvc-unix.c:229: warning: function declaration isn't a prototype
  jsvc-unix.c: In function `check_pid':
  jsvc-unix.c:279: warning: implicit declaration of function `lockf'
  jsvc-unix.c:279: error: `F_LOCK' undeclared (first use in this
  function)
  jsvc-unix.c:279: error: (Each undeclared identifier is reported only
  once
  jsvc-unix.c:279: error: for each function it appears in.)
  jsvc-unix.c :286: error: `F_ULOCK' undeclared (first use in this
  function)
  jsvc-unix.c: In function `get_pidf':
  jsvc-unix.c:321: error: `F_LOCK' undeclared (first use in this
  function)
  jsvc-unix.c:323: error: `F_ULOCK' undeclared (first use in this
  function)
  jsvc-unix.c: In function `wait_child':
  jsvc-unix.c:405: error: `F_LOCK' undeclared (first use in this
  function)
  jsvc-unix.c:407: error: `F_ULOCK' undeclared (first use in this
  function)
  jsvc-unix.c : In function `main':
  jsvc-unix.c:693: warning: implicit declaration of function `SetTerm'
  make[1]: *** [jsvc-unix.o] Error 1
  make[1]: Leaving directory `/cygdrive/c/_other/_s/java/daemon-1.0.1
 /src/native/unix/native'
 
  make: *** [native/all] Error 2
  ~end~
 
  Any help is greatly appreciated. I would love to run this on *nix but
I
  am unfortunately stuck with windoze at this point :(
 
  Thanks,
  JsD
 

 Following up...

 Are there any *detailed* instructions out there on how to build jsvc on
 Win32?

 Any help is appreciated.

 JsD



 --
 dIon Gillard
 Rule #131 of Acquisition: Information is Profit.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


Re: [VOTE] Release CLI 1.1 (3rd RC)

2007-07-06 Thread Dion Gillard

I think I +1'd this last time, but just in case:

+1.

On 7/5/07, Henri Yandell [EMAIL PROTECTED] wrote:


I've updated the release notes to match the website page:

http://people.apache.org/~bayard/commons-cli/1.0-rc3/

with the site in:

http://people.apache.org/~bayard/commons-cli/1.0-rc3/site/

One quirk to note. The site is from trunk while the release is from
the 1.0.x branch.

[ ] +1, before 6 years since 1.0 arrives
[ ] -1, we can make 6 years

---

The only changes to svn are Rahul's NOTICE fix for our TLP change and
my updating the RELEASE-NOTES.txt with the latest information. So I
plan to consider any existing +1s for the RC2 as applying to this (ie:
Don't revote unless you want to).

Hen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


Re: infrastructure work for TLP move

2007-07-02 Thread Dion Gillard

I'll heartily second Paul's request, he's an integral part of the Jelly
team.

On 7/2/07, Paul Libbrecht [EMAIL PROTECTED] wrote:


Hello Torsten,

indeed... I just wanted to avoid making noise there... but in any
case... I might be out of the two years window but I would wish to
keep jelly committership, my ASF user-name is polx.

I would also favour splitting the lists so that commits and jira
mails come separately but we need to care that they are properly
advertised and that it is indicated on dev and users that such mails
are elsewhere.

Also be sure that announces of such (mail-list splitting,
committership overtake, ...) is announced as a separate mail... such
long threads as this one needs more hand-pealing.

thanks

paul


Le 1 juil. 07 à 02:32, Torsten Curdt a écrit :

 I think it's clear that old committers can get back access at any
 time. That's for sure.
 But could you bring this up on commons-dev? We probably should send
 around an announcement for that.

 cheers
 --
 Torsten

 On 28.06.2007, at 00:31, Paul Libbrecht wrote:

 if I dare request, I would prefer to keep committership even
 though my activities haven't been greatly active in jelly.
 Similarly, I think, for Peter Royal.

 paul



 Le 27 juin 07 à 17:52, Torsten Curdt a écrit :

 I've prepared the TODO for the infrastructure work. Please cross-
 check and give feedback. I am not sure how we want to handle the
 wiki migration.

 cheers

 --
 The board has agreed to create the Commons project. (Please note
 that there has been a previous commons TLP)

 To aid in the process, would the Infrastructure team please do
 the following:

 #===

 [1] Root Tasks

 Create unix group commons. If it already exists remove previous
 members.

 Add following usernames to group commons:

 bayard
 jochen
 imario
 scolebourne
 dennisl
 niallp
 mvdb
 ozeigermann
 joehni
 oheger
 mbenson
 martinc
 psteitz
 tcurdt
 dfs
 rwinston
 luc
 pietsch
 dion
 brentworden
 skitching
 rahul

 Verify that domain commons.apache.org is correctly setup.


 #===
 [1] Mailing List

 (i) addresses

 I. [EMAIL PROTECTED]

 * Henri Yandell[EMAIL PROTECTED]
 * Jochen Wiedmann  [EMAIL PROTECTED]
 * Mario Ivankovits [EMAIL PROTECTED]
 * Stephen Colebourne   [EMAIL PROTECTED]
 * Dennis Lundberg  [EMAIL PROTECTED]
 * Niall Pemberton  [EMAIL PROTECTED]
 * Martin van den Bemt  [EMAIL PROTECTED]
 * Oliver Zeigermann[EMAIL PROTECTED]
 * Jörg Schaible[EMAIL PROTECTED]
 * Oliver Heger [EMAIL PROTECTED]
 * Matt Benson  [EMAIL PROTECTED]
 * Martin Cooper[EMAIL PROTECTED]
 * Phil Steitz  [EMAIL PROTECTED]
 * Torsten Curdt[EMAIL PROTECTED]
 * Daniel Savarese  [EMAIL PROTECTED]
 * Rory Winston [EMAIL PROTECTED]
 * Luc Maisonobe[EMAIL PROTECTED]
 * Joerg Pietschmann[EMAIL PROTECTED]
 * Dion Gillard [EMAIL PROTECTED]
 * Brent Worden [EMAIL PROTECTED]
 * Simon Kitching   [EMAIL PROTECTED]
 * Rahul Akolkar[EMAIL PROTECTED]


II. [EMAIL PROTECTED]  migrate subscribers from  commons-
 [EMAIL PROTECTED]
   III. [EMAIL PROTECTED]  migrate subscribers from  commons-
 [EMAIL PROTECTED]
 NOTE: if possible forward [EMAIL PROTECTED] to
 [EMAIL PROTECTED]

 (ii) remote moderators ...

   As this is a migration of the mailing list the current
 moderators will take over on the different domain.

 (iii) archives

I. http://commons.apache.org/mail/commons/user/MM.gz
   II. http://commons.apache.org/mail/commons/dev/MM.gz
 III. [EMAIL PROTECTED] to be archived in the private area.

 (iv) options

I. Reply-To: Header [X] yes [ ] no
   II. Message Trailer  [X] yes [ ] no

 #===
 [2] Source Control

 (i) Subversion

 Move the existing jakarta/commons tree to TLP

 #===
 [3] Initial Committer list

 bayard
 jochen
 imario
 scolebourne
 dennisl
 niallp
 mvdb
 ozeigermann
 joehni
 oheger
 mbenson
 martinc
 psteitz
 tcurdt
 dfs
 rwinston
 luc
 pietsch
 dion
 brentworden
 skitching
 rahul

 #===
 [4] Wiki

 (i) Wiki pages need to be migrated

 http://wiki.apache.org/jakarta-commons/FrontPage

 This can be done by the community itself.

 #===
 [5] Bug tracking

 (i) Project URLs need to be migrated

 This can be done by the community itself.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail

Re: [VOTE] Release CLI 1.1 (RC2)

2007-07-02 Thread Dion Gillard

+1. Looks good.

On 7/1/07, Henri Yandell [EMAIL PROTECTED] wrote:


I believe the RC1 issues have been taken care of, so here goes with a
second try:

http://people.apache.org/~bayard/commons-cli/1.0-rc2/

with the site in:

http://people.apache.org/~bayard/commons-cli/1.0-rc2/site/

One quirk to note. The site is from trunk while the release is from
the 1.0.x branch.

[ ] +1, before 6 years since 1.0 arrives
[ ] -1, we can make 6 years


Hen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


Re: [VOTE] 4th attempt: Release commons-io 1.3.2

2007-07-01 Thread Dion Gillard

+1 from me.

On 6/27/07, Jochen Wiedmann [EMAIL PROTECTED] wrote:


Hi,

I have prepared a further release candidate, with the following changes:

- Deprecation tags have been removed from the FileCleaner. (In the 1.3
branch only,
  not in the trunk.) The discussion has clearly shown, that opinions
vary on this
  topic, nevertheless I feel forced to make that change against my
personal opinion.
  IMO, releasing a 1.4 release with as little changes as that would be
the greater
  evil.
- The extracted source distribution is now using the -src suffix.
- The .md5 and .sha1 files meet the commons standard and have the format
 checksum *filename

Please cast your vote.

Thanks,

Jochen

[ ] +1
[ ] =0
[ ] -1



--
Besides, manipulating elections is under penalty of law, resulting in
a preventative effect against manipulating elections.

The german government justifying the use of electronic voting machines
and obviously  believing that we don't need a police, because all
illegal actions are forbidden.

http://dip.bundestag.de/btd/16/051/1605194.pdf

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


Re: [VOTE] Invite Simon Kitching to join the Apache Commons PMC

2007-06-21 Thread Dion Gillard

+1

On 6/22/07, Niall Pemberton [EMAIL PROTECTED] wrote:


Simon Kitching is an existing Jakarta PMC member and Commons
Committer. He was against the proposal for Commons to become a TLP.
Since that vote passed and the Apache Board has now passed the
resolution for Commons to become a TLP I would like to invite Simon to
join the new Apache Commons PMC.

It would be a tragedy IMO if we lose valuable members of the Commons
Community just because they were originally against the TLP proposal.

[ ] +1, don't let Simon get away - lets try to get him to join the new PMC
[ ] -1, no leave him out

Niall

P.S. Anyone else in the same situation, then I suggest we do the same

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


Re: [VOTE] Invite Rahul Akolkar to join the Apache Commons PMC

2007-06-21 Thread Dion Gillard

+1

On 6/22/07, Niall Pemberton [EMAIL PROTECTED] wrote:


Rahul Akolkar is an existing Jakarta PMC member and Commons Committer.
He was against the proposal for Commons to become a TLP. Since that
vote passed and the Apache Board has now passed the resolution for
Commons to become a TLP I would like to invite Rahul to join the new
Apache Commons PMC.

It would be a tragedy IMO if we lose valuable members of the Commons
Community just because they were originally against the TLP proposal.

[ ] +1, don't let Rahul get away - lets try to get him to join the new PMC
[ ] -1, no leave him out

Niall

P.S. Anyone else in the same situation, then I suggest we do the same

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


Re: [VOTE] Commons Modeler 2.0.1 RC2

2007-06-21 Thread Dion Gillard

+1

On 6/22/07, Niall Pemberton [EMAIL PROTECTED] wrote:


I have created a second release candidate for Modeler 2.0.1 following
the problem Phil found in the first RC.

Commons Modeler 2.0 didn't include the ant.properties file in the
jar which is causing problems in Tomcat. Modeler 2.0.1 is a minor bug
fix release fully backwards compatible to fix that issue and a few
other build problems - full details in the release notes.

Release Notes:
http://people.apache.org/~niallp/modeler-2.0.1-rc2/RELEASE-NOTES.txt

The artifacts being voted on are here:
http://people.apache.org/~niallp/modeler-2.0.1-rc2/

Site:
http://people.apache.org/~niallp/modeler-2.0.1-rc2/site/

RAT Report:

http://people.apache.org/~niallp/modeler-2.0.1-rc2/rat-commons-modeler-2.0.1-src.txt

[ ] +1
[ ] -1

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-06-20 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 2 projects,
 and has been outstanding for 25 runs.
The current state of this project is 'Failed', with reason 'Missing Build 
Outputs'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-20062007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/profiles.xml
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/pom.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed with reason missing build outputs
 -ERROR- Missing Output: 
/usr/local/gump/public/workspace/jakarta-commons/email/target/commons-email-20062007.jar
 -ERROR- See Directory Listing Work for Missing Outputs
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Success
Elapsed: 31 secs
Command Line: mvn package 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-20062007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/jakarta-commons/email/lib/subethasmtp-smtp-1.2-java14.jar:/usr/local/gump/public/workspace/jakarta-commons/email/lib/subethasmtp-wiser-1.2-java14.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-20062007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-20062007.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.0-FCS/jaxen-1.0-FCS.jar
2/187K
5/187K
7/187K
8/187K
11/187K
15/187K
19/187K
23/187K
27/187K
28/187K
29/187K
33/187K
37/187K
41/187K
45/187K
49/187K
53/187K
57/187K
60/187K
62/187K
66/187K
70/187K
74/187K
78/187K
82/187K
86/187K
90/187K
94/187K
98/187K
101/187K
105/187K
109/187K
113/187K
117/187K
121/187K
125/187K
129/187K
133/187K
137/187K
141/187K
145/187K
148/187K
152/187K
156/187K
160/187K
164/187K
168/187K
172/187K
176/187K
180/187K
184/187K
185/187K
187/187K
187K downloaded
Downloading: 
http://repo1.maven.org/maven2/saxpath/saxpath/1.0-FCS/saxpath-1.0-FCS.jar
1/23K
2/23K
4/23K
5/23K
9/23K
11/23K
15/23K
19/23K
23/23K
23K downloaded
Downloading: http://repo1.maven.org/maven2/msv/msv/20020414/msv-20020414.jar
2/1133K
5/1133K
7/1133K
11/1133K
11/1133K
15/1133K
15/1133K
16/1133K
20/1133K
24/1133K
26/1133K
30/1133K
34/1133K
38/1133K
42/1133K
46/1133K
49/1133K
53/1133K
57/1133K
61/1133K
65/1133K
69/1133K
73/1133K
77/1133K
81/1133K
85/1133K
86/1133K
90/1133K
94/1133K
98/1133K
102/1133K
106/1133K
110/1133K
114/1133K
118/1133K
122/1133K
126/1133K
128/1133K
132/1133K
136/1133K
140/1133K
144/1133K
148/1133K
152/1133K
156/1133K
160/1133K
164/1133K
168/1133K
172/1133K
176/1133K
180/1133K
181/1133K
185/1133K
189/1133K
193/1133K
197/1133K
197/1133K
200/1133K
202/1133K
206/1133K
210/1133K
214/1133K
218/1133K
222/1133K
226/1133K
230/1133K
234/1133K
234/1133K
237/1133K
241/1133K
245/1133K
249/1133K
253/1133K
257/1133K
261/1133K
263/1133K
267/1133K
271/1133K
275/1133K
279/1133K

[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-06-20 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 2 projects,
 and has been outstanding for 25 runs.
The current state of this project is 'Failed', with reason 'Missing Build 
Outputs'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-20062007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/profiles.xml
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/pom.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed with reason missing build outputs
 -ERROR- Missing Output: 
/usr/local/gump/public/workspace/jakarta-commons/email/target/commons-email-20062007.jar
 -ERROR- See Directory Listing Work for Missing Outputs
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Success
Elapsed: 31 secs
Command Line: mvn package 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-20062007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/jakarta-commons/email/lib/subethasmtp-smtp-1.2-java14.jar:/usr/local/gump/public/workspace/jakarta-commons/email/lib/subethasmtp-wiser-1.2-java14.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-20062007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-20062007.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.0-FCS/jaxen-1.0-FCS.jar
2/187K
5/187K
7/187K
8/187K
11/187K
15/187K
19/187K
23/187K
27/187K
28/187K
29/187K
33/187K
37/187K
41/187K
45/187K
49/187K
53/187K
57/187K
60/187K
62/187K
66/187K
70/187K
74/187K
78/187K
82/187K
86/187K
90/187K
94/187K
98/187K
101/187K
105/187K
109/187K
113/187K
117/187K
121/187K
125/187K
129/187K
133/187K
137/187K
141/187K
145/187K
148/187K
152/187K
156/187K
160/187K
164/187K
168/187K
172/187K
176/187K
180/187K
184/187K
185/187K
187/187K
187K downloaded
Downloading: 
http://repo1.maven.org/maven2/saxpath/saxpath/1.0-FCS/saxpath-1.0-FCS.jar
1/23K
2/23K
4/23K
5/23K
9/23K
11/23K
15/23K
19/23K
23/23K
23K downloaded
Downloading: http://repo1.maven.org/maven2/msv/msv/20020414/msv-20020414.jar
2/1133K
5/1133K
7/1133K
11/1133K
11/1133K
15/1133K
15/1133K
16/1133K
20/1133K
24/1133K
26/1133K
30/1133K
34/1133K
38/1133K
42/1133K
46/1133K
49/1133K
53/1133K
57/1133K
61/1133K
65/1133K
69/1133K
73/1133K
77/1133K
81/1133K
85/1133K
86/1133K
90/1133K
94/1133K
98/1133K
102/1133K
106/1133K
110/1133K
114/1133K
118/1133K
122/1133K
126/1133K
128/1133K
132/1133K
136/1133K
140/1133K
144/1133K
148/1133K
152/1133K
156/1133K
160/1133K
164/1133K
168/1133K
172/1133K
176/1133K
180/1133K
181/1133K
185/1133K
189/1133K
193/1133K
197/1133K
197/1133K
200/1133K
202/1133K
206/1133K
210/1133K
214/1133K
218/1133K
222/1133K
226/1133K
230/1133K
234/1133K
234/1133K
237/1133K
241/1133K
245/1133K
249/1133K
253/1133K
257/1133K
261/1133K
263/1133K
267/1133K
271/1133K
275/1133K
279/1133K

Re: Email Maven 2 Build failing under jdk 1.4?

2007-06-19 Thread Dion Gillard

On 6/19/07, Ben Speakmon [EMAIL PROTECTED] wrote:


Couple of things going on. The Maven 2 POM has wiser-java14 depending on
subethasmtp-java15, which is bad. I excluded it manually and got the
java14
version explicitly. The POM is also missing the runtime dependency on
retrotranslator for the java14 artifact, so I explicitly depended on that
as
well. Then the maven 2 build finally ran okay start to finish. I just
checked in that change and that should be okay.

maven 1 has its own problem. repo1.maven.org/maven/org.subethamail only
provides the default (java15) versions of subethamail and wiser. No idea
why
the source, javadoc or java14 jars aren't there. Also not sure who to ask
about that.

Did I mention I want to get rid of the maven 1 build? :)




As long as the mvn build works (i.e. builds the jar ok on jdk 1.2), feel
free to delete the project.xml :-)

On 6/18/07, Dion Gillard [EMAIL PROTECTED] wrote:


 And the maven 1 build is still failing with the corresponding message.
 Does
 the project.xml need a change too?

 On 6/19/07, Ben Speakmon [EMAIL PROTECTED] wrote:
 
  It's not picking up the java14 classifier on subethasmtp-smtp.
 Apparently
  the classifier doesn't propagate to the parent. I really need to get
in
  the
  habit of removing my repository before signing off a pom.
 
  Fix checked in.
 
  On 6/18/07, Dion Gillard [EMAIL PROTECTED] wrote:
  
   Is this right?
  
   When running mvn clean install on the current email trunk, I get:
  
   [INFO] Compilation failure
   C:\Documents and Settings\Dion
  
  
 

Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
   cannot access org.subethamail.smtp.server.SMTPServer
   bad class file: C:\Documents and Settings\Dion
  
 

Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
   mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
   class file has wrong version 49.0, should be 48.0
  
  
  
   C:\Documents and Settings\Dion
  
  
 

Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
   cannot access org.subethamail.smtp.server.SMTPServer
   bad class file: C:\Documents and Settings\Dion
  
 

Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
   mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
   class file has wrong version 49.0, should be 48.0
  
  
   Which means it can only build with 1.5. Is there some magic command
   line trickery I need to get it to build under 1.4?
  
   --
   dIon Gillard
   Rule #131 of Acquisition: Information is Profit.
  
  
-
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 



 --
 dIon Gillard
 Rule #131 of Acquisition: Information is Profit.






--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


Re: Email Maven 2 Build failing under jdk 1.4?

2007-06-19 Thread Dion Gillard

mvn clean install now works for me!

On 6/19/07, Ben Speakmon [EMAIL PROTECTED] wrote:

Couple of things going on. The Maven 2 POM has wiser-java14 depending on
subethasmtp-java15, which is bad. I excluded it manually and got the java14
version explicitly. The POM is also missing the runtime dependency on
retrotranslator for the java14 artifact, so I explicitly depended on that as
well. Then the maven 2 build finally ran okay start to finish. I just
checked in that change and that should be okay.

maven 1 has its own problem. repo1.maven.org/maven/org.subethamail only
provides the default (java15) versions of subethamail and wiser. No idea why
the source, javadoc or java14 jars aren't there. Also not sure who to ask
about that.

Did I mention I want to get rid of the maven 1 build? :)

On 6/18/07, Dion Gillard [EMAIL PROTECTED] wrote:

 And the maven 1 build is still failing with the corresponding message.
 Does
 the project.xml need a change too?

 On 6/19/07, Ben Speakmon [EMAIL PROTECTED] wrote:
 
  It's not picking up the java14 classifier on subethasmtp-smtp.
 Apparently
  the classifier doesn't propagate to the parent. I really need to get in
  the
  habit of removing my repository before signing off a pom.
 
  Fix checked in.
 
  On 6/18/07, Dion Gillard [EMAIL PROTECTED] wrote:
  
   Is this right?
  
   When running mvn clean install on the current email trunk, I get:
  
   [INFO] Compilation failure
   C:\Documents and Settings\Dion
  
  
 
 
Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
   cannot access org.subethamail.smtp.server.SMTPServer
   bad class file: C:\Documents and Settings\Dion
  
 
 Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
   mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
   class file has wrong version 49.0, should be 48.0
  
  
  
   C:\Documents and Settings\Dion
  
  
 
 
Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
   cannot access org.subethamail.smtp.server.SMTPServer
   bad class file: C:\Documents and Settings\Dion
  
 
 Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
   mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
   class file has wrong version 49.0, should be 48.0
  
  
   Which means it can only build with 1.5. Is there some magic command
   line trickery I need to get it to build under 1.4?
  
   --
   dIon Gillard
   Rule #131 of Acquisition: Information is Profit.
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 



 --
 dIon Gillard
 Rule #131 of Acquisition: Information is Profit.





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [RESULT] 3rd attempt: Release commons-io 1.3.2

2007-06-19 Thread Dion Gillard

I believe you're right.

http://jakarta.apache.org/site/proposal.html#decisions/items/plan says
...Majority
approval is required before the public release can be made.


On 6/20/07, Jochen Wiedmann [EMAIL PROTECTED] wrote:


Hi,

Here's the result of the vote:

+1: Sebb, Oliver, Niall, Ben, Myself
-1: Stephen

No votes from Henri and Dion.

My understanding is, that Stephen's vote isn't counted as a veto, but
I'd like to ask you to correct me, if I'm wrong. In which case the
vote had failed.

Thanks,

Jochen


--
Besides, manipulating elections is under penalty of law, resulting in
a preventative effect against manipulating elections.

The german government justifying the use of electronic voting machines
and obviously  believing that we don't need a police, because all
illegal actions are forbidden.

http://dip.bundestag.de/btd/16/051/1605194.pdf

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


svn commit: r548229 - in /jakarta/commons/proper/jexl/trunk/src: java/org/apache/commons/jexl/ java/org/apache/commons/jexl/parser/ java/org/apache/commons/jexl/util/introspection/ test/org/apache/com

2007-06-18 Thread dion
Author: dion
Date: Sun Jun 17 23:11:32 2007
New Revision: 548229

URL: http://svn.apache.org/viewvc?view=revrev=548229
Log:
checkstyle issues

Modified:

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ExpressionFactory.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ScriptFactory.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTArrayAccess.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTIdentifier.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTIntegerLiteral.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTMapEntry.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTMapLiteral.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTSizeFunction.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTSizeMethod.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ParseException.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/Parser.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ParserTokenManager.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/SimpleNode.java

jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/util/introspection/VelPropertyGet.java

jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/JexlTest.java

jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/ParseFailuresTest.java

Modified: 
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ExpressionFactory.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ExpressionFactory.java?view=diffrev=548229r1=548228r2=548229
==
--- 
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ExpressionFactory.java
 (original)
+++ 
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ExpressionFactory.java
 Sun Jun 17 23:11:32 2007
@@ -66,7 +66,7 @@
  * When parsing expressions, ExpressionFactory synchronizes on Parser.
  */
 protected final Parser parser =
-new Parser(new StringReader(;) ); //$NON-NLS-1$
+new Parser(new StringReader(;)); //$NON-NLS-1$
 
 /**
  * ExpressionFactory is a singleton and this is the private
@@ -82,8 +82,12 @@
 this(Introspector.getUberspect());
 }
 
-public ExpressionFactory( Uberspect uberspect ) {
-parser.setUberspect( uberspect );
+/**
+ * Creates an expression factory using the provided [EMAIL PROTECTED] 
Uberspect}.
+ * @param uberspect to allow different introspection behaviour
+ */
+public ExpressionFactory(Uberspect uberspect) {
+parser.setUberspect(uberspect);
 }
 
 /**

Modified: 
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ScriptFactory.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ScriptFactory.java?view=diffrev=548229r1=548228r2=548229
==
--- 
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ScriptFactory.java
 (original)
+++ 
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ScriptFactory.java
 Sun Jun 17 23:11:32 2007
@@ -77,11 +77,11 @@
  * with a call to getInstance().
  */
 private ScriptFactory() {
-this( Introspector.getUberspect());
+this(Introspector.getUberspect());
 }
 
-public ScriptFactory( Uberspect uberspect ) {
-parser.setUberspect( uberspect );
+public ScriptFactory(Uberspect uberspect) {
+parser.setUberspect(uberspect);
 }
 
 /**

Modified: 
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTArrayAccess.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTArrayAccess.java?view=diffrev=548229r1=548228r2=548229
==
--- 
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTArrayAccess.java
 (original)
+++ 
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTArrayAccess.java
 Sun Jun 17 23:11:32 2007
@@ -89,7 +89,7 @@
 return null;
 }
 
-result = evaluateExpr(result, loc, getUberspect() );
+result = evaluateExpr(result, loc, getUberspect());
 }
 
 return result;
@@ -115,7 +115,7 @@
 return null;
 }
 
-o = evaluateExpr(o, loc, getUberspect() );
+o

svn commit: r548590 - /jakarta/commons/proper/email/trunk/

2007-06-18 Thread dion
Author: dion
Date: Mon Jun 18 22:07:37 2007
New Revision: 548590

URL: http://svn.apache.org/viewvc?view=revrev=548590
Log:
ignore eclipse settings folder

Modified:
jakarta/commons/proper/email/trunk/   (props changed)

Propchange: jakarta/commons/proper/email/trunk/
--
--- svn:ignore (original)
+++ svn:ignore Mon Jun 18 22:07:37 2007
@@ -1,3 +1,4 @@
+
 *~
 .nbattrs
 docs
@@ -15,3 +16,4 @@
 junit*.properties
 dist
 cobertura.ser
+.settings



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r548591 - /jakarta/commons/proper/email/trunk/

2007-06-18 Thread dion
Author: dion
Date: Mon Jun 18 22:09:32 2007
New Revision: 548591

URL: http://svn.apache.org/viewvc?view=revrev=548591
Log:
fix svn:ignore format

Modified:
jakarta/commons/proper/email/trunk/   (props changed)

Propchange: jakarta/commons/proper/email/trunk/
--
--- svn:ignore (original)
+++ svn:ignore Mon Jun 18 22:09:32 2007
@@ -1,19 +1,18 @@
-
-*~
-.nbattrs
-docs
-target
-test-reports
-velocity.log*
-maven.log
-bin
-.classpath
-.project
-build.properties
-jcoverage.ser
-target2
-target3
-junit*.properties
-dist
-cobertura.ser
-.settings
+*~
+.nbattrs
+docs
+target
+test-reports
+velocity.log*
+maven.log
+bin
+.classpath
+.project
+build.properties
+jcoverage.ser
+target2
+target3
+junit*.properties
+dist
+cobertura.ser
+.settings



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Email Maven 2 Build failing under jdk 1.4?

2007-06-18 Thread Dion Gillard

Is this right?

When running mvn clean install on the current email trunk, I get:

[INFO] Compilation failure
C:\Documents and Settings\Dion
Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
cannot access org.subethamail.smtp.server.SMTPServer
bad class file: C:\Documents and Settings\Dion
Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
class file has wrong version 49.0, should be 48.0



C:\Documents and Settings\Dion
Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
cannot access org.subethamail.smtp.server.SMTPServer
bad class file: C:\Documents and Settings\Dion
Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
class file has wrong version 49.0, should be 48.0


Which means it can only build with 1.5. Is there some magic command
line trickery I need to get it to build under 1.4?

--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Email Maven 2 Build failing under jdk 1.4?

2007-06-18 Thread Dion Gillard

It's still failing.

Did you miss the classification for subethasmtp-smtp-1.2.jar?

On 6/19/07, Ben Speakmon [EMAIL PROTECTED] wrote:


It's not picking up the java14 classifier on subethasmtp-smtp. Apparently
the classifier doesn't propagate to the parent. I really need to get in
the
habit of removing my repository before signing off a pom.

Fix checked in.

On 6/18/07, Dion Gillard [EMAIL PROTECTED] wrote:

 Is this right?

 When running mvn clean install on the current email trunk, I get:

 [INFO] Compilation failure
 C:\Documents and Settings\Dion


Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
 cannot access org.subethamail.smtp.server.SMTPServer
 bad class file: C:\Documents and Settings\Dion

Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
 mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
 class file has wrong version 49.0, should be 48.0



 C:\Documents and Settings\Dion


Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
 cannot access org.subethamail.smtp.server.SMTPServer
 bad class file: C:\Documents and Settings\Dion

Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
 mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
 class file has wrong version 49.0, should be 48.0


 Which means it can only build with 1.5. Is there some magic command
 line trickery I need to get it to build under 1.4?

 --
 dIon Gillard
 Rule #131 of Acquisition: Information is Profit.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]







--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


Re: Email Maven 2 Build failing under jdk 1.4?

2007-06-18 Thread Dion Gillard

And the maven 1 build is still failing with the corresponding message. Does
the project.xml need a change too?

On 6/19/07, Ben Speakmon [EMAIL PROTECTED] wrote:


It's not picking up the java14 classifier on subethasmtp-smtp. Apparently
the classifier doesn't propagate to the parent. I really need to get in
the
habit of removing my repository before signing off a pom.

Fix checked in.

On 6/18/07, Dion Gillard [EMAIL PROTECTED] wrote:

 Is this right?

 When running mvn clean install on the current email trunk, I get:

 [INFO] Compilation failure
 C:\Documents and Settings\Dion


Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
 cannot access org.subethamail.smtp.server.SMTPServer
 bad class file: C:\Documents and Settings\Dion

Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
 mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
 class file has wrong version 49.0, should be 48.0



 C:\Documents and Settings\Dion


Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
 cannot access org.subethamail.smtp.server.SMTPServer
 bad class file: C:\Documents and Settings\Dion

Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
 mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
 class file has wrong version 49.0, should be 48.0


 Which means it can only build with 1.5. Is there some magic command
 line trickery I need to get it to build under 1.4?

 --
 dIon Gillard
 Rule #131 of Acquisition: Information is Profit.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]







--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


Re: svn commit: r548162 - in /jakarta/commons/proper/email/trunk/lib: ./ subethasmtp-smtp-1.2-java14.jar subethasmtp-wiser-1.2-java14.jar

2007-06-17 Thread Dion Gillard

Hi Ben,

it may be worthwhile making this log message a README in the lib directory,
so that the information is easy to find.

WDYT?

On 6/18/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Author: bspeakmon
Date: Sun Jun 17 18:47:48 2007
New Revision: 548162

URL: http://svn.apache.org/viewvc?view=revrev=548162
Log:
- adding subethasmtp/wiser dependencies (only for gump's convenience;
won't be distributed)

Added:
jakarta/commons/proper/email/trunk/lib/
jakarta/commons/proper/email/trunk/lib/subethasmtp-smtp-1.2-java14.jar
(with props)
jakarta/commons/proper/email/trunk/lib/subethasmtp-
wiser-1.2-java14.jar   (with props)

Added: jakarta/commons/proper/email/trunk/lib/subethasmtp-
smtp-1.2-java14.jar
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/lib/subethasmtp-smtp-1.2-java14.jar?view=autorev=548162

==
Binary file - no diff available.

Propchange: jakarta/commons/proper/email/trunk/lib/subethasmtp-
smtp-1.2-java14.jar

--
svn:mime-type = application/octet-stream

Added: jakarta/commons/proper/email/trunk/lib/subethasmtp-
wiser-1.2-java14.jar
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/lib/subethasmtp-wiser-1.2-java14.jar?view=autorev=548162

==
Binary file - no diff available.

Propchange: jakarta/commons/proper/email/trunk/lib/subethasmtp-
wiser-1.2-java14.jar

--
svn:mime-type = application/octet-stream



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-06-16 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 2 projects,
 and has been outstanding for 21 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-16062007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-16062007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-16062007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-16062007.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

The build cannot continue because of the following unsatisfied dependencies:

subethasmtp-wiser-1.2.jar (try downloading from 
http://subethasmtp.tigris.org/wiser.html)
subethasmtp-smtp-1.2.jar (try downloading from http://subethasmtp.tigris.org/)

Total time: 2 seconds
Finished at: Sat Jun 16 02:46:52 PDT 2007

-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.3.
Gump Run 1516062007, vmgump.apache.org:vmgump-public:1516062007
Gump E-mail Identifier (unique within run) #22.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-06-16 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 2 projects,
 and has been outstanding for 21 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-16062007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-16062007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-16062007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-16062007.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

The build cannot continue because of the following unsatisfied dependencies:

subethasmtp-wiser-1.2.jar (try downloading from 
http://subethasmtp.tigris.org/wiser.html)
subethasmtp-smtp-1.2.jar (try downloading from http://subethasmtp.tigris.org/)

Total time: 2 seconds
Finished at: Sat Jun 16 02:46:52 PDT 2007

-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.3.
Gump Run 1516062007, vmgump.apache.org:vmgump-public:1516062007
Gump E-mail Identifier (unique within run) #22.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-06-15 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 2 projects,
 and has been outstanding for 19 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-15062007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-15062007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-15062007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-15062007.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

The build cannot continue because of the following unsatisfied dependencies:

subethasmtp-wiser-1.2.jar (try downloading from 
http://subethasmtp.tigris.org/wiser.html)
subethasmtp-smtp-1.2.jar (try downloading from http://subethasmtp.tigris.org/)

Total time: 2 seconds
Finished at: Fri Jun 15 03:35:02 PDT 2007

-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.3.
Gump Run 1615062007, vmgump.apache.org:vmgump-public:1615062007
Gump E-mail Identifier (unique within run) #24.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-06-15 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 2 projects,
 and has been outstanding for 19 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-15062007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-15062007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-15062007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-15062007.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

The build cannot continue because of the following unsatisfied dependencies:

subethasmtp-wiser-1.2.jar (try downloading from 
http://subethasmtp.tigris.org/wiser.html)
subethasmtp-smtp-1.2.jar (try downloading from http://subethasmtp.tigris.org/)

Total time: 2 seconds
Finished at: Fri Jun 15 03:35:02 PDT 2007

-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.3.
Gump Run 1615062007, vmgump.apache.org:vmgump-public:1615062007
Gump E-mail Identifier (unique within run) #24.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-06-14 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 4 projects,
 and has been outstanding for 17 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework
- jakarta-turbine-2 :  A servlet based framework.
- portals-jetspeed-1 :  Enterprise Information Portal


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-14062007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 7 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-14062007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

The build cannot continue because of the following unsatisfied dependencies:

subethasmtp-wiser-1.2.jar (try downloading from 
http://subethasmtp.tigris.org/wiser.html)
subethasmtp-smtp-1.2.jar (try downloading from http://subethasmtp.tigris.org/)
commons-logging-1.1.jar (try downloading from 
http://jakarta.apache.org/commons/logging/)

Total time: 5 seconds
Finished at: Thu Jun 14 02:06:44 PDT 2007

-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.3.
Gump Run 1814062007, vmgump.apache.org:vmgump-public:1814062007
Gump E-mail Identifier (unique within run) #17.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-06-14 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 4 projects,
 and has been outstanding for 17 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework
- jakarta-turbine-2 :  A servlet based framework.
- portals-jetspeed-1 :  Enterprise Information Portal


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-14062007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 7 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-14062007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

The build cannot continue because of the following unsatisfied dependencies:

subethasmtp-wiser-1.2.jar (try downloading from 
http://subethasmtp.tigris.org/wiser.html)
subethasmtp-smtp-1.2.jar (try downloading from http://subethasmtp.tigris.org/)
commons-logging-1.1.jar (try downloading from 
http://jakarta.apache.org/commons/logging/)

Total time: 5 seconds
Finished at: Thu Jun 14 02:06:44 PDT 2007

-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.3.
Gump Run 1814062007, vmgump.apache.org:vmgump-public:1814062007
Gump E-mail Identifier (unique within run) #17.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] 3rd attempt: Release commons-io 1.3.2

2007-06-12 Thread Dion Gillard

The deployed site below still says Validator as the title. Is this fixed?

On 6/7/07, Jochen Wiedmann [EMAIL PROTECTED] wrote:


Hi,

I have created a new distribution and a new site which you find at

http://people.apache.org/~jochen/commons-io/dist
http://people.apache.org/~jochen/commons-io/site

This version matches revision 544971, which I intend to tag as
commons-io-1.3.2 in case of a successful vote. Compared to the
previous vote, the following changes have been made:

  - Rahul Akolkar has convinced me, that the FileCleaningTracker should
not be
declared serializable, because it isn't. The resulting issues must
be resolved
within commons-fileupload and not commons-io.
  - As observed by Niall Pemberton, the -sources and -javadoc jar files
did not
contain LICENSE.txt and NOTICE.txt files. This is now ensured by the
POM.
It is an open issue for me, whether this change can be pushed up to
the
commons-parent POM.

Please cast your vote.

Jochen


[ ] +1
[ ] =0
[ ] -1


--
Women have the ability to wind you round their little finger.
Daughters can use all of the fingers together.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


Re: centralized KEYS file?

2007-06-12 Thread Dion Gillard

Go for it!

On 6/13/07, Ben Speakmon [EMAIL PROTECTED] wrote:

Would it be a good idea to have one centralized KEYS file for all commons
developers? It'd be easier to update, delete or revoke any single key and
remove a lot of duplication.

I was reviewing the IO 1.3.2 RC and I couldn't find the key Jochen used to
sign the release tarballs. I don't see any reason offhand why it shouldn't
be in the same place as the keys to verify any other release.

Thoughts?




--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Still no votes! (WAS: [VOTE] 3rd attempt: Release commons-io 1.3.2)

2007-06-12 Thread Dion Gillard

There are still unanswered questions on the original thread (from memory):
- KEYS used to sign the release
- Site title
- Deprecation of FileCleaner

Will you/we answer these?


On 6/13/07, Jochen Wiedmann [EMAIL PROTECTED] wrote:


We still do not have the required three votes by PMC members for a
release. See


http://www.nabble.com/-VOTE--3rd-attempt:-Release-commons-io-1.3.2-t3880798.html

for details.


Jochen

--
Besides, manipulating elections is under penalty of law, resulting in
a preventative effect against manipulating elections.

The german government justifying the use of electronic voting machines
and obviously  believing that we don't need a police, because all
illegal actions are forbidden.

http://dip.bundestag.de/btd/16/051/1605194.pdf

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.


[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-06-10 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 4 projects,
 and has been outstanding for 8 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework
- jakarta-turbine-2 :  A servlet based framework.
- portals-jetspeed-1 :  Enterprise Information Portal


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-10062007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-10062007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

The build cannot continue because of the following unsatisfied dependencies:

subethasmtp-wiser-1.2.jar (try downloading from 
http://subethasmtp.tigris.org/wiser.html)
subethasmtp-smtp-1.2.jar (try downloading from http://subethasmtp.tigris.org/)
commons-logging-1.1.jar (try downloading from 
http://jakarta.apache.org/commons/logging/)

Total time: 3 seconds
Finished at: Sun Jun 10 01:56:00 PDT 2007

-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.3.
Gump Run 1710062007, vmgump.apache.org:vmgump-public:1710062007
Gump E-mail Identifier (unique within run) #18.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-06-10 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 4 projects,
 and has been outstanding for 8 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework
- jakarta-turbine-2 :  A servlet based framework.
- portals-jetspeed-1 :  Enterprise Information Portal


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-10062007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-10062007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

The build cannot continue because of the following unsatisfied dependencies:

subethasmtp-wiser-1.2.jar (try downloading from 
http://subethasmtp.tigris.org/wiser.html)
subethasmtp-smtp-1.2.jar (try downloading from http://subethasmtp.tigris.org/)
commons-logging-1.1.jar (try downloading from 
http://jakarta.apache.org/commons/logging/)

Total time: 3 seconds
Finished at: Sun Jun 10 01:56:00 PDT 2007

-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.3.
Gump Run 1710062007, vmgump.apache.org:vmgump-public:1710062007
Gump E-mail Identifier (unique within run) #18.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-06-06 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 4 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework
- jakarta-turbine-2 :  A servlet based framework.
- portals-jetspeed-1 :  Enterprise Information Portal


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-06062007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-06062007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

The build cannot continue because of the following unsatisfied dependencies:

subethasmtp-wiser-jdk14-1.2.jar (try downloading from 
http://subethasmtp.tigris.org/wiser.html)
subethasmtp-smtp-jdk14-1.2.jar (try downloading from 
http://subethasmtp.tigris.org/)
retroweaver-rt-2.0.jar
commons-logging-1.1.jar (try downloading from 
http://jakarta.apache.org/commons/logging/)

Total time: 2 seconds
Finished at: Wed Jun 06 02:25:21 PDT 2007

-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.3.
Gump Run 1906062007, vmgump.apache.org:vmgump-public:1906062007
Gump E-mail Identifier (unique within run) #22.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-06-06 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 4 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework
- jakarta-turbine-2 :  A servlet based framework.
- portals-jetspeed-1 :  Enterprise Information Portal


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-06062007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-06062007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

The build cannot continue because of the following unsatisfied dependencies:

subethasmtp-wiser-jdk14-1.2.jar (try downloading from 
http://subethasmtp.tigris.org/wiser.html)
subethasmtp-smtp-jdk14-1.2.jar (try downloading from 
http://subethasmtp.tigris.org/)
retroweaver-rt-2.0.jar
commons-logging-1.1.jar (try downloading from 
http://jakarta.apache.org/commons/logging/)

Total time: 2 seconds
Finished at: Wed Jun 06 02:25:21 PDT 2007

-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.3.
Gump Run 1906062007, vmgump.apache.org:vmgump-public:1906062007
Gump E-mail Identifier (unique within run) #22.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [jexl] grammar for defining a map

2007-06-01 Thread Dion Gillard

+1

On 6/2/07, peter royal [EMAIL PROTECTED] wrote:

So, I'd like to propose a syntax addition to jexl for allowing the
definition of a map:

   [ key = value, key = value ]

.. I have a patch ready to go.. I know there is the talk of grammar
changes for 2.0, but that's who-knows-when and this is a very small
tweak that is an evolutionary change :)

-pete

--
(peter.royal|osi)@pobox.com - http://fotap.org/~osi






--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Commons moving to TLP

2007-05-23 Thread Dion Gillard

On 5/23/07, Niall Pemberton [EMAIL PROTECTED] wrote:

On 5/23/07, Dion Gillard [EMAIL PROTECTED] wrote:
 I think  there's another issue here.

 Many of those who voted +1, aren't on the initial list of committers
 in the proposal.

 Also, many current commons committers aren't on the proposed list.

Yup thats disappointing.


Maybe not all of them follow general@ - I'm crossposting.


 It seems that we're not voting on that specific proposal, rather just
 the idea to move, and that a lot of people are being disenfranchised
 by not being listed.

Its down to people to add themselves to the TLP resolution (they were
invited to do so) - if people are disenfranchised then its their own
choice.


I don't know about that. It seems that a discussion and proposal
taking place on a different list isn't being as inclusive as we should
be.


 Wouldn't it be better if the initial list came from the svn acl?

Would seem wrong to put people on the list without their consent.


It would also seem wrong to 'remove' someone's commit access to the
code by moving it to a TLP without at least keeping the dev list
informed.



Niall

 On 5/23/07, Niall Pemberton [EMAIL PROTECTED] wrote:
  On 5/8/07, Henri Yandell [EMAIL PROTECTED] wrote:
   Sadly a bit too late to make the next board meeting I suspect.
  
   However, here's a vote for Commons to officially request that it move to 
TLP.
  
   http://wiki.apache.org/jakarta-commons/TLPResolution
  
   Please add your name if you're a Commons developer and haven't added
   your name yet.
  
   [ ] +1 I support the proposal
   [ ] +0 I don't care
   [ ] -1  I'm opposed to the proposal because...
  
   Voting will close in one week.
 
  Quick summary of this thread 28 Votes for (23 binding), 4 against (3
  binding). Seems to me that those objecting don't seem to have
  pursuaded people to change their vote. At what point do we decide on a
  result?
 
  Votes +1 (* indicates binding)
  
  1.  Henri Yandell(*)
  2.  Dennis Lundberg(*)
  3.  Mladen Turk(*)
  4.  Torsten Curdt(*)
  5.  Oliver Heger(*)
  6.  Robert Burrell Donkin(*)
  7.  Stephen Colebourne(*)
  8.  Daniel F. Savarese(*)
  9.  Martin Cooper(*)
  10. Mark Thomas(*)
  11. Niall Pemberton(*)
  12. Stefan Bodewig(*)
  13. Phil Steitz(*)
  14. Jörg Schaible(*)
  15. Jean-Frederic(*)
  16. Henning Schmiedehausen(*)
  (conditional on The TLP proposal matching the template)
  17. Nick Burch
  18. Davanum Srinivas(*)
  19. Thomas Vandahl
  20. Oliver Zeigermann(*)
  21. Rony G. Flatscher(*)
  22. Scott Eade(*)
  23. Yegor Kozlov
  24. Luc Maisonobe
  25. Mario Ivankovits(*)
  26. Roland Weber(*)
  27. Andrew Oliver(*)
  (think this was a vote for, voted -1 to Commons=Jakarta)
  28. Jesse Kuhnert
 
  Added themselves to the TLP Proposal but didn't vote(?)
  
  1.  Jochen Wiedmann
  2.  Martin van den Bemt(*)
  3.  Matt Benson
  4.  Rory Winston(*)
  5.  Joerg Pietschmann
 
  Objections / Votes -1
  =
  1.  Petar Tahchiev
  - sees no direct benfits for Commons
  2.  Ted Husted(*)
  - Strike Java from resolution or don't hijack Commons Name
  3.  Simon Kitching(*)
  - Will erect walls we took down
  - like Ted doesn't want java to monopolise commons name
  4.  Danny Angus(*)
  - preserve the Jakarta brand
  - Wants Jkarata==Jakarta Commons
  - thinks Commons should sort out Jakarta problems
 
  Bile  Nonsense
  ===
  Jean Carlo Salas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: RfC: Release commons-io-1.3.2

2007-05-15 Thread Dion Gillard

+1 to the idea. Release early, release often.

On 5/16/07, Jochen Wiedmann [EMAIL PROTECTED] wrote:

Hi,

the commons-io project has been rather silent in the last months,
apart from IO-116. Unfortunately, this bug is a blocker for the next
release of commons-fileupload.

Therefore, I'd like to ask whether anyone would object a bug fix
release 1.3.2? If noone intervenes, I'd start a formal vote, with me
as the release manager.

Thanks,

Jochen

--
My cats know that I am a loser who goes out for hunting every day
without ever returning as much as a single mouse. Fortunately, I've
got a wife who's a real champ: She leaves the house and returns within
half an hour, carrying whole bags full of meal.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-03-01 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 4 projects,
 and has been outstanding for 55 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework
- jakarta-turbine-2 :  A servlet based framework.
- portals-jetspeed-1 :  Enterprise Information Portal


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-01032007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 23 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-01032007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
java:prepare-filesystem:
[mkdir] Created dir: 
/x1/gump/public/workspace/jakarta-commons/email/target/classes

java:compile:
[echo] Compiling to 
/x1/gump/public/workspace/jakarta-commons/email/target/classes
[javac] Compiling 9 source files to 
/x1/gump/public/workspace/jakarta-commons/email/target/classes

java:jar-resources:
Copying 1 file to 
/x1/gump/public/workspace/jakarta-commons/email/target/classes/META-INF

test:prepare-filesystem:
[mkdir] Created dir: 
/x1/gump/public/workspace/jakarta-commons/email/target/test-classes
[mkdir] Created dir: 
/x1/gump/public/workspace/jakarta-commons/email/target/test-reports

test:test-resources:
Copying 4 files to 
/x1/gump/public/workspace/jakarta-commons/email/target/test-classes

test:compile:
[javac] Compiling 15 source files to 
/x1/gump/public/workspace/jakarta-commons/email/target/test-classes

test:test:
[junit] Running org.apache.commons.mail.DefaultAuthenticatorTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.069 sec
[junit] Running org.apache.commons.mail.EmailAttachmentTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.644 sec
[junit] Running org.apache.commons.mail.SimpleEmailTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.979 sec
[junit] Running org.apache.commons.mail.SendWithAttachmentsTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.785 sec
[junit] Running org.apache.commons.mail.EmailTest
[junit] Tests run: 39, Failures: 0, Errors: 5, Time elapsed: 1.059 sec
[junit] [ERROR] TEST org.apache.commons.mail.EmailTest FAILED
[junit] Running org.apache.commons.mail.MultiPartEmailTest
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 1.076 sec
[junit] Running org.apache.commons.mail.HtmlEmailTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.849 sec
[junit] Running 

[EMAIL PROTECTED]: Project commons-email (in module jakarta-commons) failed

2007-03-01 Thread dIon Gillard
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-email has an issue affecting its community integration.
This issue affects 4 projects,
 and has been outstanding for 55 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-email :  Commons Email Package
- fulcrum-template :  Services Framework
- jakarta-turbine-2 :  A servlet based framework.
- portals-jetspeed-1 :  Enterprise Information Portal


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-email-01032007.jar] identifier set to project name
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/jakarta-commons/email/project.properties
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-email/gump_work/build_jakarta-commons_commons-email.html
Work Name: build_jakarta-commons_commons-email (Type: Build)
Work ended in a state of : Failed
Elapsed: 23 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/email]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/commons-lang-01032007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/dumbster/build/dumbster.jar:/usr/local/gump/packages/maven-findbugs-plugin/maven-findbugs-plugin-0.9.1.jar:/usr/local/gump/packages/maven-cobertura-plugin/maven-cobertura-plugin-1.1.jar:/usr/local/gump/packages/jaf-1.1ea/activation.jar:/usr/local/gump/packages/javamail-1.4/mail.jar
-
java:prepare-filesystem:
[mkdir] Created dir: 
/x1/gump/public/workspace/jakarta-commons/email/target/classes

java:compile:
[echo] Compiling to 
/x1/gump/public/workspace/jakarta-commons/email/target/classes
[javac] Compiling 9 source files to 
/x1/gump/public/workspace/jakarta-commons/email/target/classes

java:jar-resources:
Copying 1 file to 
/x1/gump/public/workspace/jakarta-commons/email/target/classes/META-INF

test:prepare-filesystem:
[mkdir] Created dir: 
/x1/gump/public/workspace/jakarta-commons/email/target/test-classes
[mkdir] Created dir: 
/x1/gump/public/workspace/jakarta-commons/email/target/test-reports

test:test-resources:
Copying 4 files to 
/x1/gump/public/workspace/jakarta-commons/email/target/test-classes

test:compile:
[javac] Compiling 15 source files to 
/x1/gump/public/workspace/jakarta-commons/email/target/test-classes

test:test:
[junit] Running org.apache.commons.mail.DefaultAuthenticatorTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.069 sec
[junit] Running org.apache.commons.mail.EmailAttachmentTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.644 sec
[junit] Running org.apache.commons.mail.SimpleEmailTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.979 sec
[junit] Running org.apache.commons.mail.SendWithAttachmentsTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.785 sec
[junit] Running org.apache.commons.mail.EmailTest
[junit] Tests run: 39, Failures: 0, Errors: 5, Time elapsed: 1.059 sec
[junit] [ERROR] TEST org.apache.commons.mail.EmailTest FAILED
[junit] Running org.apache.commons.mail.MultiPartEmailTest
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 1.076 sec
[junit] Running org.apache.commons.mail.HtmlEmailTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.849 sec
[junit] Running 

Re: [nightly build] email failed.

2007-03-01 Thread Dion Gillard

Thanks, I'll check it out. It's bound to be me

On 3/1/07, Phil Steitz [EMAIL PROTECTED] wrote:

Failed build logs:
/20070301/email.log

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
http://www.multitask.com.au/people/dion/
Rule of Acquisition #91: Hear all, trust nothing.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r513307 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java

2007-03-01 Thread dion
Author: dion
Date: Thu Mar  1 05:22:34 2007
New Revision: 513307

URL: http://svn.apache.org/viewvc?view=revrev=513307
Log:
Make tests catch appropriate runtime exception, as the runtime 
IllegalCharsetNameException
is no longer wrapped in an EmailException.

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java?view=diffrev=513307r1=513306r2=513307
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
 Thu Mar  1 05:22:34 2007
@@ -382,10 +382,9 @@
 anotherEmail.setFrom([EMAIL PROTECTED], [EMAIL PROTECTED], 
bad.encoding\uc5ec\n);
 fail(setting invalid charset should have failed!);
 }
-catch (EmailException e)
+catch (IllegalCharsetNameException e)
 {
 // expected runtime exception.
-assertTrue(e.getCause() instanceof IllegalCharsetNameException);
 }
 }
 
@@ -506,10 +505,9 @@
 anotherEmail.addTo([EMAIL PROTECTED], [EMAIL PROTECTED], 
bad.encoding\uc5ec\n);
 fail(setting invalid charset should have failed!);
 }
-catch (EmailException e)
+catch (IllegalCharsetNameException  e)
 {
 // expected runtime exception.
-assertTrue(e.getCause() instanceof IllegalCharsetNameException);
 }
 }
 
@@ -685,10 +683,9 @@
 anotherEmail.addCc([EMAIL PROTECTED], [EMAIL PROTECTED], 
bad.encoding\uc5ec\n);
 fail(setting invalid charset should have failed!);
 }
-catch (EmailException e)
+catch (IllegalCharsetNameException e)
 {
 // expected runtime exception.
-assertTrue(e.getCause() instanceof IllegalCharsetNameException);
 }
 }
 
@@ -860,10 +857,9 @@
 anotherEmail.addBcc([EMAIL PROTECTED], [EMAIL PROTECTED], 
bad.encoding\uc5ec\n);
 fail(setting invalid charset should have failed!);
 }
-catch (EmailException e)
+catch (IllegalCharsetNameException e)
 {
 // expected runtime exception.
-assertTrue(e.getCause() instanceof IllegalCharsetNameException);
 }
 }
 
@@ -1040,10 +1036,9 @@
 anotherEmail.addReplyTo([EMAIL PROTECTED], [EMAIL PROTECTED], 
bad.encoding\uc5ec\n);
 fail(setting invalid charset should have failed!);
 }
-catch (EmailException e)
+catch (IllegalCharsetNameException e)
 {
 // expected runtime exception.
-assertTrue(e.getCause() instanceof IllegalCharsetNameException);
 }
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r513308 - /jakarta/commons/proper/email/trunk/project.properties

2007-03-01 Thread dion
Author: dion
Date: Thu Mar  1 05:23:01 2007
New Revision: 513308

URL: http://svn.apache.org/viewvc?view=revrev=513308
Log:
make sure junit errors come out in the log

Modified:
jakarta/commons/proper/email/trunk/project.properties

Modified: jakarta/commons/proper/email/trunk/project.properties
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/project.properties?view=diffrev=513308r1=513307r2=513308
==
--- jakarta/commons/proper/email/trunk/project.properties (original)
+++ jakarta/commons/proper/email/trunk/project.properties Thu Mar  1 05:23:01 
2007
@@ -60,3 +60,6 @@
 
 # used to ensure the source distribution unpacks into commons-email-VERSION-src
 
maven.dist.src.assembly.dir=${maven.dist.assembly.dir}/src/${maven.final.name}-src
+
+# make sure junit failures are displayed in the log
+maven.junit.usefile=false
\ No newline at end of file



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r513324 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java

2007-03-01 Thread dion
Author: dion
Date: Thu Mar  1 05:58:32 2007
New Revision: 513324

URL: http://svn.apache.org/viewvc?view=revrev=513324
Log:
Import order

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java?view=diffrev=513324r1=513323r2=513324
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java 
(original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java 
Thu Mar  1 05:58:32 2007
@@ -18,7 +18,6 @@
 
 import java.io.UnsupportedEncodingException;
 import java.nio.charset.Charset;
-
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Date;
@@ -28,10 +27,6 @@
 import java.util.Map;
 import java.util.Properties;
 
-import javax.naming.Context;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-
 import javax.mail.Authenticator;
 import javax.mail.Message;
 import javax.mail.MessagingException;
@@ -42,6 +37,9 @@
 import javax.mail.internet.InternetAddress;
 import javax.mail.internet.MimeMessage;
 import javax.mail.internet.MimeMultipart;
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
 
 /**
  * The base class for all email messages.  This class sets the



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r513198 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java

2007-02-28 Thread dion
Author: dion
Date: Wed Feb 28 22:57:27 2007
New Revision: 513198

URL: http://svn.apache.org/viewvc?view=revrev=513198
Log:
findbugs cleanup

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java?view=diffrev=513198r1=513197r2=513198
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
 Wed Feb 28 22:57:27 2007
@@ -299,7 +299,7 @@
 attachment.getDescription(),
 attachment.getDisposition());
 }
-catch (Exception e)
+catch (IOException e)
 {
 throw new EmailException(
 Cannot attach file \ + fileName + \,



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r513206 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java

2007-02-28 Thread dion
Author: dion
Date: Wed Feb 28 23:16:12 2007
New Revision: 513206

URL: http://svn.apache.org/viewvc?view=revrev=513206
Log:
findbugs cleanup

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java?view=diffrev=513206r1=513205r2=513206
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java 
(original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java 
Wed Feb 28 23:16:12 2007
@@ -16,6 +16,7 @@
  */
 package org.apache.commons.mail;
 
+import java.io.UnsupportedEncodingException;
 import java.nio.charset.Charset;
 
 import java.util.ArrayList;
@@ -37,6 +38,7 @@
 import javax.mail.Session;
 import javax.mail.Store;
 import javax.mail.Transport;
+import javax.mail.internet.AddressException;
 import javax.mail.internet.InternetAddress;
 import javax.mail.internet.MimeMessage;
 import javax.mail.internet.MimeMultipart;
@@ -536,7 +538,11 @@
 // it will throw AddressException.
 address.validate();
 }
-catch (Exception e)
+catch (AddressException e)
+{
+throw new EmailException(e);
+} 
+catch (UnsupportedEncodingException e)
 {
 throw new EmailException(e);
 }



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r512203 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidAddressTest.java

2007-02-27 Thread dion
Author: dion
Date: Tue Feb 27 02:11:07 2007
New Revision: 512203

URL: http://svn.apache.org/viewvc?view=revrev=512203
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidAddressTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidAddressTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidAddressTest.java?view=diffrev=512203r1=512202r2=512203
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidAddressTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidAddressTest.java
 Tue Feb 27 02:11:07 2007
@@ -29,9 +29,6 @@
 extends BaseEmailTestCase
 {
 /** */
-private MockEmailConcrete email = null;
-
-/** */
 private static final String [] ARR_INVALID_EMAILS = {
 local [EMAIL PROTECTED],
 local([EMAIL PROTECTED],
@@ -67,6 +64,9 @@
 local.name@,
 @domain.com
 };
+
+/** */
+private MockEmailConcrete email;
 
 /**
  * @param name name



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r512208 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidInternetAddressTest.java

2007-02-27 Thread dion
Author: dion
Date: Tue Feb 27 02:22:28 2007
New Revision: 512208

URL: http://svn.apache.org/viewvc?view=revrev=512208
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidInternetAddressTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidInternetAddressTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidInternetAddressTest.java?view=diffrev=512208r1=512207r2=512208
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidInternetAddressTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidInternetAddressTest.java
 Tue Feb 27 02:22:28 2007
@@ -35,7 +35,7 @@
 private static final String VALID_QUOTED_EMAIL = \John 
O'Groats\@domain.com;
 
 /** JavaMail 1.2. does not know about this */
-private static Method validateMethod = null;
+private static Method validateMethod;
 
 /** */
 private static final String[] ARR_INVALID_EMAILS =
@@ -79,6 +79,10 @@
 super(name);
 }
 
+/**
+ * Setup for a test
+ * @throws Exception on any error
+ */
 protected void setUp() throws Exception
 {
 super.setUp();
@@ -108,29 +112,33 @@
 for (int i = 0; i  ARR_INVALID_EMAILS.length; i++)
 {
 
-try {
-
+try
+{
 // Create Internet Address using strict constructor
 new InternetAddress(ARR_INVALID_EMAILS[i]);
 
 // Expected an exception to be thrown
 fail(Strict  + i +  passed:  + ARR_INVALID_EMAILS[i]);
-
-} catch (Exception ex) {
+}
+catch (Exception ex)
+{
 // Expected Result
 }
 
 }
 
 // test valid 'quoted' Email addresses
-try {
+try
+{
 
 // Create Internet Address using strict constructor
 new InternetAddress(VALID_QUOTED_EMAIL);
 
-} catch (Exception ex) {
-fail(Valid Quoted Email failed:  + VALID_QUOTED_EMAIL +
-  -  + ex.getMessage());
+}
+catch (Exception ex)
+{
+fail(Valid Quoted Email failed:  + VALID_QUOTED_EMAIL
++  -  + ex.getMessage());
 }
 }
 
@@ -156,39 +164,39 @@
 InternetAddress address = new 
InternetAddress(ARR_INVALID_EMAILS[i], Joe);
 
 // N.B. validate() doesn't check addresses containing quotes or '['
-boolean quoted = (ARR_INVALID_EMAILS[i].indexOf(\) = 0);
+boolean quoted = ARR_INVALID_EMAILS[i].indexOf(\) = 0;
 int atIndex= ARR_INVALID_EMAILS[i].indexOf(@);
-boolean domainBracket  = (atIndex = 0) 
- (ARR_INVALID_EMAILS[i].indexOf([, 
atIndex)  = 0);
-try {
-
+boolean domainBracket  = (atIndex = 0)
+ (ARR_INVALID_EMAILS[i].indexOf([, atIndex)  = 0);
+try
+{
 validateMethod.invoke(address, null);
 
-if (!(quoted || domainBracket)) {
+if (!(quoted || domainBracket))
+{
 fail(Validate  + i +  passed:  + 
ARR_INVALID_EMAILS[i]);
 }
-
-} catch (Exception ex) {
-
-if (quoted || domainBracket) {
-fail(Validate  + i +  failed:  + ARR_INVALID_EMAILS[i] 
+
-  -  + ex.getMessage());
+}
+catch (Exception ex)
+{
+if (quoted || domainBracket)
+{
+fail(Validate  + i +  failed:  + ARR_INVALID_EMAILS[i]
++  -  + ex.getMessage());
 }
-
 }
-
 }
 
 // test valid 'quoted' Email addresses
-try {
-
+try
+{
 validateMethod.invoke(new InternetAddress(VALID_QUOTED_EMAIL, 
Joe), null);
-
-} catch (Exception ex) {
-fail(Valid Quoted Email failed:  + VALID_QUOTED_EMAIL +
-  -  + ex.getMessage());
 }
-
+catch (Exception ex)
+{
+fail(Valid Quoted Email failed:  + VALID_QUOTED_EMAIL
++  -  + ex.getMessage());
+}
 }
 
 /**
@@ -213,24 +221,27 @@
 InternetAddress address = new 
InternetAddress(ARR_INVALID_EMAILS[i], Joe, UTF-8);
 
 // N.B. validate() doesn't check addresses containing quotes or '['
-boolean quoted = (ARR_INVALID_EMAILS[i].indexOf(\) = 0);
+boolean quoted = ARR_INVALID_EMAILS[i].indexOf(\) = 0;
 int atIndex= ARR_INVALID_EMAILS[i].indexOf(@);
-boolean domainBracket  = (atIndex = 0

svn commit: r512612 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidAddressTest.java

2007-02-27 Thread dion
Author: dion
Date: Tue Feb 27 21:39:57 2007
New Revision: 512612

URL: http://svn.apache.org/viewvc?view=revrev=512612
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidAddressTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidAddressTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidAddressTest.java?view=diffrev=512612r1=512611r2=512612
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidAddressTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/InvalidAddressTest.java
 Tue Feb 27 21:39:57 2007
@@ -25,8 +25,7 @@
  * @author Niall Pemberton
  * @version $Id$
  */
-public class InvalidAddressTest
-extends BaseEmailTestCase
+public class InvalidAddressTest extends BaseEmailTestCase
 {
 /** */
 private static final String [] ARR_INVALID_EMAILS = {



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r512622 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java

2007-02-27 Thread dion
Author: dion
Date: Tue Feb 27 22:35:45 2007
New Revision: 512622

URL: http://svn.apache.org/viewvc?view=revrev=512622
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java?view=diffrev=512622r1=512621r2=512622
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/MultiPartEmailTest.java
 Tue Feb 27 22:35:45 2007
@@ -39,7 +39,7 @@
 public class MultiPartEmailTest extends BaseEmailTestCase
 {
 /** */
-private MockMultiPartEmailConcrete email = null;
+private MockMultiPartEmailConcrete email;
 /** File to used to test file attachmetns (Must be valid) */
 private File testFile;
 
@@ -102,8 +102,9 @@
 }
 
 /**
- * @throws EmailException  
- * @throws IOException */
+ * @throws EmailException when a bad address or attachment is used
+ * @throws IOException when sending fails
+ */
 public void testSend() throws EmailException, IOException
 {
 // 
@@ -189,8 +190,9 @@
 }
 
 /**
- * @throws MalformedURLException  
- * @throws EmailException */
+ * @throws MalformedURLException when a bad attachment URL is used
+ * @throws EmailException when a bad address or attachment is used
+ */
 public void testAttach() throws MalformedURLException, EmailException
 {
 EmailAttachment attachment;
@@ -254,15 +256,16 @@
 }
 
 /**
- * @throws EmailException 
- * @throws MalformedURLException  */
+ * @throws MalformedURLException when a bad attachment URL is used
+ * @throws EmailException when a bad address or attachment is used
+ */
 public void testAttach2() throws MalformedURLException, EmailException
 {
 // 
 // Test Success - URL
 // 
 this.email.attach(
-new URL(this.strTestURL), 
+new URL(this.strTestURL),
 Test Attachment,
 Test Attachment Desc);
 
@@ -274,8 +277,9 @@
 }
 
 /**
- * @throws EmailException 
- * @throws MalformedURLException  */
+ * @throws MalformedURLException when a bad attachment URL is used
+ * @throws EmailException when a bad address or attachment is used
+ */
 public void testAttach3() throws MalformedURLException, EmailException
 {
 // 
@@ -373,7 +377,7 @@
 assertTrue(true);
 }
 
-/** */
+/** init called twice should fail */
 public void testInit()
 {
 // call the init function twice to trigger the IllegalStateException
@@ -389,7 +393,7 @@
 }
 }
 
-/** */
+/** test get/set sub type */
 public void testGetSetSubType()
 {
 for (int i = 0; i  testCharsValid.length; i++)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r512628 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java

2007-02-27 Thread dion
Author: dion
Date: Tue Feb 27 22:56:28 2007
New Revision: 512628

URL: http://svn.apache.org/viewvc?view=revrev=512628
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java?view=diffrev=512628r1=512627r2=512628
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java
 Tue Feb 27 22:56:28 2007
@@ -34,7 +34,7 @@
 public class SendWithAttachmentsTest extends BaseEmailTestCase
 {
 /** */
-private MockHtmlEmailConcrete email = null;
+private MockHtmlEmailConcrete email;
 
 /**
  * @param name name
@@ -54,8 +54,9 @@
 }
 
 /**
- * @throws EmailException  
- * @throws IOException */
+ * @throws EmailException on an email error
+ * @throws IOException when sending fails, or a bad URL is used
+ */
 public void testSendNoAttachments() throws EmailException, IOException
 {
 this.getMailServer();
@@ -110,8 +111,9 @@
 }
 
 /**
- * @throws EmailException  
- * @throws IOException */
+ * @throws EmailException on an email error
+ * @throws IOException when sending fails, or a bad URL is used
+ */
 public void testSendWAttachments() throws EmailException, IOException
 {
 EmailAttachment attachment = new EmailAttachment();



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r512634 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SimpleEmailTest.java

2007-02-27 Thread dion
Author: dion
Date: Tue Feb 27 23:09:27 2007
New Revision: 512634

URL: http://svn.apache.org/viewvc?view=revrev=512634
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SimpleEmailTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SimpleEmailTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SimpleEmailTest.java?view=diffrev=512634r1=512633r2=512634
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SimpleEmailTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SimpleEmailTest.java
 Tue Feb 27 23:09:27 2007
@@ -29,7 +29,7 @@
 public class SimpleEmailTest extends BaseEmailTestCase
 {
 /** */
-private MockSimpleEmail email = null;
+private MockSimpleEmail email;
 
 /**
  * @param name name
@@ -81,7 +81,7 @@
 
 /**
  * @throws EmailException when a bad address is set.
- * @throws IOException when sending fails 
+ * @throws IOException when sending fails
  * @todo Add code to test the popBeforeSmtp() settings
  */
 public void testSend() throws EmailException, IOException



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r512638 - in /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail: mocks/package.html package.html settings/package.html

2007-02-27 Thread dion
Author: dion
Date: Tue Feb 27 23:19:01 2007
New Revision: 512638

URL: http://svn.apache.org/viewvc?view=revrev=512638
Log:
add package files for checkstyle

Added:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/package.html

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/package.html

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/settings/package.html

Added: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/package.html
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/package.html?view=autorev=512638
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/package.html
 (added)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/package.html
 Tue Feb 27 23:19:01 2007
@@ -0,0 +1,23 @@
+!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the License); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an AS IS BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--
+html
+body
+p
+This package provides mock email implementations for testing.
+/p
+/body
+/html

Added: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/package.html
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/package.html?view=autorev=512638
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/package.html
 (added)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/package.html
 Tue Feb 27 23:19:01 2007
@@ -0,0 +1,23 @@
+!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the License); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an AS IS BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--
+html
+body
+p
+This package provides the JUnit tests.
+/p
+/body
+/html

Added: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/settings/package.html
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/settings/package.html?view=autorev=512638
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/settings/package.html
 (added)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/settings/package.html
 Tue Feb 27 23:19:01 2007
@@ -0,0 +1,23 @@
+!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the License); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an AS IS BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--
+html
+body
+p
+This package provides the test mail server configuration.
+/p
+/body
+/html



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r512639 - in /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail: mocks/package.html package.html settings/package.html

2007-02-27 Thread dion
Author: dion
Date: Tue Feb 27 23:21:04 2007
New Revision: 512639

URL: http://svn.apache.org/viewvc?view=revrev=512639
Log:
bloody subversion properties

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/package.html
   (contents, props changed)

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/package.html
   (contents, props changed)

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/settings/package.html
   (contents, props changed)

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/package.html
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/package.html?view=diffrev=512639r1=512638r2=512639
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/package.html
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/package.html
 Tue Feb 27 23:21:04 2007
@@ -1,23 +1,23 @@
-!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the License); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an AS IS BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
---
-html
-body
-p
-This package provides mock email implementations for testing.
-/p
-/body
-/html
+!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the License); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an AS IS BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--
+html
+body
+p
+This package provides mock email implementations for testing.
+/p
+/body
+/html

Propchange: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/package.html
--
svn:eol-style = native

Propchange: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/package.html
--
svn:keywords = Date Author Id Revision HeadURL

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/package.html
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/package.html?view=diffrev=512639r1=512638r2=512639
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/package.html
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/package.html
 Tue Feb 27 23:21:04 2007
@@ -1,23 +1,23 @@
-!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the License); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an AS IS BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
---
-html
-body
-p
-This package provides the JUnit tests.
-/p
-/body
-/html
+!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License

svn commit: r512645 - /jakarta/commons/proper/email/trunk/conf/checkstyle.xml

2007-02-27 Thread dion
Author: dion
Date: Tue Feb 27 23:57:42 2007
New Revision: 512645

URL: http://svn.apache.org/viewvc?view=revrev=512645
Log:
no author tags

Modified:
jakarta/commons/proper/email/trunk/conf/checkstyle.xml

Modified: jakarta/commons/proper/email/trunk/conf/checkstyle.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/conf/checkstyle.xml?view=diffrev=512645r1=512644r2=512645
==
--- jakarta/commons/proper/email/trunk/conf/checkstyle.xml (original)
+++ jakarta/commons/proper/email/trunk/conf/checkstyle.xml Tue Feb 27 23:57:42 
2007
@@ -47,7 +47,6 @@
 property name=allowUndeclaredRTE value=true/
 /module
 module name=JavadocType
-property name=authorFormat value=\S/
 /module
 module name=JavadocVariable/
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r512123 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java

2007-02-26 Thread dion
Author: dion
Date: Mon Feb 26 19:07:12 2007
New Revision: 512123

URL: http://svn.apache.org/viewvc?view=revrev=512123
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java?view=diffrev=512123r1=512122r2=512123
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
 Mon Feb 26 19:07:12 2007
@@ -24,6 +24,7 @@
 import java.util.Date;
 import java.util.Enumeration;
 import java.util.Hashtable;
+import java.util.List;
 import java.util.Properties;
 
 import javax.mail.Authenticator;
@@ -53,7 +54,7 @@
 {
 [EMAIL PROTECTED],
 [EMAIL PROTECTED],
-[EMAIL PROTECTED] };
+[EMAIL PROTECTED]};
 /**
  * @param name name
  */
@@ -75,7 +76,7 @@
 public void testGetSetDebug()
 {
 // JUnitDoclet begin method setBoolTest isBoolTest
-boolean[] tests = { true, false };
+boolean[] tests = {true, false};
 
 for (int i = 0; i  tests.length; i++)
 {
@@ -175,7 +176,7 @@
 public void testSetContentMimeMultipart()
 {
 MimeMultipart[] tests =
-{ new MimeMultipart(), new MimeMultipart(abc123), null };
+{new MimeMultipart(), new MimeMultipart(abc123), null};
 
 for (int i = 0; i  tests.length; i++)
 {
@@ -245,7 +246,7 @@
 // 
 // Test Success
 // 
-int[] tests = { 1, Integer.MAX_VALUE };
+int[] tests = {1, Integer.MAX_VALUE};
 
 for (int i = 0; i  tests.length; i++)
 {
@@ -258,7 +259,7 @@
 // 
 // Test Exceptions
 // 
-int[] testExs = { Integer.MIN_VALUE, -1, 0 };
+int[] testExs = {Integer.MIN_VALUE, -1, 0};
 
 for (int i = 0; i  testExs.length; i++)
 {
@@ -285,7 +286,7 @@
 // Test Success
 // 
 
-ArrayList arrExpected = new ArrayList();
+List arrExpected = new ArrayList();
 arrExpected.add(new InternetAddress([EMAIL PROTECTED], [EMAIL 
PROTECTED]));
 arrExpected.add(
 new InternetAddress(
@@ -344,8 +345,8 @@
 [EMAIL PROTECTED],
 [EMAIL PROTECTED]
 };
-String[] testEmailNames = { Name1, , null };
-ArrayList arrExpected = new ArrayList();
+String[] testEmailNames = {Name1, , null};
+List arrExpected = new ArrayList();
 arrExpected.add(new InternetAddress([EMAIL PROTECTED], Name1));
 arrExpected.add(
 new InternetAddress(
@@ -395,7 +396,7 @@
 // Test Success
 // 
 
-ArrayList arrExpected = new ArrayList();
+List arrExpected = new ArrayList();
 arrExpected.add(new InternetAddress([EMAIL PROTECTED], [EMAIL 
PROTECTED]));
 arrExpected.add(
 new InternetAddress(
@@ -427,7 +428,7 @@
 // 
 String testCharset = Email.ISO_8859_1;
 
-ArrayList arrExpected = new ArrayList();
+List arrExpected = new ArrayList();
 arrExpected.add(
 new InternetAddress(
 [EMAIL PROTECTED],
@@ -464,9 +465,9 @@
 // Test Success
 // 
 
-String[] testEmailNames = { Name1, , null };
+String[] testEmailNames = {Name1, , null};
 
-ArrayList arrExpected = new ArrayList();
+List arrExpected = new ArrayList();
 arrExpected.add(new InternetAddress([EMAIL PROTECTED], Name1));
 arrExpected.add(
 new InternetAddress(
@@ -516,7 +517,7 @@
 // 
 // Test Success
 // 
-ArrayList testEmailValid2 = new ArrayList();
+List testEmailValid2 = new ArrayList();
 testEmailValid2.add(new InternetAddress([EMAIL PROTECTED], Name1));
 testEmailValid2.add(
 new InternetAddress(
@@ -571,7 +572,7 @@
 // Test Success

svn commit: r512132 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java

2007-02-26 Thread dion
Author: dion
Date: Mon Feb 26 20:22:11 2007
New Revision: 512132

URL: http://svn.apache.org/viewvc?view=revrev=512132
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java?view=diffrev=512132r1=512131r2=512132
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
 Mon Feb 26 20:22:11 2007
@@ -46,17 +46,18 @@
 
 public class EmailTest extends BaseEmailTestCase
 {
-/** */
-private MockEmailConcrete email = null;
-
-/** */
+/** valid email addresses */
 public static final String[] ARR_VALID_EMAILS =
 {
 [EMAIL PROTECTED],
 [EMAIL PROTECTED],
 [EMAIL PROTECTED]};
+
+/** mock for testing */
+private MockEmailConcrete email;
+
 /**
- * @param name name
+ * @param name test name
  */
 public EmailTest(String name)
 {
@@ -388,8 +389,9 @@
 }
 
 /**
- * @throws EmailException
- * @throws UnsupportedEncodingException */
+ * @throws EmailException when there are problems adding an address
+ * @throws UnsupportedEncodingException on bad email addresses
+ */
 public void testAddTo() throws EmailException, UnsupportedEncodingException
 {
 // 
@@ -419,8 +421,9 @@
 }
 
 /**
- * @throws UnsupportedEncodingException
- * @throws EmailException */
+ * @throws EmailException when there are problems adding an address
+ * @throws UnsupportedEncodingException on bad email addresses
+ */
 public void testAddToWithEncoding() throws UnsupportedEncodingException, 
EmailException
 {
 // 
@@ -457,8 +460,9 @@
 }
 
 /**
- * @throws UnsupportedEncodingException
- * @throws EmailException */
+ * @throws EmailException when there are problems adding an address
+ * @throws UnsupportedEncodingException on bad email addresses
+ */
 public void testAddTo2() throws UnsupportedEncodingException, 
EmailException
 {
 // 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r512157 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java

2007-02-26 Thread dion
Author: dion
Date: Mon Feb 26 22:47:08 2007
New Revision: 512157

URL: http://svn.apache.org/viewvc?view=revrev=512157
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java?view=diffrev=512157r1=512156r2=512157
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
 Mon Feb 26 22:47:08 2007
@@ -22,9 +22,10 @@
 import java.util.ArrayList;
 import java.util.Calendar;
 import java.util.Date;
-import java.util.Enumeration;
 import java.util.Hashtable;
+import java.util.Iterator;
 import java.util.List;
+import java.util.Map;
 import java.util.Properties;
 
 import javax.mail.Authenticator;
@@ -513,8 +514,8 @@
 }
 
 /**
- * @throws UnsupportedEncodingException
- * @throws EmailException
+ * @throws EmailException when there are problems adding an address
+ * @throws UnsupportedEncodingException on bad email addresses
  */
 public void testSetTo() throws UnsupportedEncodingException, EmailException
 {
@@ -568,8 +569,9 @@
 }
 
 /**
- * @throws UnsupportedEncodingException
- * @throws EmailException */
+ * @throws EmailException when there are problems adding an address
+ * @throws UnsupportedEncodingException on bad email addresses
+ */
 public void testAddCc() throws UnsupportedEncodingException, EmailException
 {
 // 
@@ -599,8 +601,9 @@
 }
 
 /**
- * @throws UnsupportedEncodingException
- * @throws EmailException */
+ * @throws EmailException when there are problems adding an address
+ * @throws UnsupportedEncodingException on bad email addresses
+ */
 public void testAddCcWithEncoding() throws UnsupportedEncodingException, 
EmailException
 {
 // 
@@ -637,8 +640,9 @@
 }
 
 /**
- * @throws UnsupportedEncodingException
- * @throws EmailException */
+ * @throws EmailException when there are problems adding an address
+ * @throws UnsupportedEncodingException on bad email addresses
+ */
 public void testAddCc2() throws UnsupportedEncodingException, 
EmailException
 {
 // 
@@ -689,7 +693,8 @@
 }
 
 /**
- * @throws EmailException  */
+ * @throws EmailException when there are problems adding an address
+ */
 public void testSetCc() throws EmailException
 {
 // 
@@ -732,8 +737,9 @@
 }
 
 /**
- * @throws UnsupportedEncodingException
- * @throws EmailException */
+ * @throws EmailException when there are problems adding an address
+ * @throws UnsupportedEncodingException on bad email addresses
+ */
 public void testAddBcc() throws UnsupportedEncodingException, 
EmailException
 {
 // 
@@ -765,8 +771,9 @@
 }
 
 /**
- * @throws UnsupportedEncodingException
- * @throws EmailException */
+ * @throws EmailException when there are problems adding an address
+ * @throws UnsupportedEncodingException on bad email addresses
+ */
 public void testAddBccWithEncoding() throws UnsupportedEncodingException, 
EmailException
 {
 // 
@@ -805,8 +812,9 @@
 }
 
 /**
- * @throws UnsupportedEncodingException
- * @throws EmailException */
+ * @throws EmailException when there are problems adding an address
+ * @throws UnsupportedEncodingException on bad email addresses
+ */
 public void testAddBcc2() throws UnsupportedEncodingException, 
EmailException
 {
 // 
@@ -815,6 +823,7 @@
 
 String[] testEmailNames = {Name1, , null};
 
+
 List arrExpected = new ArrayList();
 arrExpected.add(new InternetAddress([EMAIL PROTECTED], Name1));
 arrExpected.add(
@@ -859,8 +868,9 @@
 }
 
 /**
- * @throws UnsupportedEncodingException
- * @throws EmailException */
+ * @throws EmailException when there are problems adding an address
+ * @throws UnsupportedEncodingException on bad email addresses
+ */
 public void testSetBcc() throws UnsupportedEncodingException, 
EmailException

svn commit: r512160 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java

2007-02-26 Thread dion
Author: dion
Date: Mon Feb 26 22:59:53 2007
New Revision: 512160

URL: http://svn.apache.org/viewvc?view=revrev=512160
Log:
checkstyle - trailing spaces

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java?view=diffrev=512160r1=512159r2=512160
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java
 Mon Feb 26 22:59:53 2007
@@ -85,7 +85,7 @@
 }
 
 /**
- * @throws EmailException  
+ * @throws EmailException
  */
 public void testGetSetHtmlMsg() throws EmailException
 {
@@ -168,19 +168,19 @@
 // if we embed the same name again, do we get the same content ID
 // back?
 String testCid =
-this.email.embed(new URL(this.strTestURL), Test name);   
+this.email.embed(new URL(this.strTestURL), Test name);
 assertEquals(strEmbed, testCid);
-
+
 // if we embed the same URL under a different name, is the content ID
 // unique?
 String newCid =
 this.email.embed(new URL(this.strTestURL), Test name 2);
 assertFalse(strEmbed.equals(newCid));
-
+
 // 
 // Test Exceptions
 // 
-
+
 // Does an invalid URL throw an exception?
 try
 {
@@ -191,7 +191,7 @@
 {
 // expected
 }
-
+
 // if we try to embed a different URL under a previously used name,
 // does it complain?
 try
@@ -202,11 +202,11 @@
 catch (EmailException e)
 {
 // expected
-}
+}
 }
 
 /**
- * @throws EmailException  
+ * @throws EmailException
  * @throws IOException */
 public void testSend() throws EmailException, IOException
 {



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r512162 - /jakarta/commons/proper/email/trunk/conf/checkstyle.xml

2007-02-26 Thread dion
Author: dion
Date: Mon Feb 26 23:20:09 2007
New Revision: 512162

URL: http://svn.apache.org/viewvc?view=revrev=512162
Log:
Allow empty catch blocks as long as there is text (a comment etc) in it

Modified:
jakarta/commons/proper/email/trunk/conf/checkstyle.xml

Modified: jakarta/commons/proper/email/trunk/conf/checkstyle.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/conf/checkstyle.xml?view=diffrev=512162r1=512161r2=512162
==
--- jakarta/commons/proper/email/trunk/conf/checkstyle.xml (original)
+++ jakarta/commons/proper/email/trunk/conf/checkstyle.xml Mon Feb 26 23:20:09 
2007
@@ -115,7 +115,10 @@
 !-- Checks for blocks. You know, those {}'s --
 !-- See http://checkstyle.sf.net/config_blocks.html --
 module name=AvoidNestedBlocks/
-module name=EmptyBlock/
+module name=EmptyBlock
+   property name=option value=text/
+   property name=tokens value=LITERAL_CATCH/
+   /module
 module name=LeftCurly
 property name=option value=nl/
 /module



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r512163 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java

2007-02-26 Thread dion
Author: dion
Date: Mon Feb 26 23:31:33 2007
New Revision: 512163

URL: http://svn.apache.org/viewvc?view=revrev=512163
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java?view=diffrev=512163r1=512162r2=512163
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java
 Mon Feb 26 23:31:33 2007
@@ -34,7 +34,7 @@
 public class HtmlEmailTest extends BaseEmailTestCase
 {
 /** */
-private MockHtmlEmailConcrete email = null;
+private MockHtmlEmailConcrete email;
 
 /**
  * @param name name
@@ -85,7 +85,7 @@
 }
 
 /**
- * @throws EmailException
+ * @throws EmailException if setting the message fails
  */
 public void testGetSetHtmlMsg() throws EmailException
 {
@@ -206,8 +206,9 @@
 }
 
 /**
- * @throws EmailException
- * @throws IOException */
+ * @throws EmailException when bad addresses and attachments are used
+ * @throws IOException if creating a temp file, URL or sending fails
+ */
 public void testSend() throws EmailException, IOException
 {
 EmailAttachment attachment = new EmailAttachment();



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r511666 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java

2007-02-25 Thread dion
Author: dion
Date: Sun Feb 25 16:01:56 2007
New Revision: 511666

URL: http://svn.apache.org/viewvc?view=revrev=511666
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java?view=diffrev=511666r1=511665r2=511666
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
 Sun Feb 25 16:01:56 2007
@@ -44,10 +44,16 @@
 
 public class BaseEmailTestCase extends TestCase
 {
+/** Padding at end of body added by dumbser/send */
+public static final int BODY_END_PAD = 3;
+/** Padding at start of body added by dumbser/send */
+public static final int BODY_START_PAD = 2;
+
+/** default port */
 private static int mailServerPort = EmailConfiguration.MAIL_SERVER_PORT;
 
 /** The fake Dumbster email server */
-protected SimpleSmtpServer fakeMailServer = null;
+protected SimpleSmtpServer fakeMailServer;
 
 /** Mail server used for testing */
 protected String strTestMailServer = EmailConfiguration.MAIL_SERVER;
@@ -62,14 +68,6 @@
 /** URL to used to test URL attachmetns (Must be valid) */
 protected String strTestURL = EmailConfiguration.TEST_URL;
 
-/** Padding at end of body added by dumbser/send */
-public static final int BODY_END_PAD = 3;
-/** Padding at start of body added by dumbser/send */
-public static final int BODY_START_PAD = 2;
-
-/** Where to save email output **/
-private File emailOutputDir;
-
 protected int getMailServerPort()
 {
 return mailServerPort;
@@ -89,6 +87,9 @@
 
 /** Array of test strings */
 protected String[] testCharsNotValid = { , null };
+
+/** Where to save email output **/
+private File emailOutputDir;
 
 /**
  * @param name name



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r511670 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java

2007-02-25 Thread dion
Author: dion
Date: Sun Feb 25 16:32:23 2007
New Revision: 511670

URL: http://svn.apache.org/viewvc?view=revrev=511670
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java?view=diffrev=511670r1=511669r2=511670
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java 
(original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java 
Sun Feb 25 16:32:23 2007
@@ -17,8 +17,6 @@
 package org.apache.commons.mail;
 
 import java.nio.charset.Charset;
-import java.nio.charset.IllegalCharsetNameException;
-import java.nio.charset.UnsupportedCharsetException;
 
 import java.util.ArrayList;
 import java.util.Collection;
@@ -275,8 +273,8 @@
  * Set the charset of the message.
  *
  * @param newCharset A String.
- * @throws IllegalCharsetNameException if the charset name is invalid
- * @throws UnsupportedCharsetException if no support for the named charset
+ * @throws java.nio.charset.IllegalCharsetNameException if the charset 
name is invalid
+ * @throws java.nio.charset.UnsupportedCharsetException if no support for 
the named charset
  * exists in the current JVM
  * @since 1.0
  */
@@ -1295,7 +1293,8 @@
  * Returns whether SSL encryption for the transport is currently enabled.
  * @return true if SSL enabled for the transport
  */
-public boolean isSSL() {
+public boolean isSSL()
+{
 return ssl;
 }
 
@@ -1303,7 +1302,8 @@
  * Sets whether SSL encryption should be enabled for the SMTP transport.
  * @param ssl whether to enable the SSL transport
  */
-public void setSSL(boolean ssl) {
+public void setSSL(boolean ssl)
+{
 this.ssl = ssl;
 }
 
@@ -1311,7 +1311,8 @@
  * Returns the current SSL port used by the SMTP transport.
  * @return the current SSL port used by the SMTP transport
  */
-public String getSslSmtpPort() {
+public String getSslSmtpPort()
+{
 if (EmailUtils.isNotEmpty(this.sslSmtpPort))
 {
 return this.sslSmtpPort;
@@ -1327,8 +1328,8 @@
  * port, 465.
  * @param sslSmtpPort the SSL port to use for the SMTP transport
  */
-public void setSslSmtpPort(String sslSmtpPort) {
+public void setSslSmtpPort(String sslSmtpPort)
+{
 this.sslSmtpPort = sslSmtpPort;
 }
 }
-



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r511673 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java

2007-02-25 Thread dion
Author: dion
Date: Sun Feb 25 16:39:56 2007
New Revision: 511673

URL: http://svn.apache.org/viewvc?view=revrev=511673
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java?view=diffrev=511673r1=511672r2=511673
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
 Sun Feb 25 16:39:56 2007
@@ -162,6 +162,13 @@
 
 /**
  * Embeds an URL in the HTML.
+ *
+ * @param url The URL of the file.
+ * @param name The name that will be set in the filename header field.
+ * @return A String with the Content-ID of the file.
+ * @throws EmailException when URL supplied is invalid
+ *  also see javax.mail.internet.MimeBodyPart for definitions
+ *
  * @see #embed(URL, String)
  * @since 1.1
  */
@@ -373,8 +380,11 @@
  */
 private static class InlineImage
 {
+/** content id */
 private String cid;
+/** URL that points to the content */
 private URL url;
+/** the codeMimeBodyPart/code that contains the encoded data */
 private MimeBodyPart mbp;
 
 /**
@@ -405,7 +415,8 @@
  * Returns the URL that points to the encoded content.
  * @return the URL pointing to the encoded content
  */
-public URL getURL() {
+public URL getURL()
+{
 return url;
 }
 
@@ -422,17 +433,30 @@
 
 // equals()/hashCode() implementations, since this class
 // is stored as a entry in a Map.
-
+/**
+ * [EMAIL PROTECTED]
+ * @return true if the other object is also an InlineImage with the 
same cid.
+ */
 public boolean equals(Object obj)
 {
-if (this == obj) return true;
-if (!(obj instanceof InlineImage)) return false;
+if (this == obj)
+{
+return true;
+}
+if (!(obj instanceof InlineImage))
+{
+return false;
+}
 
 InlineImage that = (InlineImage) obj;
 
 return this.cid.equals(that.cid);
 }
 
+/**
+ * [EMAIL PROTECTED]
+ * @return the cid hashCode.
+ */
 public int hashCode()
 {
 return cid.hashCode();



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r511674 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java

2007-02-25 Thread dion
Author: dion
Date: Sun Feb 25 16:42:35 2007
New Revision: 511674

URL: http://svn.apache.org/viewvc?view=revrev=511674
Log:
add todo for rethrow of exception

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java?view=diffrev=511674r1=511673r2=511674
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
 Sun Feb 25 16:42:35 2007
@@ -232,7 +232,7 @@
 // the content for the main body part was actually set.  If 
not,
 // an IOException will be thrown during super.send().
 
-   BodyPart body = this.getPrimaryBodyPart();
+BodyPart body = this.getPrimaryBodyPart();
 try
 {
 body.getContent();
@@ -241,6 +241,8 @@
 {
 // do nothing here.  content will be set to an empty string
 // as a result.
+// TODO: Should this reallyt be rethrown as an email 
exception:
+// throw new EmailException(e);
 }
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r511703 - in /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail: BaseEmailTestCase.java EmailAttachmentTest.java

2007-02-25 Thread dion
Author: dion
Date: Sun Feb 25 18:45:23 2007
New Revision: 511703

URL: http://svn.apache.org/viewvc?view=revrev=511703
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailAttachmentTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java?view=diffrev=511703r1=511702r2=511703
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
 Sun Feb 25 18:45:23 2007
@@ -68,11 +68,6 @@
 /** URL to used to test URL attachmetns (Must be valid) */
 protected String strTestURL = EmailConfiguration.TEST_URL;
 
-protected int getMailServerPort()
-{
-return mailServerPort;
-}
-
 /** Test characters acceptable to email */
 protected String[] testCharsValid =
 {
@@ -86,7 +81,7 @@
 };
 
 /** Array of test strings */
-protected String[] testCharsNotValid = { , null };
+protected String[] testCharsNotValid = {, null};
 
 /** Where to save email output **/
 private File emailOutputDir;
@@ -105,12 +100,6 @@
 }
 
 /** */
-protected void setUp() throws Exception
-{
-
-}
-
-/** */
 protected void tearDown()
 {
 //stop the fake email server (if started)
@@ -121,6 +110,15 @@
 }
 
 this.fakeMailServer = null;
+}
+
+/**
+ * Gets the mail server port.
+ * @return the port the server is running on.
+ */
+protected int getMailServerPort()
+{
+return mailServerPort;
 }
 
 /**

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailAttachmentTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailAttachmentTest.java?view=diffrev=511703r1=511702r2=511703
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailAttachmentTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailAttachmentTest.java
 Sun Feb 25 18:45:23 2007
@@ -30,7 +30,7 @@
 public class EmailAttachmentTest extends BaseEmailTestCase
 {
 /** */
-private EmailAttachment attachment = null;
+private EmailAttachment attachment;
 
 /**
  * @param name name



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r511706 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java

2007-02-25 Thread dion
Author: dion
Date: Sun Feb 25 18:56:17 2007
New Revision: 511706

URL: http://svn.apache.org/viewvc?view=revrev=511706
Log:
Checkstyle - Remove tabs

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java?view=diffrev=511706r1=511705r2=511706
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java
 Sun Feb 25 18:56:17 2007
@@ -109,85 +109,85 @@
 false);
 }
 
-   /**
-* @throws EmailException  
-* @throws IOException */
-   public void testSendWAttachments() throws EmailException, IOException
-   {
-   EmailAttachment attachment = new EmailAttachment();
-   File testFile = null;
-
-   /** File to used to test file attachmetns (Must be valid) */
-   testFile = File.createTempFile(commons-email-testfile, 
.txt);
-
-   // 

-   // Test Success
-   // 

-   this.getMailServer();
-
-   String strSubject = Test HTML Send #1 Subject (w charset);
-
-   this.email = new MockHtmlEmailConcrete();
-   this.email.setHostName(this.strTestMailServer);
-   this.email.setSmtpPort(this.getMailServerPort());
-   this.email.setFrom(this.strTestMailFrom);
-   this.email.addTo(this.strTestMailTo);
-
-   /** File to used to test file attachmetns (Must be valid) */
-   attachment.setName(Test Attachment);
-   attachment.setDescription(Test Attachment Desc);
-   attachment.setPath(testFile.getAbsolutePath());
-   this.email.attach(attachment);
-
-   this.email.setAuthentication(this.strTestUser, 
this.strTestPasswd);
-
-   this.email.setCharset(Email.ISO_8859_1);
-   this.email.setSubject(strSubject);
-
-   URL url = new URL(EmailConfiguration.TEST_URL);
-   String cid = this.email.embed(url, Apache Logo);
-
-   String strHtmlMsg =
-   htmlThe Apache logo - img src=\cid: + cid + 
\html;
-
-   this.email.setHtmlMsg(strHtmlMsg);
-   this.email.setTextMsg(
-   Your email client does not support HTML emails);
-
-   this.email.send();
-   this.fakeMailServer.stop();
-   // validate txt message
-   validateSend(
-   this.fakeMailServer,
-   strSubject,
-   this.email.getTextMsg(),
-   this.email.getFromAddress(),
-   this.email.getToList(),
-   this.email.getCcList(),
-   this.email.getBccList(),
-   true);
-
-   // validate html message
-   validateSend(
-   this.fakeMailServer,
-   strSubject,
-   this.email.getHtmlMsg(),
-   this.email.getFromAddress(),
-   this.email.getToList(),
-   this.email.getCcList(),
-   this.email.getBccList(),
-   false);
-
-   // validate attachment
-   validateSend(
-   this.fakeMailServer,
-   strSubject,
-   attachment.getName(),
-   this.email.getFromAddress(),
-   this.email.getToList(),
-   this.email.getCcList(),
-   this.email.getBccList(),
-   false);
+/**
+ * @throws EmailException  
+ * @throws IOException */
+public void testSendWAttachments() throws EmailException, IOException
+{
+EmailAttachment attachment = new EmailAttachment();
+File testFile = null;
+
+/** File to used to test file attachmetns (Must be valid) */
+testFile = File.createTempFile(commons-email-testfile, .txt);
+
+// 
+// Test Success
+// 
+this.getMailServer();
+
+String strSubject = Test HTML Send #1 Subject (w charset);
+
+this.email = new MockHtmlEmailConcrete

svn commit: r510704 - /jakarta/commons/proper/email/trunk/pom.xml

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 15:21:06 2007
New Revision: 510704

URL: http://svn.apache.org/viewvc?view=revrev=510704
Log:
fix my role, fix indenting

Modified:
jakarta/commons/proper/email/trunk/pom.xml

Modified: jakarta/commons/proper/email/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/pom.xml?view=diffrev=510704r1=510703r2=510704
==
--- jakarta/commons/proper/email/trunk/pom.xml (original)
+++ jakarta/commons/proper/email/trunk/pom.xml Thu Feb 22 15:21:06 2007
@@ -72,7 +72,9 @@
 iddion/id
 email[EMAIL PROTECTED]/email
 organizationApache Software Foundation/organization
-roles/
+roles
+  roleJava Developer/role
+/roles
 /developer
 developer
 nameJohn McNally/name
@@ -129,20 +131,20 @@
 roles/
 /developer
 developer
-  nameHenning P. Schmiedehausen/name
-  idhenning/id
-  email[EMAIL PROTECTED]/email
-  organizationINTERMETA - Gesellschaft fuer Mehrwertdienste 
mbH/organization
-  roles
-roleJava Developer/role
-  /roles
-  timezone2/timezone
+nameHenning P. Schmiedehausen/name
+idhenning/id
+email[EMAIL PROTECTED]/email
+organizationINTERMETA - Gesellschaft fuer Mehrwertdienste 
mbH/organization
+roles
+  roleJava Developer/role
+/roles
+timezone2/timezone
 /developer
 developer
-  nameStephen Colebourne/name
-  idscolebourne/id
-  roles/
-  timezone0/timezone
+nameStephen Colebourne/name
+idscolebourne/id
+roles/
+timezone0/timezone
 /developer
 /developers
 contributors



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510706 - in /jakarta/commons/proper/email/trunk: build.xml project.properties

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 15:26:56 2007
New Revision: 510706

URL: http://svn.apache.org/viewvc?view=revrev=510706
Log:
EMAIL-62: Build patches to enforce source 1.4 and target 1.4 when compiling

Modified:
jakarta/commons/proper/email/trunk/build.xml
jakarta/commons/proper/email/trunk/project.properties

Modified: jakarta/commons/proper/email/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/build.xml?view=diffrev=510706r1=510705r2=510706
==
--- jakarta/commons/proper/email/trunk/build.xml (original)
+++ jakarta/commons/proper/email/trunk/build.xml Thu Feb 22 15:26:56 2007
@@ -88,7 +88,7 @@
   target name=compile description=o Compile the code depends=get-deps
 mkdir dir=${classesdir}
 /mkdir
-javac destdir=${classesdir} deprecation=true debug=true 
optimize=false excludes=**/package.html source=1.3 target=1.3
+javac destdir=${classesdir} deprecation=true debug=true 
optimize=false excludes=**/package.html source=1.4 target=1.4
   src
 pathelement location=${basedir}/src/java
 /pathelement
@@ -163,7 +163,7 @@
   target name=compile-tests if=Junit.present 
depends=junit-present,compile
 mkdir dir=${testclassesdir}
 /mkdir
-javac destdir=${testclassesdir} deprecation=true debug=true 
optimize=false excludes=**/package.html
+javac destdir=${testclassesdir} deprecation=true debug=true 
optimize=false excludes=**/package.html source=1.4 target=1.4
   src
 pathelement location=${basedir}/src/test
 /pathelement

Modified: jakarta/commons/proper/email/trunk/project.properties
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/project.properties?view=diffrev=510706r1=510705r2=510706
==
--- jakarta/commons/proper/email/trunk/project.properties (original)
+++ jakarta/commons/proper/email/trunk/project.properties Thu Feb 22 15:26:56 
2007
@@ -54,9 +54,9 @@
 # used to generate the download page
 
#maven.xdoc.distributionUrl=http://www.apache.org/dist/java-repository/commons-email/jars
 
-# Compiler settings - we are targetting JDK 1.3 as minimum runtime requirement
-maven.compile.source=1.3
-maven.compile.target=1.3
+# Compiler settings - we are targetting JDK 1.4 as minimum runtime requirement
+maven.compile.source=1.4
+maven.compile.target=1.4
 
 # used to ensure the source distribution unpacks into commons-email-VERSION-src
 
maven.dist.src.assembly.dir=${maven.dist.assembly.dir}/src/${maven.final.name}-src



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Resolved: (EMAIL-62) [email] Build patches to enforce source 1.4 and target 1.4 when compiling

2007-02-22 Thread dion gillard (JIRA)

 [ 
https://issues.apache.org/jira/browse/EMAIL-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dion gillard resolved EMAIL-62.
---

Resolution: Fixed

Patches applied - thanks guys!

 [email] Build patches to enforce source 1.4 and target 1.4 when compiling
 -

 Key: EMAIL-62
 URL: https://issues.apache.org/jira/browse/EMAIL-62
 Project: Commons Email
  Issue Type: Bug
Affects Versions: 1.1
Reporter: Ben Speakmon
 Fix For: 1.1

 Attachments: build.xml.patch, project.properties, 
 project.properties.patch


 Maven and Ant patches. Ant patch suppresses spurious 1.5 type safety warnings 
 when building commons-email on JDK = 1.5.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510708 - in /jakarta/commons/proper/email/trunk/src: java/org/apache/commons/mail/HtmlEmail.java test/org/apache/commons/mail/HtmlEmailTest.java test/org/apache/commons/mail/mocks/MockHtm

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 15:35:23 2007
New Revision: 510708

URL: http://svn.apache.org/viewvc?view=revrev=510708
Log:
EMAIL-50 HTML Emails with images don't display in Outlook 2000

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/HtmlEmailTest.java

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/mocks/MockHtmlEmailConcrete.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java?view=diffrev=510708r1=510707r2=510708
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
 Thu Feb 22 15:35:23 2007
@@ -20,9 +20,9 @@
 import java.io.InputStream;
 import java.net.MalformedURLException;
 import java.net.URL;
-import java.util.ArrayList;
+import java.util.HashMap;
 import java.util.Iterator;
-import java.util.List;
+import java.util.Map;
 
 import javax.activation.DataHandler;
 import javax.activation.URLDataSource;
@@ -69,8 +69,11 @@
 /** Html part of the message */
 protected String html;
 
-/** Embedded images */
-protected List inlineImages = new ArrayList();
+/**
+ * Embedded images MapString,InlineImages where the key is the
+ * user-defined image name
+ */
+protected Map inlineImages = new HashMap();
 
 /** HTML prefix and suffix for default HTML mail */
 private static final String HTML_MESSAGE_START = htmlbodypre;
@@ -162,14 +165,14 @@
  */
 public String embed(String url, String name) throws EmailException
 {
-   try
-   {
-   return embed(new URL(url), name);
-   }
-   catch (MalformedURLException e)
-   {
-   throw new EmailException(Invalid URL, e);
-   }
+try
+{
+return embed(new URL(url), name);
+}
+catch (MalformedURLException e)
+{
+throw new EmailException(Invalid URL, e);
+}
 }
 
 /**
@@ -179,7 +182,8 @@
  * the mail body.  It allows, for instance, to add inline images
  * to the email.  Inline files may be referenced with a
  * codecid:xx/code URL, where xx is the Content-ID
- * returned by the embed function.
+ * returned by the embed function. It is an error to bind the same name
+ * to more than one URL.
  *
  * pExample of use:brcodepre
  * HtmlEmail he = new HtmlEmail();
@@ -189,6 +193,13 @@
  * // code to set the others email fields (not shown)
  * /pre/code
  *
+ * p
+ * NOTE: Clients should take care to ensure that different URLs are bound 
to
+ * different names. This implementation tries to detect this and throw
+ * codeEmailException/code. However, it is not guaranteed to catch
+ * all cases, especially when the URL refers to a remote HTTP host that
+ * may be part of a virtual host cluster.
+ * 
  * @param url The URL of the file.
  * @param name The name that will be set in the filename header
  * field.
@@ -199,6 +210,31 @@
  */
 public String embed(URL url, String name) throws EmailException
 {
+InlineImage ii = null;
+
+// check if the URL contents have already been attached;
+// if so, return the cached CID value.
+if (inlineImages.containsKey(name))
+{
+ii = (InlineImage) inlineImages.get(name);
+// make sure the supplied URL points to the same thing
+// as the one already associated with this name.
+if (url.equals(ii.getURL()))
+{
+return ii.getCid();
+}
+else
+{
+throw new EmailException(embedded file name ' + name
++  is already bound to URL  + ii.getURL().toString()
++ ; existing names cannot be rebound);
+}
+// NOTE: Comparing URLs with URL.equals() is known to be
+// inconsistent when dealing with virtual hosting over HTTP,
+// but since these are almost always files on the local machine,
+// using equals() should be sufficient.
+}
+
 // verify that the URL is valid
 try
 {
@@ -218,8 +254,11 @@
 mbp.setFileName(name);
 mbp.setDisposition(inline);
 String cid = 
EmailUtils.randomAlphabetic(HtmlEmail.CID_LENGTH).toLowerCase();
-mbp.addHeader(Content-ID,  + cid + );
-this.inlineImages.add(mbp);
+mbp.setContentID( + cid + );
+
+ii = new InlineImage

[jira] Resolved: (EMAIL-50) [email] HTML Emails with images don't display in Outlook 2000

2007-02-22 Thread dion gillard (JIRA)

 [ 
https://issues.apache.org/jira/browse/EMAIL-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dion gillard resolved EMAIL-50.
---

Resolution: Fixed

Ben's patch works well. Applied.

 [email] HTML Emails with images don't display in Outlook 2000
 -

 Key: EMAIL-50
 URL: https://issues.apache.org/jira/browse/EMAIL-50
 Project: Commons Email
  Issue Type: Improvement
Affects Versions: 1.0
 Environment: Operating System: other
 Platform: Other
Reporter: Andrew Liles
Priority: Minor
 Fix For: 1.1

 Attachments: html-embed-images.patch, HtmlEmail.java.patch, 
 HtmlEmail2.java


 I was having a problem sending HTML Emails with inline image attachments 
 against
 the client Microsoft Outlook 2000 SP-3.  I am using commons-email-1.0.jar.
 This bug report proposes a solution include code.
 Suppose with an HtmlEmail I am embedding 2 images, adding an HTML part and 
 Text
 part.
 The resultant Body structure is:
 EntityContent-TypeEncoding
 1 text/plain  7bit
 2 multipart/related
 2.1   text/html   7bit
 2.2   image/jpeg  base64
 2.3   image/jpeg  base64
 Outlook, by default, shows the text part with the HTML email as an attachment
 (correctly showing the images).  My problem is that I think the HTML should 
 be
 shown by default.
 I am guessing that it is an issue with this particular email client and the 
 Body
 Structure format ?  (see here, for example: COM-1526)
 ---
 I have fixed this for my own purposes and am recording the details here for 
 the
 benefit of others.  I don't know whether this should be categorised as a bug 
 in
 commons-email-1.0.jar or a bug in Outlook.  I suspect the latter, but since 
 back
 versions of Outlook will never get fixed, the pragmatic solution is to alter
 commons-email, particularly in cases if you are targeting a known finite set 
 of
 email clients.
 I am fully expecting a committer to categorize this as WONTFIX, but at least 
 the
 attachment I will add may allow others to use my code.
 My code has been tested to work on:
   Microsoft Outlook Express 6.00
   Microsoft Outlook 2000 SP-3
   Microsoft Outlook 2002
   Microsoft Outlook 2003 
   Qualcomm Eudora 6.0.3.0
   SquirrelMail 1.5.1 (webmail client)
   Hotmail (as of November 2005)
   Gmail (as of November 2005)
 These clients are all happy to receive and display HTML emails in the expected
 way using this Body Structure:
 EntityContent-TypeEncoding
 1 multipart/alternative 
 1.1   text/plain  7bit
 1.2   text/html   7bit
 2 image/jpeg  base64
 3 image/jpeg  base64
 I have not tested with attachments that do not relate to the HTML and may not
 support this scenario; however this is not normal usage scenario (well, for me
 anyway).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Resolved: (EMAIL-52) [email] Identical Inline images should share same BodyPart

2007-02-22 Thread dion gillard (JIRA)

 [ 
https://issues.apache.org/jira/browse/EMAIL-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dion gillard resolved EMAIL-52.
---

Resolution: Fixed

Fixed in EMAIL-50

 [email] Identical Inline images should share same BodyPart
 --

 Key: EMAIL-52
 URL: https://issues.apache.org/jira/browse/EMAIL-52
 Project: Commons Email
  Issue Type: Improvement
Affects Versions: 1.0
 Environment: Operating System: other
 Platform: Other
Reporter: Andrew Liles
Priority: Minor
 Fix For: 1.1


 If you have an HTML email with spacer.gif repeated several times, then you 
 get
 that image included several times in the payload of the email.  An 
 optimization
 would be to share the sid across the several references.
 I have adapted HTMLEmail for my own purposes, and one of the fixes I have
 added is just such an optimization.
 Please could a Committer register their interest in this, and I will make a
 patch and submit for your consideration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Resolved: (EMAIL-28) [email] Problems with HTML emails with attachments and embedded images

2007-02-22 Thread dion gillard (JIRA)

 [ 
https://issues.apache.org/jira/browse/EMAIL-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dion gillard resolved EMAIL-28.
---

Resolution: Fixed

Fixed in EMAIL-50. Go Ben!

 [email] Problems with HTML emails with attachments and embedded images
 --

 Key: EMAIL-28
 URL: https://issues.apache.org/jira/browse/EMAIL-28
 Project: Commons Email
  Issue Type: Bug
Affects Versions: 1.0
 Environment: Operating System: Windows XP
 Platform: PC
Reporter: Phil Bretherton
 Fix For: 1.1


 I have three problems that are probably related. The results are using Mozilla
 Thunderbird.
 1. When I send an HtmlEmail with attachments, embedded images, an HTML body 
 and
 an alternative text body both the alternative text and the HTML are displayed.
 2. When I send an HtmlEmail with embedded images, no attachments, an HTML body
 and I do not provide an alternative text body, the HTML body is not displayed.
 3. When I send an HtmlEmail with attachments, embedded images, an HTML body 
 and
 I do not provide an alternative text, everything works almost fine. The only
 problem is that when the SMTP server is sending emails outside its domain it
 adds a disclaimer. The addition of this disclaimer means that only the
 disclaimer is displayed. This does not happend when using Javamail.
 Below is the class that I used for my tests.
 import java.net.MalformedURLException;
 import java.net.URL;
 import org.apache.commons.mail.EmailAttachment;
 import org.apache.commons.mail.EmailException;
 import org.apache.commons.mail.HtmlEmail;
 public class CommonsEmailTest {
   /**
* @param args
*/
   public static void main(String[] args) {
   try {
   testHtmlEmailWithAttachmentsAndEmbeddedImages();
   testHtmlEmailWithoutAttachmentsOrText();
   testHtmlEmailWithAttachmentsAndEmbeddedImagesNoText();
   } catch (MalformedURLException e) {
   e.printStackTrace();
   } catch (EmailException e) {
   e.printStackTrace();
   }
   }
   
   /**
* This method sends an HTML email with attachments, embedded images,
* an HTML body and an alternative text body. The result is that both
* the HTML and the text are displayed.
* 
* @throws EmailException
* @throws MalformedURLException
*/
   public static void testHtmlEmailWithAttachmentsAndEmbeddedImages() 
 throws
 EmailException, MalformedURLException {
   
   // Create the email message
   HtmlEmail email = new HtmlEmail();
   email.setHostName(smtp.capgemini.fr);
   email.addTo([EMAIL PROTECTED], You);
   email.setFrom([EMAIL PROTECTED], Me);
   email.setSubject(Test email with inline image and attachment);
   
   // Create the attachment
   EmailAttachment attachment = new EmailAttachment();
   attachment.setPath(D:/temp/mypic.jpg);
   attachment.setDisposition(EmailAttachment.ATTACHMENT);
   attachment.setDescription(A picture);
   attachment.setName(Thingy);
   
   email.attach(attachment);
   // embed the image and get the content id
   URL url = new 
 URL(http://www.apache.org/images/asf_logo_wide.gif;);
   String cid = email.embed(url, Apache logo);
   // set the html message
   email.setHtmlMsg(htmlThe apache logo - img 
 src=\cid:+cid+\/html);
   // set the alternative message
   email.setTextMsg(Your email client does not support HTML 
 messages);
   // send the email
   email.send();   
   }
   /**
* This method sends an HTML email with embedded images,
* an HTML body and no alternative text body. The result is that both
* the HTML is not displayed.
* 
* @throws EmailException
* @throws MalformedURLException
*/
   public static void testHtmlEmailWithoutAttachmentsOrText() throws
 EmailException, MalformedURLException {
   
   // Create the email message
   HtmlEmail email = new HtmlEmail();
   email.setHostName(smtp.capgemini.fr);
   email.addTo([EMAIL PROTECTED], You);
   email.setFrom([EMAIL PROTECTED], Me);
   email.setSubject(Test email with inline image and no 
 alternative text);
   
   // embed the image and get the content id
   URL url = new 
 URL(http://www.apache.org/images/asf_logo_wide.gif;);
   String cid = email.embed(url

svn commit: r510715 - in /jakarta/commons/proper/email/trunk/src: java/org/apache/commons/mail/Email.java test/org/apache/commons/mail/EmailTest.java

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 15:47:33 2007
New Revision: 510715

URL: http://svn.apache.org/viewvc?view=revrev=510715
Log:
EMAIL-54 Charset support

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java?view=diffrev=510715r1=510714r2=510715
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java 
(original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java 
Thu Feb 22 15:47:33 2007
@@ -16,6 +16,10 @@
  */
 package org.apache.commons.mail;
 
+import java.nio.charset.Charset;
+import java.nio.charset.IllegalCharsetNameException;
+import java.nio.charset.UnsupportedCharsetException;
+
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Date;
@@ -166,10 +170,10 @@
  * Defaults to the standard port ( 25 ).
  */
 protected String smtpPort = 25;
-
+
 /**
  * The port number of the SSL enabled SMTP server;
- * defaults to the standard port, 465. 
+ * defaults to the standard port, 465.
  */
 protected String sslSmtpPort = 465;
 
@@ -220,7 +224,7 @@
 protected boolean tls = false;
 /** does the current transport use SSL encryption? */
 protected boolean ssl = false;
-
+
 /**
  * Setting to true will enable the display of debug information.
  *
@@ -271,11 +275,15 @@
  * Set the charset of the message.
  *
  * @param newCharset A String.
+ * @throws IllegalCharsetNameException if the charset name is invalid
+ * @throws UnsupportedCharsetException if no support for the named charset
+ * exists in the current JVM
  * @since 1.0
  */
 public void setCharset(String newCharset)
 {
-this.charset = newCharset;
+Charset set = Charset.forName(newCharset);
+this.charset = set.name();
 }
 
 /**
@@ -344,7 +352,7 @@
 }
 
 /**
- * Set or disable the TLS encryption 
+ * Set or disable the TLS encryption
  *
  * @param withTLS true if TLS needed, false otherwise
  * @since 1.1
@@ -461,7 +469,7 @@
 properties.setProperty(MAIL_PORT, sslSmtpPort);
 properties.setProperty(MAIL_SMTP_SOCKET_FACTORY_PORT, 
sslSmtpPort);
 properties.setProperty(MAIL_SMTP_SOCKET_FACTORY_CLASS, 
javax.net.ssl.SSLSocketFactory);
-properties.setProperty(MAIL_SMTP_SOCKET_FACTORY_FALLBACK, 
false);
+properties.setProperty(MAIL_SMTP_SOCKET_FACTORY_FALLBACK, 
false);
 }
 
 if (this.bounceAddress != null)
@@ -482,34 +490,41 @@
  *
  * @param email An email address.
  * @param name A name.
+ * @param charsetName The name of the charset to encode the name with.
  * @return An internet address.
- * @throws EmailException Thrown when the address supplied or name were 
invalid.
+ * @throws EmailException Thrown when the supplied address, name or 
charset were invalid.
  */
-private InternetAddress createInternetAddress(String email, String name)
+private InternetAddress createInternetAddress(String email, String name, 
String charsetName)
 throws EmailException
 {
 InternetAddress address = null;
 
 try
 {
+address = new InternetAddress(email);
+
 // check name input
 if (EmailUtils.isEmpty(name))
 {
 name = email;
 }
 
-// Using this instead of new InternetAddress(email, name, 
[charset]) makes
-// commons-email usable with javamail 1.2 / J2EE 1.3
-address = new InternetAddress(email);
-
-if (EmailUtils.isNotEmpty(this.charset))
+// check charset input.
+if (EmailUtils.isEmpty(charsetName))
 {
-address.setPersonal(name, this.charset);
+address.setPersonal(name);
 }
 else
 {
-address.setPersonal(name);
+// canonicalize the charset name and make sure
+// the current platform supports it.
+Charset set = Charset.forName(charsetName);
+address.setPersonal(name, set.name());
 }
+
+// run sanity check on new InternetAddress object; if this fails
+// it will throw AddressException.
+address.validate();
 }
 catch (Exception e)
 {
@@ -520,7 +535,10 @@
 
 
 /**
- * Set the FROM field of the email.
+ * Set the FROM field of the email to use

[jira] Resolved: (EMAIL-54) [email] Add new class Charset

2007-02-22 Thread dion gillard (JIRA)

 [ 
https://issues.apache.org/jira/browse/EMAIL-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dion gillard resolved EMAIL-54.
---

Resolution: Fixed

Applied the charset-support patch. Looks fine.

 [email] Add new class Charset
 -

 Key: EMAIL-54
 URL: https://issues.apache.org/jira/browse/EMAIL-54
 Project: Commons Email
  Issue Type: Improvement
Affects Versions: 1.0
 Environment: Operating System: other
 Platform: Other
Reporter: Piero Ottuzzi
Priority: Minor
 Fix For: 1.1

 Attachments: charset-support.patch, Charset.java, Email.java.patch


 Add new class Charset the let the whole thing extensible and less error prone

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Resolved: (EMAIL-14) [email] not support content charset gb2312

2007-02-22 Thread dion gillard (JIRA)

 [ 
https://issues.apache.org/jira/browse/EMAIL-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dion gillard resolved EMAIL-14.
---

Resolution: Fixed

Fixed by EMAIL-54 patch

 [email] not support content  charset gb2312
 ---

 Key: EMAIL-14
 URL: https://issues.apache.org/jira/browse/EMAIL-14
 Project: Commons Email
  Issue Type: Bug
Affects Versions: 1.0
 Environment: Operating System: other
 Platform: Other
Reporter: locka
 Fix For: 1.1

 Attachments: commons-email-utf8.patch.txt, patch.java


 when i try the example :
 Email email=new SimpleEmail();
   email.setHostName(129.1.1.129);
   email.setAuthentication(admin,1);
   email.addTo([EMAIL PROTECTED], wjq);
   email.setFrom([EMAIL PROTECTED], Me);
   email.setCharset(gb2312);
   email.setSubject(²âÊÔ¼òµ¥Óʼþ);
   email.setMsg(ÕâÊDzâÊÔ¼òµ¥Óʼþ);   
   email.send();   
 the received mail content like  ,when change Email.TEXT_PLAIN 
 = text/plain to  TEXT_PLAIN = text/plain;charset=gb2312  , all are right

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Resolved: (EMAIL-25) [email] Address char-set can not be individually set

2007-02-22 Thread dion gillard (JIRA)

 [ 
https://issues.apache.org/jira/browse/EMAIL-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dion gillard resolved EMAIL-25.
---

Resolution: Fixed

Fixed by EMAIL-54

 [email] Address char-set can not be individually set
 

 Key: EMAIL-25
 URL: https://issues.apache.org/jira/browse/EMAIL-25
 Project: Commons Email
  Issue Type: Bug
Affects Versions: 1.0
 Environment: Operating System: other
 Platform: Other
Reporter: James Huang
Priority: Critical
 Fix For: 1.1


 The commons-email-1.0 release API has a critical flaw: you can't specify char-
 set for individual addresses. This is the case with some Japanese mail 
 systems.
 Currently, org.apache.commons.mail.Email class only has methods like
add(String email, String name);
 but no such methods:
addXXX(String email, String name, String charset);
 In addition, I believe the API should allow
addXXX(javax.mail.internt.InternetAddress);
 If you want to hide InternetAddress, I don't mind to even have a 
 addXXX(Object).
 Thanks,
 -James Huang

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510725 - in /jakarta/commons/proper/email/trunk/src: java/org/apache/commons/mail/Email.java test/org/apache/commons/mail/EmailTest.java

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 16:10:21 2007
New Revision: 510725

URL: http://svn.apache.org/viewvc?view=revrev=510725
Log:
Apply EMAIL-1 Patch. Thanks Ben.

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java?view=diffrev=510725r1=510724r2=510725
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java 
(original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java 
Thu Feb 22 16:10:21 2007
@@ -337,6 +337,18 @@
 this.charset = aContentType.substring(charsetPos);
 }
 }
+else
+{
+// use the default charset, if one exists, for messages
+// whose content-type is some form of text.
+if (this.contentType.startsWith(text/)  
EmailUtils.isNotEmpty(this.charset))
+{
+StringBuffer contentTypeBuf = new 
StringBuffer(this.contentType);
+contentTypeBuf.append(strMarker);
+contentTypeBuf.append(this.charset);
+this.contentType = contentTypeBuf.toString();
+}
+}
 }
 }
 

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java?view=diffrev=510725r1=510724r2=510725
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/EmailTest.java
 Thu Feb 22 16:10:21 2007
@@ -29,6 +29,7 @@
 import javax.mail.Authenticator;
 import javax.mail.Session;
 import javax.mail.internet.InternetAddress;
+import javax.mail.internet.MimeMessage;
 import javax.mail.internet.MimeMultipart;
 import javax.mail.internet.ParseException;
 
@@ -1341,4 +1342,70 @@
 assertEquals(strPassword, this.email.getPopPassword());
 }
 
+//
+// Test: When Email.setCharset() is called, a subsequent setContent()
+// should use that charset for text content types unless overridden
+// by the contentType parameter.
+// See https://issues.apache.org/jira/browse/EMAIL-1.
+//
+
+// Case 1:
+// Setting a default charset results in adding that charset info to
+// to the content type of a text/based content object.
+public void testDefaultCharsetAppliesToTextContent()
+throws Exception
+{
+this.email.setHostName(this.strTestMailServer);
+this.email.setSmtpPort(this.getMailServerPort());
+this.email.setFrom([EMAIL PROTECTED]);
+this.email.addTo([EMAIL PROTECTED]);
+this.email.setSubject(test mail);
+
+this.email.setCharset(ISO-8859-1);
+this.email.setContent(test content, text/plain);
+this.email.buildMimeMessage();
+MimeMessage msg = this.email.getMimeMessage();
+msg.saveChanges();
+assertEquals(text/plain; charset=ISO-8859-1, msg.getContentType());
+}
+
+// Case 2:
+// A default charset is overridden by an explicitly specified
+// charset in setContent().
+public void testDefaultCharsetCanBeOverriddenByContentType()
+throws Exception
+{
+this.email.setHostName(this.strTestMailServer);
+this.email.setSmtpPort(this.getMailServerPort());
+this.email.setFrom([EMAIL PROTECTED]);
+this.email.addTo([EMAIL PROTECTED]);
+this.email.setSubject(test mail);
+
+this.email.setCharset(ISO-8859-1);
+this.email.setContent(test content, text/plain; charset=US-ASCII);
+this.email.buildMimeMessage();
+MimeMessage msg = this.email.getMimeMessage();
+msg.saveChanges();
+assertEquals(text/plain; charset=US-ASCII, msg.getContentType());
+}
+
+// Case 3:
+// A non-text content object ignores a default charset entirely.
+public void testDefaultCharsetIgnoredByNonTextContent()
+throws Exception
+{
+this.email.setHostName(this.strTestMailServer);
+this.email.setSmtpPort(this.getMailServerPort());
+this.email.setFrom([EMAIL PROTECTED]);
+this.email.addTo([EMAIL PROTECTED]);
+this.email.setSubject(test mail);
+
+this.email.setCharset(ISO-8859-1);
+this.email.setContent(test content, application/octet-stream);
+this.email.buildMimeMessage();
+MimeMessage msg

[jira] Resolved: (EMAIL-1) [email] setCharset() in Email does not set the charset for the message content

2007-02-22 Thread dion gillard (JIRA)

 [ 
https://issues.apache.org/jira/browse/EMAIL-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dion gillard resolved EMAIL-1.
--

Resolution: Fixed

Applied.

 [email] setCharset() in Email does not set the charset for the message content
 --

 Key: EMAIL-1
 URL: https://issues.apache.org/jira/browse/EMAIL-1
 Project: Commons Email
  Issue Type: Bug
Affects Versions: 1.0
 Environment: Operating System: other
 Platform: Other
Reporter: James Mc Millan
 Fix For: 1.1

 Attachments: email-1.patch


 Hello
 More accurately, the charset is not used in buildMimeMessage() as it is not 
 part
 of the contentType used when calling message.setContent(). Since
 setContentType() updates the charset, I think it makes for setCharset() to
 update the contentType?
 James

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (EMAIL-56) [Email] Parsing MIME content.

2007-02-22 Thread dion gillard (JIRA)

[ 
https://issues.apache.org/jira/browse/EMAIL-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475245
 ] 

dion gillard commented on EMAIL-56:
---

I'm with Ben on this one. I think javamail is the appropriate tool for this 
sort of activity and it falls outside of what we're trying to do (keep it as 
simple as it needs to be) with commons email.

I'm happy to hear alternative views on it, though...

 [Email] Parsing MIME content.
 -

 Key: EMAIL-56
 URL: https://issues.apache.org/jira/browse/EMAIL-56
 Project: Commons Email
  Issue Type: Improvement
 Environment: Operating System: Windows XP
 Platform: Other
Reporter: Jose M. Ordax
Priority: Minor
 Fix For: 1.1


 This is not a bug, it is a Feature Request.
 It should be nice if the framework implements a way to create a 
 MultiPartMessage
 from an InputStream or a String with all the content of a real message got 
 from
 a POP3 or NNTP server.
 Currently it seems you have to create it manually adding headers and parts via
 methods. And I think in this way is not really useful.
 Thanks,
Chemi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510768 - /jakarta/commons/proper/email/trunk/xdocs/changes.xml

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 18:36:08 2007
New Revision: 510768

URL: http://svn.apache.org/viewvc?view=revrev=510768
Log:
document recent fixes

Modified:
jakarta/commons/proper/email/trunk/xdocs/changes.xml

Modified: jakarta/commons/proper/email/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/xdocs/changes.xml?view=diffrev=510768r1=510767r2=510768
==
--- jakarta/commons/proper/email/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/email/trunk/xdocs/changes.xml Thu Feb 22 18:36:08 
2007
@@ -23,9 +23,18 @@
 
   body
 release version=1.1-SNAPSHOT date=unreleased
+  action dev=dion type=fix issue=EMAIL-25 due-to=James Huang
+Address char-set can not be individually set.
+Fix provided by Ben Speakmon.
+  /action
+  action dev=dion type=fix issue=EMAIL-1 due-to=James Mc Millan
+setCharset() in Email does not set the charset for the message content.
+Fix provided by Ben Speakmon.
+  /action
   action dev=scolebourne type=fix 
 Enhance website
   /action
+  !--  TODO change bugzilla issues to corresponding jira ones --
   action dev=dion type=add issue=38944 due-to=Dave Cherkassky
 Added Email.setReplyTo(Collection)
   /action



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510774 - /jakarta/commons/proper/email/trunk/xdocs/changes.xml

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 18:46:53 2007
New Revision: 510774

URL: http://svn.apache.org/viewvc?view=revrev=510774
Log:
document recent fixes

Modified:
jakarta/commons/proper/email/trunk/xdocs/changes.xml

Modified: jakarta/commons/proper/email/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/xdocs/changes.xml?view=diffrev=510774r1=510773r2=510774
==
--- jakarta/commons/proper/email/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/email/trunk/xdocs/changes.xml Thu Feb 22 18:46:53 
2007
@@ -23,9 +23,32 @@
 
   body
 release version=1.1-SNAPSHOT date=unreleased
+  action dev=dion type=fix issue=EMAIL-62 due-to=Ben Speakmon
+Build patches to enforce source 1.4 and target 1.4 when compiling.
+  /action
+  action dev=dion type=fix issue=EMAIL-52 due-to=Andrew Liles
+Identical Inline images should share same BodyPart.
+Fixed by EMAIL-50.
+  /action
+  action dev=dion type=fix issue=EMAIL-28 due-to=Phil Bretherton
+Problems with HTML emails with attachments and embedded images.
+Fixed by EMAIL-50.
+  /action
+  action dev=dion type=fix issue=EMAIL-50 due-to=Andrew Liles
+HTML Emails with images don't display in Outlook 2000.
+Fix from Ben Speakmon.
+  /action
+  action dev=dion type=fix issue=EMAIL-54 due-to=Piero Ottuzzi
+Use JDK1.4 and java.nio.Charset instead of keeping our own.
+Fix from Ben Speakmon.
+  /action
+  action dev=dion type=fix issue=EMAIL-14 due-to=locka
+not support content charset gb2312.
+Fixed by EMAIL-54.
+  /action
   action dev=dion type=fix issue=EMAIL-25 due-to=James Huang
 Address char-set can not be individually set.
-Fix provided by Ben Speakmon.
+Fixed by EMAIL-54.
   /action
   action dev=dion type=fix issue=EMAIL-1 due-to=James Mc Millan
 setCharset() in Email does not set the charset for the message content.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510778 - /jakarta/commons/proper/email/trunk/xdocs/changes.xml

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 18:54:02 2007
New Revision: 510778

URL: http://svn.apache.org/viewvc?view=revrev=510778
Log:
change bugzilla issues to corresponding jira entry

Modified:
jakarta/commons/proper/email/trunk/xdocs/changes.xml

Modified: jakarta/commons/proper/email/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/xdocs/changes.xml?view=diffrev=510778r1=510777r2=510778
==
--- jakarta/commons/proper/email/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/email/trunk/xdocs/changes.xml Thu Feb 22 18:54:02 
2007
@@ -57,10 +57,10 @@
   action dev=scolebourne type=fix 
 Enhance website
   /action
-  !--  TODO change bugzilla issues to corresponding jira ones --
-  action dev=dion type=add issue=38944 due-to=Dave Cherkassky
+  action dev=dion type=add issue=EMAIL-45 due-to=Dave Cherkassky
 Added Email.setReplyTo(Collection)
   /action
+  !--  TODO change bugzilla issues to corresponding jira ones --
   action dev=dion type=fix issue=38656 due-to=Piero Ottuzzi
 If you provide a mailSession in tomcat you cannot send email using
 commons-email: the problem is mainly caused by typos or missing 
constant



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510779 - /jakarta/commons/proper/email/trunk/xdocs/changes.xml

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 18:55:57 2007
New Revision: 510779

URL: http://svn.apache.org/viewvc?view=revrev=510779
Log:
change bugzilla issues to corresponding jira entry

Modified:
jakarta/commons/proper/email/trunk/xdocs/changes.xml

Modified: jakarta/commons/proper/email/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/xdocs/changes.xml?view=diffrev=510779r1=510778r2=510779
==
--- jakarta/commons/proper/email/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/email/trunk/xdocs/changes.xml Thu Feb 22 18:55:57 
2007
@@ -60,17 +60,16 @@
   action dev=dion type=add issue=EMAIL-45 due-to=Dave Cherkassky
 Added Email.setReplyTo(Collection)
   /action
-  !--  TODO change bugzilla issues to corresponding jira ones --
-  action dev=dion type=fix issue=38656 due-to=Piero Ottuzzi
+  action dev=dion type=fix issue=EMAIL-37 due-to=Piero Ottuzzi
 If you provide a mailSession in tomcat you cannot send email using
 commons-email: the problem is mainly caused by typos or missing 
constant
 declaration.
   /action
-  action dev=dion type=add issue=37782
+  action dev=dion type=add issue=EMAIL-48
 Added TLS helper methods on Email
 and Added setMailSessionFromJNDI(String) helper method
   /action
-  action dev=dion type=fix issue=37902 due-to=Nuno Ponte
+  action dev=dion type=fix issue=EMAIL-7 due-to=Nuno Ponte
 Added HtmlEmail.embed(String,String) as a wrapper to embed(URL,String)
   /action
 /release
@@ -80,6 +79,7 @@
 Make sure that the unit tests don't fail under JDK 1.3.x with 
 java.net.BindException: Address already in use
   /action
+  !--  TODO change bugzilla issues to corresponding jira ones --
   action dev=henning type=update due-to=Niall Pemberton 
issue=36536
 Replace our usage of address.validate() with simpler code that allows
 commons-email to work with javamail 1.2 / J2EE 1.3 environment. Added 
an



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510784 - /jakarta/commons/proper/email/trunk/xdocs/changes.xml

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 19:05:24 2007
New Revision: 510784

URL: http://svn.apache.org/viewvc?view=revrev=510784
Log:
change bugzilla issues to corresponding jira entry

Modified:
jakarta/commons/proper/email/trunk/xdocs/changes.xml

Modified: jakarta/commons/proper/email/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/xdocs/changes.xml?view=diffrev=510784r1=510783r2=510784
==
--- jakarta/commons/proper/email/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/email/trunk/xdocs/changes.xml Thu Feb 22 19:05:24 
2007
@@ -79,22 +79,21 @@
 Make sure that the unit tests don't fail under JDK 1.3.x with 
 java.net.BindException: Address already in use
   /action
-  !--  TODO change bugzilla issues to corresponding jira ones --
-  action dev=henning type=update due-to=Niall Pemberton 
issue=36536
+  action dev=henning type=update due-to=Niall Pemberton 
issue=EMAIL-49
 Replace our usage of address.validate() with simpler code that allows
 commons-email to work with javamail 1.2 / J2EE 1.3 environment. Added 
an
 unit test which verifies the behaviour.
   /action
-  action dev=henning type=update due-to=Niall Pemberton 
issue=36535
+  action dev=henning type=update due-to=Niall Pemberton 
issue=EMAIL-58
 Add an unit test to check for invalid addresses.
   /action
-  action dev=henning type=update due-to=Stephen Colebourne 
issue=36486
+  action dev=henning type=update due-to=Stephen Colebourne 
issue=EMAIL-12
 Remove dependencies to commons-lang, allowing commons-email to exist 
without
 any external dependencies in an J2EE 1.4+ environment.
   /action
 /release
 release version=1.0-rc6-SNAPSHOT date=in Subversion
-  action dev=epugh type=update due-to=Troy Poppe issue=34056
+  action dev=epugh type=update due-to=Troy Poppe issue=EMAIL-51
 Improve MultiPartEmail to ease extending it.
   /action
   action dev=sgoeschl type=update
@@ -102,16 +101,16 @@
   /action
   action dev=dion type=updateAdd serialVersionUID to 
EmailException/action
   action dev=dion type=updateUse Dumbster 1.6 compiled with jdk13 
for testing/action
-  action dev=dion type=fix issue=34919 due-to=Eric Spiegelberg
+  action dev=dion type=fix issue=EMAIL-24 due-to=Eric Spiegelberg
 Refactor Hashtable usage to Map
   /action
-  action dev=epugh type=add due-to=Mark Lowe issue=32094
+  action dev=epugh type=add due-to=Mark Lowe issue=EMAIL-42
 Email throws EmailException wrapping underlying JavaMail exception
   /action
-  action dev=epugh type=add due-to=Corey Scott issue=32410
+  action dev=epugh type=add due-to=Corey Scott issue=EMAIL-32
 Change port for dumbster from 25 to 2500 to use unreserved port.
   /action
-  action dev=epugh type=add due-to=Corey Scott issue=32260
+  action dev=epugh type=add due-to=Corey Scott issue=EMAIL-3
 Add back in ByteArrayDataSource.
   /action
   action dev=epugh type=remove
@@ -121,16 +120,17 @@
 Output test emails to /target/test-emails as .txt files for manual
 review.
   /action
-  action dev=epugh type=add due-to=Mark Lowe issue=31904
+  action dev=epugh type=add due-to=Mark Lowe issue=EMAIL-19
 Inline attatchment encoding was incorrect.
   /action
   action dev=epugh type=add
 Integrate our own checkstyle config instead of using Turbine style 
only.
   /action
-  action dev=epugh type=add due-to=Joe Germuska issue=18968
+  action dev=epugh type=add due-to=Joe Germuska issue=EMAIL-55
 Clone the System.getProperties() call instead of putting random 
properties
 into it.
   /action
+  !--  TODO change bugzilla issues to corresponding jira ones --
   action dev=epugh type=add issue=16859
 Can't supply a javax.mail.Session to Commons Email component
   /action



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510788 - /jakarta/commons/proper/email/trunk/xdocs/changes.xml

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 19:19:09 2007
New Revision: 510788

URL: http://svn.apache.org/viewvc?view=revrev=510788
Log:
change bugzilla issues to corresponding jira entry

Modified:
jakarta/commons/proper/email/trunk/xdocs/changes.xml

Modified: jakarta/commons/proper/email/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/xdocs/changes.xml?view=diffrev=510788r1=510787r2=510788
==
--- jakarta/commons/proper/email/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/email/trunk/xdocs/changes.xml Thu Feb 22 19:19:09 
2007
@@ -130,14 +130,13 @@
 Clone the System.getProperties() call instead of putting random 
properties
 into it.
   /action
-  !--  TODO change bugzilla issues to corresponding jira ones --
-  action dev=epugh type=add issue=16859
+  action dev=epugh type=add issue=EMAIL-8
 Can't supply a javax.mail.Session to Commons Email component
   /action
-  action dev=epugh type=add issue=30973 due-to=Corey Scott
+  action dev=epugh type=add issue=EMAIL-23 due-to=Corey Scott
 HTML email with plain text alternative and attachments
   /action
-  action dev=epugh type=add issue=31762 due-to=Corey Scott
+  action dev=epugh type=add issue=EMAIL-33 due-to=Corey Scott
 Integrate use of Dumbster to supply a fake SMTP server.
   /action
   action dev=epugh type=add due-to=Corey Scott
@@ -146,7 +145,7 @@
   action dev=epugh type=update
 Update dependencies to latest available.
   /action
-  action dev=germuska type=add issue=18968
+  action dev=germuska type=add issue=EMAIL-55
 Support the delivery of bounced messages to an address other than 
from.
   /action
 /release



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510797 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 19:54:37 2007
New Revision: 510797

URL: http://svn.apache.org/viewvc?view=revrev=510797
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java?view=diffrev=510797r1=510796r2=510797
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java 
(original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/Email.java 
Thu Feb 22 19:54:37 2007
@@ -217,13 +217,13 @@
 /** the password to log into the pop3 server */
 protected String popPassword;
 
-/** The Session to mail with */
-private Session session;
-
 /** does server require TLS encryption for authentication */
-protected boolean tls = false;
+protected boolean tls;
 /** does the current transport use SSL encryption? */
-protected boolean ssl = false;
+protected boolean ssl;
+
+/** The Session to mail with */
+private Session session;
 
 /**
  * Setting to true will enable the display of debug information.
@@ -348,7 +348,7 @@
 contentTypeBuf.append(this.charset);
 this.contentType = contentTypeBuf.toString();
 }
-}
+}
 }
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510809 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailUtils.java

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 20:28:31 2007
New Revision: 510809

URL: http://svn.apache.org/viewvc?view=revrev=510809
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailUtils.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailUtils.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailUtils.java?view=diffrev=510809r1=510808r2=510809
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailUtils.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailUtils.java
 Thu Feb 22 20:28:31 2007
@@ -23,7 +23,8 @@
  * Utility methods used by commons-email.
  *
  * p
- * These methods are copied from other commons components (commons-lang) to 
avoid creating a dependency for such a small component.
+ * These methods are copied from other commons components (commons-lang) to 
avoid creating
+ * a dependency for such a small component.
  * /p
  *
  * p
@@ -39,8 +40,8 @@
 {
 /**
  * p
- * Random object used by random method. This has to be not local to the 
random method so as to not return the same value in the
- * same millisecond.
+ * Random object used by random method. This has to be not local to the 
random method
+ * so as to not return the same value in the same millisecond.
  * /p
  */
 private static final Random RANDOM = new Random();
@@ -131,9 +132,9 @@
  * /p
  *
  * p
- * If start and end are both code0/code, start and end are set to 
code' '/code and code'z'/code, the ASCII
- * printable characters, will be used, unless letters and numbers are both 
codefalse/code, in which case, start and end
- * are set to code0/code and codeInteger.MAX_VALUE/code.
+ * If start and end are both code0/code, start and end are set to 
code' '/code and code'z'/code,
+ * the ASCII printable characters, will be used, unless letters and 
numbers are both codefalse/code,
+ * in which case, start and end are set to code0/code and 
codeInteger.MAX_VALUE/code.
  * /p
  *
  * p
@@ -141,9 +142,9 @@
  * /p
  *
  * p
- * This method accepts a user-supplied [EMAIL PROTECTED] Random} instance 
to use as a source of randomness. By seeding a single [EMAIL PROTECTED]
- * Random} instance with a fixed seed and using it for each call, the same 
random sequence of strings can be generated
- * repeatedly and predictably.
+ * This method accepts a user-supplied [EMAIL PROTECTED] Random} instance 
to use as a source of randomness. By seeding a
+ * single [EMAIL PROTECTED] Random} instance with a fixed seed and using 
it for each call, the same random sequence of strings
+ * can be generated repeatedly and predictably.
  * /p
  *
  * @param count the length of random string to create
@@ -151,7 +152,8 @@
  * @param end the position in set of chars to end before
  * @param letters only allow letters?
  * @param numbers only allow numbers?
- * @param chars the set of chars to choose randoms from. If 
codenull/code, then it will use the set of all chars.
+ * @param chars the set of chars to choose randoms from. If 
codenull/code,
+ *  then it will use the set of all chars.
  * @param random a source of randomness.
  *
  * @return the random string
@@ -160,7 +162,14 @@
  *
  * @since Commons Lang v2.1, svn 201930
  */
-private static String random(int count, int start, int end, boolean 
letters, boolean numbers, char [] chars, Random random)
+private static String random(
+int count,
+int start,
+int end,
+boolean letters,
+boolean numbers,
+char [] chars,
+Random random)
 {
 if (count == 0)
 {



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510812 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 20:32:22 2007
New Revision: 510812

URL: http://svn.apache.org/viewvc?view=revrev=510812
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java?view=diffrev=510812r1=510811r2=510812
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/EmailException.java
 Thu Feb 22 20:32:22 2007
@@ -95,7 +95,7 @@
  */
 public EmailException(Throwable rootCause)
 {
-super(((rootCause == null) ? null : rootCause.getMessage()));
+super((rootCause == null) ? null : rootCause.getMessage());
 this.rootCause = rootCause;
 }
 
@@ -159,7 +159,7 @@
 {
 super.printStackTrace(out);
 
-if ((rootCause != null)  (JDK_SUPPORTS_NESTED == false))
+if (!JDK_SUPPORTS_NESTED  (rootCause != null))
 {
 out.print(Caused by: );
 rootCause.printStackTrace(out);



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510829 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 21:02:32 2007
New Revision: 510829

URL: http://svn.apache.org/viewvc?view=revrev=510829
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java?view=diffrev=510829r1=510828r2=510829
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
 Thu Feb 22 21:02:32 2007
@@ -60,6 +60,12 @@
 /** Definition of the length of generated CID's */
 public static final int CID_LENGTH = 10;
 
+/** prefix for default HTML mail */
+private static final String HTML_MESSAGE_START = htmlbodypre;
+/** suffix for default HTML mail */
+private static final String HTML_MESSAGE_END = /pre/body/html;
+
+
 /**
  * Text part of the message.  This will be used as alternative text if
  * the email client does not support HTML messages.
@@ -75,10 +81,6 @@
  */
 protected Map inlineImages = new HashMap();
 
-/** HTML prefix and suffix for default HTML mail */
-private static final String HTML_MESSAGE_START = htmlbodypre;
-private static final String HTML_MESSAGE_END = /pre/body/html;
-
 /**
  * Set the text content.
  *
@@ -199,7 +201,7 @@
  * codeEmailException/code. However, it is not guaranteed to catch
  * all cases, especially when the URL refers to a remote HTTP host that
  * may be part of a virtual host cluster.
- * 
+ *
  * @param url The URL of the file.
  * @param name The name that will be set in the filename header
  * field.
@@ -210,8 +212,8 @@
  */
 public String embed(URL url, String name) throws EmailException
 {
-InlineImage ii = null;
-
+InlineImage ii = null;
+
 // check if the URL contents have already been attached;
 // if so, return the cached CID value.
 if (inlineImages.containsKey(name))
@@ -221,7 +223,7 @@
 // as the one already associated with this name.
 if (url.equals(ii.getURL()))
 {
-return ii.getCid();
+return ii.getCid();
 }
 else
 {
@@ -232,7 +234,7 @@
 // NOTE: Comparing URLs with URL.equals() is known to be
 // inconsistent when dealing with virtual hosting over HTTP,
 // but since these are almost always files on the local machine,
-// using equals() should be sufficient.
+// using equals() should be sufficient.
 }
 
 // verify that the URL is valid
@@ -406,7 +408,7 @@
 public URL getURL() {
 return url;
 }
-
+
 /**
  * Returns the codeMimeBodyPart/code that contains the
  * encoded InlineImage data.
@@ -417,20 +419,20 @@
 {
 return mbp;
 }
-
+
 // equals()/hashCode() implementations, since this class
 // is stored as a entry in a Map.
-
+
 public boolean equals(Object obj)
 {
 if (this == obj) return true;
 if (!(obj instanceof InlineImage)) return false;
-
+
 InlineImage that = (InlineImage) obj;
-
+
 return this.cid.equals(that.cid);
 }
-
+
 public int hashCode()
 {
 return cid.hashCode();



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r510830 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java

2007-02-22 Thread dion
Author: dion
Date: Thu Feb 22 21:04:45 2007
New Revision: 510830

URL: http://svn.apache.org/viewvc?view=revrev=510830
Log:
checkstyle fixes

Modified:

jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java

Modified: 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java?view=diffrev=510830r1=510829r2=510830
==
--- 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/MultiPartEmail.java
 Thu Feb 22 21:04:45 2007
@@ -56,7 +56,7 @@
 private MimeMultipart container;
 
 /** The message container. */
-private BodyPart primaryBodyPart = null;
+private BodyPart primaryBodyPart;
 
 /** The MIME subtype. */
 private String subType;



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (EMAIL-64) Use wiser instead of dumbster for test cases

2007-02-13 Thread dion gillard (JIRA)

[ 
https://issues.apache.org/jira/browse/EMAIL-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472978
 ] 

dion gillard commented on EMAIL-64:
---

I'm with Ben.

 Use wiser instead of dumbster for test cases
 

 Key: EMAIL-64
 URL: https://issues.apache.org/jira/browse/EMAIL-64
 Project: Commons Email
  Issue Type: Improvement
Affects Versions: 1.1
Reporter: Ben Speakmon
 Fix For: 1.1


 Since the test cases depend on a snapshot of the dead project dumbster, the 
 tests should be changed to use the wiser test email server instead. Marking 
 as 1.1 fix since this should get done before 1.1 goes out the door.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (EMAIL-62) [email] Build patches to enforce source 1.4 and target 1.4 when compiling

2007-02-13 Thread dion gillard (JIRA)

[ 
https://issues.apache.org/jira/browse/EMAIL-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472986
 ] 

dion gillard commented on EMAIL-62:
---

Does anyone know why we're patching a Maven-generated build.xml file instead of 
just regenerating it?

Doesn't the maven ant plugin generate a build file with the correct javac task 
attributes?

 [email] Build patches to enforce source 1.4 and target 1.4 when compiling
 -

 Key: EMAIL-62
 URL: https://issues.apache.org/jira/browse/EMAIL-62
 Project: Commons Email
  Issue Type: Bug
Affects Versions: 1.1
Reporter: Ben Speakmon
 Fix For: 1.1

 Attachments: build.xml.patch, project.properties, 
 project.properties.patch


 Maven and Ant patches. Ant patch suppresses spurious 1.5 type safety warnings 
 when building commons-email on JDK = 1.5.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (EMAIL-62) [email] Build patches to enforce source 1.4 and target 1.4 when compiling

2007-02-12 Thread dion gillard (JIRA)

[ 
https://issues.apache.org/jira/browse/EMAIL-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472428
 ] 

dion gillard commented on EMAIL-62:
---

So this means that commons-email is now JDK 1.4+.

Has anyone surveyed the users and seen if we still have any on 1.3 that can't 
stay on email 1.0?

 [email] Build patches to enforce source 1.4 and target 1.4 when compiling
 -

 Key: EMAIL-62
 URL: https://issues.apache.org/jira/browse/EMAIL-62
 Project: Commons Email
  Issue Type: Bug
Affects Versions: 1.1
Reporter: Ben Speakmon
 Fix For: 1.1

 Attachments: build.xml.patch, project.properties, 
 project.properties.patch


 Maven and Ant patches. Ant patch suppresses spurious 1.5 type safety warnings 
 when building commons-email on JDK = 1.5.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (EMAIL-64) Use wiser instead of dumbster for test cases

2007-02-12 Thread dion gillard (JIRA)

[ 
https://issues.apache.org/jira/browse/EMAIL-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472429
 ] 

dion gillard commented on EMAIL-64:
---

How 'live' is wiser?

 Use wiser instead of dumbster for test cases
 

 Key: EMAIL-64
 URL: https://issues.apache.org/jira/browse/EMAIL-64
 Project: Commons Email
  Issue Type: Improvement
Affects Versions: 1.1
Reporter: Ben Speakmon
 Fix For: 1.1


 Since the test cases depend on a snapshot of the dead project dumbster, the 
 tests should be changed to use the wiser test email server instead. Marking 
 as 1.1 fix since this should get done before 1.1 goes out the door.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (EMAIL-64) Use wiser instead of dumbster for test cases

2007-02-12 Thread dion gillard (JIRA)

[ 
https://issues.apache.org/jira/browse/EMAIL-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472492
 ] 

dion gillard commented on EMAIL-64:
---

I'm happy to move to wiser, just wanted to make sure we're not going from dead 
project to dead project.

 Use wiser instead of dumbster for test cases
 

 Key: EMAIL-64
 URL: https://issues.apache.org/jira/browse/EMAIL-64
 Project: Commons Email
  Issue Type: Improvement
Affects Versions: 1.1
Reporter: Ben Speakmon
 Fix For: 1.1


 Since the test cases depend on a snapshot of the dead project dumbster, the 
 tests should be changed to use the wiser test email server instead. Marking 
 as 1.1 fix since this should get done before 1.1 goes out the door.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [all] Status of components

2007-02-08 Thread Dion Gillard

On 2/7/07, Henri Yandell [EMAIL PROTECTED] wrote:

I made a stab of defining the current status for Commons for the
Jakarta board report:

http://wiki.apache.org/jakarta/JakartaBoardReport-current

Here's the summary. Any thoughts on the ?? marks and the dormancy
candidates? Feel free to add things to the wiki page. I've not added
all of this yet.

Attributes - Needs a new release, after that a dormancy candidate.
BeanUtils - Inactive. 1.8.0 slowly being worked on.
Betwixt - Just released.
Chain - ??
CLI - Inactive. Dormancy candidate?
Codec - Inactive.
Collections - Inactive - new releases discussed but not much movement.
Configuration - Active.
Daemon - ?? Dormancy candidate?
DBCP - 1.2.2 release in the works.
DbUtils - 1.1 release made. No plans for 1.2.
Digester - ??
Discovery - 0.4 release made, nothing new planned. Dormancy candidate.
EL - ?? Dormancy candidate?
Email - Maybe a 1.1 release in the works. Not much activity yet.
FileUpload - 1.2 release in the works.
IO - 1.3 just released.
Jelly - ?? Dormancy candidate?


Again, little ongoing hard core development, but a little fix work and
experimentation happens.


Jexl - ?? Dormancy candidate?


Jexl gets a little bit of development here and there and has been
reasonably stable recently. We keep threatening to start Jexl 2.


JXPath - ?? Dormancy candidate?
Lang - 2.3 release in the works.
Launcher - Inactive. Dormancy candidate.
Logging - Needs a 1.1.1 release, no plans beyond that.
Math - Slow activity.
Modeler - Inactive - dormancy?
Net - New JDK 1.5 version in the works.
Pool - New version in the works.
Primitives - Inactive. Dormancy candidate?
SCXML - Active, just released.
Transaction - Release being discussed.
Validator - Active.
VFS - Active and releasing.

Dormant - Nothing likely to leave dormancy.

Sandbox - Nothing that looks like moving to proper anytime soon. Some
for dormancy (finder, id).

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
http://www.multitask.com.au/people/dion/
Rule of Acquisition #91: Hear all, trust nothing.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r504423 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java

2007-02-06 Thread dion
Author: dion
Date: Tue Feb  6 19:08:29 2007
New Revision: 504423

URL: http://svn.apache.org/viewvc?view=revrev=504423
Log:
remove unused import

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java?view=diffrev=504423r1=504422r2=504423
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/SendWithAttachmentsTest.java
 Tue Feb  6 19:08:29 2007
@@ -18,7 +18,6 @@
 
 import java.io.File;
 import java.io.IOException;
-import java.net.MalformedURLException;
 import java.net.URL;
 
 import org.apache.commons.mail.mocks.MockHtmlEmailConcrete;



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r503970 - /jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java

2007-02-05 Thread dion
Author: dion
Date: Mon Feb  5 19:55:51 2007
New Revision: 503970

URL: http://svn.apache.org/viewvc?view=revrev=503970
Log:
Add some messages to the asserts so that when they fail, we know what was 
happening.

Modified:

jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java

Modified: 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java?view=diffrev=503970r1=503969r2=503970
==
--- 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
 (original)
+++ 
jakarta/commons/proper/email/trunk/src/test/org/apache/commons/mail/BaseEmailTestCase.java
 Mon Feb  5 19:55:51 2007
@@ -116,7 +116,7 @@
 if (this.fakeMailServer != null  !this.fakeMailServer.isStopped())
 {
 this.fakeMailServer.stop();
-assertTrue(this.fakeMailServer.isStopped());
+assertTrue(Mail server didn't stop, 
this.fakeMailServer.isStopped());
 }
 
 this.fakeMailServer = null;
@@ -168,7 +168,7 @@
 this.fakeMailServer =
 SimpleSmtpServer.start(getMailServerPort());
 
-assertFalse(this.fakeMailServer.isStopped());
+assertFalse(fake mail server didn't start, 
this.fakeMailServer.isStopped());
 
 Date dtStartWait = new Date();
 while (this.fakeMailServer.isStopped())



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  1   2   3   4   5   6   7   8   9   10   >