Would be one way of being able to work on it, as trying to black-box
dumbster. I'd certainly prefer working with it as a jakarta project,
just because things are more workable than the source forge
registration and such like.
I have to admit i do like the look of dumbster, I can see why eric
digs it also.
I think if teh SMTP server extends thread, and can be used for the
duration of the tests, then I can see that perhaps working. See what
eric says as he's the man with the karma.
Mark
On Thu, 4 Nov 2004 00:48:44 +0800, Corey Scott <[EMAIL PROTECTED]> wrote:
> To tell you the truth I was tempted to copy the 'usefull' code into
> our tests area and see if this fixed the problem. And if so, then
> maybe getting the owners permission to incorporate it officially.
>
> What do you think?
> -Corey
>
>
>
>
> On Wed, 3 Nov 2004 17:37:06 +0100, Mark Lowe <[EMAIL PROTECTED]> wrote:
> > I'm having a crack at the dumbster, i suspect its something to do with
> > the smtp server being wrapped in a thread for the start method.
> >
> > This is basically where its breaking, and the fact that Threads are
> > involved could help explain why there are differences on different
> > platforms.
> >
> > public static SimpleSmtpServer start(int port) {
> > SimpleSmtpServer server = new SimpleSmtpServer(port);
> > Thread t = new Thread(server);
> > t.start();
> > return server;
> > }
> >
> > Something tells me this is the root of the trouble.. But need a bit of
> > time to confirm this.
> >
> >
> >
> > On Wed, 3 Nov 2004 23:58:21 +0800, Corey Scott <[EMAIL PROTECTED]> wrote:
> > > I agree with Mark, although I havent quite given up yet. As an
> > > appendix to my previous mail, the dumbster unit tests work on Redhat,
> > > albeit slowly. I am going to continue to fiddle a little more, but am
> > > quickly running out of patience. That said, I do have a question for
> > > you all. Has anyone had any experience problems with the
> > > java.net.ServerSocket on unix? Cause as far as I can figure the
> > > problem is either this or the fact that is opens threads to do its
> > > work (although I think this is quite unlikely.
> > >
> > > Thanks for any help,
> > > Corey
> > >
> > >
> > >
> > >
> > > On Wed, 3 Nov 2004 15:54:43 +0100, Mark Lowe <[EMAIL PROTECTED]> wrote:
> > > > Well dumpster doesn't work on *nix. That means in my book it doesn't
> > > > work. I've got the source but as there appears to be nothing in CVS
> > > > its hard to know if thats this current version or not.
> > > >
> > > > I registered with SF but this apparently doesn't allow me to enter
> > > > bugs, which is pretty shit.
> > > >
> > > > With a dumbster not working on sensible platforms, I cant have any
> > > > hope of submitting any patches I need, and not being able to run the
> > > > test cases makes using commons email too risky. I may as well write my
> > > > own mail api wrappers rather than washing out time on SF registrations
> > > > and other such self mutilation exercises.
> > > >
> > > > I'm happy to send patches that use the smtp.jar to test, but cant
> > > > afford to get bogged down in the dumpster business any longer. Its
> > > > introduced more problems than it solves. And the tortured way that SF
> > > > want endless registrations, is not inviting me to work on it, there's
> > > > no dumbster in CVS so dumbster can byte me as far as i'm concerned. I
> > > > want to work on commons email, not dumbster but I cant while this
> > > > dependency is there.
> > > >
> > > > Mark
> > > >
> > > >
> > > >
> > > >
> > > > On Wed, 3 Nov 2004 15:12:02 +0100, Eric Pugh <[EMAIL PROTECTED]> wrote:
> > > > > We could do something like.. The thing is that dumbster (not dumpster
> > > > > funnily enough :-) ) is meant to make our testing lives easier, not harder..
> > > > > Dumbster is only used in the unit tests so.. ARgh.
> > > > >
> > > > > Eric
> > > > >
> > > > >
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> > > > > > Sent: Wednesday, November 03, 2004 2:45 PM
> > > > > > To: Jakarta Commons Developers List; [EMAIL PROTECTED]
> > > > > > Subject: RE: Steps prior to graduating from Sandbox
> > > > > >
> > > > > >
> > > > > >
> > > > > > Hi,
> > > > > > Maybe a 1.0 release doesn't have dumpster support, and a 1.1 release
> > > > > > does ;)
> > > > > >
> > > > > > Yoav Shapira http://www.yoavshapira.com
> > > > > >
> > > > > >
> > > > > > >-----Original Message-----
> > > > > > >From: Eric Pugh [mailto:[EMAIL PROTECTED]
> > > > > > >Sent: Wednesday, November 03, 2004 7:49 AM
> > > > > > >To: Jakarta Commons Developers List; Corey Scott
> > > > > > >Subject: RE: Steps prior to graduating from Sandbox
> > > > > > >
> > > > > > >Okay.. If dumbster doesn't work on *nix, then maybe we need to make it
> > > > > > >more
> > > > > > >configurable about when to run it.. Can do stuff like only run on
> > > > > > windows
> > > > > > >or something. Mark, As far as the SF site, you'll want to setup an ID!
> > > > > > >You'll soon discover that tons of stuff in the OSS world is there.. :-)
> > > > > > >Also, in terms of support, he is probably preferring posts through the
> > > > > > >forum
> > > > > > >so that other unix types may see yoru bug and chime in, or learn from
> > > > > > your
> > > > > > >difficulties!
> > > > > > >
> > > > > > >Eric
> > > > > > >
> > > > > > >> -----Original Message-----
> > > > > > >> From: Corey Scott [mailto:[EMAIL PROTECTED]
> > > > > > >> Sent: Wednesday, November 03, 2004 1:01 PM
> > > > > > >> To: Jakarta Commons Developers List; Mark Lowe
> > > > > > >> Subject: Re: Steps prior to graduating from Sandbox
> > > > > > >>
> > > > > > >>
> > > > > > >> Mark,
> > > > > > >>
> > > > > > >> I have been trying to get this to work on my Redhat box, after quite
> > > > > > a
> > > > > > >> bit of time the conclusion is it doesnt. I have created a Maven
> > > > > > build
> > > > > > >> script for dumbster and the maven test goal doesnt run with the unit
> > > > > > >> test that come with the dumbster.
> > > > > > >>
> > > > > > >> I am going to try to fiddle with the dumbster source and see what I
> > > > > > >> can come up with but at this stage I am not hopefull.
> > > > > > >>
> > > > > > >> -Corey
> > > > > > >>
> > > > > > >> ---------------------------------------------------------------------
> > > > > > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > >> For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > > >
> > > > > > >
> > > > > > >---------------------------------------------------------------------
> > > > > > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > >For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > This e-mail, including any attachments, is a confidential
> > > > > > business communication, and may contain information that is
> > > > > > confidential, proprietary and/or privileged. This e-mail is
> > > > > > intended only for the individual(s) to whom it is addressed, and
> > > > > > may not be saved, copied, printed, disclosed or used by anyone
> > > > > > else. If you are not the(an) intended recipient, please
> > > > > > immediately delete this e-mail from your computer system and
> > > > > > notify the sender. Thank you.
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]