Question about DBCP

2002-04-30 Thread Eric Pugh
Hi all, Can anyone provide pointers to open source sites using DBCP? I am trying to get DBCP to work with DbForms (www.dbforms.org). DbForms currently uses Poolman as it's suggested pool for JDBC connections, but it badly needs something newer and easier to set up! I have managed to tweak the

RE: Question about DBCP

2002-04-30 Thread Eric Pugh
Sorry, hit send button too quick. I am attaching my JUnit test that I am working with. Thanks, Eric -Original Message- From: Eric Pugh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 10:20 AM To: 'Jakarta Commons Developers List' Subject: Question about DBCP Hi all, Can

RE: Question about DBCP

2002-04-30 Thread Eric Pugh
.. Is there an attriubte specified that I can use to provide that, or do I have to work via passing it in via the property. Eric -Original Message- From: Eric Pugh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 1:19 PM To: 'Jakarta Commons Developers List' Subject: RE: Question about DBCP

RE: Question about DBCP

2002-04-30 Thread Eric Pugh
:07 PM To: Jakarta Commons Developers List Subject: RE: Question about DBCP On Tue, 30 Apr 2002, Eric Pugh wrote: Date: Tue, 30 Apr 2002 13:18:59 -0400 From: Eric Pugh [EMAIL PROTECTED] Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED] To: 'Jakarta Commons Developers List' [EMAIL

RE: Community (was: Re: You make the decision (was Re: Quick! convertall yourprojects to maven!))

2002-04-30 Thread Eric Pugh
As someone who uses Maven in his own projects (and is evangelizing it in other non Jakarta projects) I would love to see Common's built using Maven. But really, if Common's was built with either Maven or Krysalis, we would have some of the same advantages, not having to decipher build.xml files

RE: [pool] 1.0 release soon

2002-05-03 Thread Eric Pugh
I would love to see pool and dbcp make it to 1.0! I am using them to provide pooling for DBForms in a soon to be in production application.. And it just makes me feel better to know the code is all at least 1.0! Eric -Original Message- From: Craig R. McClanahan [mailto:[EMAIL

[PATCH] Small Documentation Error in NestableException

2002-06-05 Thread Eric Pugh
as NestedException: foo --- * rethrown as NestableException: foo 126a127 * @author a href=mailto:[EMAIL PROTECTED];Eric Pugh/a -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

[COLLECTIONS/BEANUTILS] Is there a comparator that can dynamically pick a method to call on a bean?

2002-06-07 Thread Eric Pugh
Hi all, I have a series of Torque objects that I want to sort. Sometimes I want to sort by MethodA, sometiems by MethodB. (Basically mapping onto all the columns in my database). Right now, I have a comparator compare method that looks like this: public int compare( Object o1, Object o2 ) {

RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamically pick a method to call on a bean?

2002-06-07 Thread Eric Pugh
; } catch ( Exception e ) { log.error( Problem in Sort. sortPolarity: + sortPolarity + , sortProperty: + sortProperty, e ); return 0; } } } Eric Pugh -Original Message- From: Henri Yandell [mailto

RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamically pick a method to call on a bean?

2002-06-07 Thread Eric Pugh
dynamically pick a method to call on a bean? -1 to the ASC/DESC bit. That shouldn't be in comparators in my opinion, instead use the ReverseComparator. What is Polarity vs Property? On Fri, 7 Jun 2002, Eric Pugh wrote: I forged ahead.. I had a need to sort in asc/desc... so I have added

RE: [Collections] ComparableComparator - nulls OK

2002-06-07 Thread Eric Pugh
+1, In my sorts, having to deal with nulls is causing me difficulties as well.. Although I could see something like any nulls being ignored as a type of behavior.. Sort everything, and drop the nulls! Eric -Original Message- From: Jonathan Carlson [mailto:[EMAIL PROTECTED]] Sent:

RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamically pick a method to call on a bean?

2002-06-10 Thread Eric Pugh
Message- From: Eric Pugh [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 2:07 PM To: 'Jakarta Commons Developers List' Subject: RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamically pick a method to call on a bean? Now I figured out why I have the Lowercase

RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamically pick a method to call on a bean?

2002-06-10 Thread Eric Pugh
Subject: RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamically pick a method to call on a bean? On Mon, 10 Jun 2002, Eric Pugh wrote: The other reason, and why I started down this path was the original big decimals: 2, 12, and 22, when compared as strings come out as 12, 2, 22

[SUBMIT][COLLECTIONS]

2002-06-12 Thread Eric Pugh
Hi all, I *think* I made all the changes for BeanComparator that were suggested.. I am still working on various changes to CaseInsensitiveIterator, but am not ready to submit that. So I wanted to go ahead and submit BeanComparator for inclusion in the Collections package. Thanks, Eric Pugh

RE: Three month contribution to Commons?

2003-08-14 Thread Eric Pugh
your own projects into Commons, to be granted karma you have to be around a while so people get to know you and are confortably with your approach to coding. Sincerely, Eric Pugh -Original Message- From: Jeff Epstein [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 5:44 AM To: [EMAIL

RE: [lang] Looking to the next version

2003-08-16 Thread Eric Pugh
.. If you make any improvements, send me a patch file until I can get this up on the maven plugins sourceforge site. Eric Pugh -Original Message- From: __matthewHawthorne [mailto:[EMAIL PROTECTED] Sent: Saturday, August 16, 2003 10:24 PM To: Jakarta Commons Developers List Subject: Re

[math] Would code for generating IC50 curves fit here?

2003-08-17 Thread Eric Pugh
Hi all, I am faced with a needing to generate IC50 (also called EC50) curves for a project. A) Does anyone know of any packages that do this? B) If not, would this be something of interest for Math? Eric Pugh

RE: [lang] .lang.math (WAS: Words - for 2.0)

2003-08-17 Thread Eric Pugh
I think from earlier posts the plan is to deprecate the methods in lang, but only after math reaches a 1.0 release. Eric Pugh -Original Message- From: Gary Gregory [mailto:[EMAIL PROTECTED] Sent: Sunday, August 17, 2003 7:00 PM To: '[EMAIL PROTECTED]' Subject: FW: [lang] .lang.math

RE: [math] Would code for generating IC50 curves fit here?

2003-08-17 Thread Eric Pugh
will post it to [math] as a proposal. Eric -Original Message- From: Al Chou [mailto:[EMAIL PROTECTED] Sent: Sunday, August 17, 2003 7:49 PM To: Jakarta Commons Developers List Subject: Re: [math] Would code for generating IC50 curves fit here? --- Eric Pugh [EMAIL PROTECTED] wrote: Hi all

[JELLY] JMS taglib examples?

2003-08-18 Thread Eric Pugh
Hi, Does anyone have any example code for the jms taglib? I tried to build it, and it failed on the JMS api. I swapped in j2ee.jar and it compiled, however I am not sure how to actually go about using the taglib. Thanks, Eric Pugh

RE: [Attributes] Inherit and Develop

2003-08-19 Thread Eric Pugh
I believe that as an Apache committer, you already have Karma for the sandbox. Eric Pugh -Original Message- From: Leo Sutic [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 1:01 PM To: 'Jakarta Commons Developers List' Subject: RE: [Attributes] Inherit and Develop From

RE: [naming] Getting started...

2003-08-24 Thread Eric Pugh
To: Jakarta Commons Developers List Subject: Re: [naming] Getting started... Eric Pugh wrote: As far as getting your two jars built, if you think that your opt jars are going to have a ton of odd/different dependencies, then using a single maven project and two subprojects works well. The sub

RE: [Attributes] Commons Attributes alive again

2003-08-26 Thread Eric Pugh
Have you thought about putting some links to basic information on attributes on the site? I am not familiar with what attributes are, but I will definitly go and look into them! Eric -Original Message- From: Leo Sutic [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 10:55 PM

[configuration] Change Commons-Configuration getVector to getSet?

2003-09-17 Thread Eric Pugh
to deprecate getVector() since we haven't released from sandbox yet? Eric Pugh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [configuration] Change Commons-Configuration getVector to getSet?

2003-09-18 Thread Eric Pugh
matters. Emmanuel Eric Pugh wrote: Hi all, I am looking at a chunk of code like this: Vector packages = Turbine.getConfiguration() .getVector(TurbineConstants.MODULE_PACKAGES); ObjectUtils.addOnce(packages

[configuration] Missed an email about providing a good AbstractConfiguration class

2003-09-25 Thread Eric Pugh
figure out how to make a nice easy to extend BaseConfiguration class? Eric Pugh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [configuration] Change Commons-Configuration getVector to getSet?

2003-09-25 Thread Eric Pugh
Is getCollection what is wanted, or getList()? I was under the impression that a collection isn't ordered.. And then you would have to cast to a List to pass the collection into anything that expects an ordered list. Eric -Original Message- From: Henning P. Schmiedehausen

RE: [configuration] Missed an email about providing a good AbstractConfiguration class

2003-09-26 Thread Eric Pugh
, if you want to donate your JDBCConfiguration, it would be much appreciated... Eric Pugh -Original Message- From: Konstantin Shaposhnikov [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 2:30 PM To: Jakarta Commons Developers List Subject: Re: [configuration] Missed

RE: [configuration] AbstractConfiguration

2003-09-29 Thread Eric Pugh
this class and may be I'll implement them for commons-configuration project. In any case I think that first we should refactor existing Configuration implementations to use AbstractConfiguration (of course if you accept it). On 17:41 Fri 26 Sep, Eric Pugh wrote: Konstantin, I

RE: [configuration] AbstractConfiguration

2003-09-30 Thread Eric Pugh
it with some of my apps for a day and then commit. I want to make sure the API change doesn't cause any problems. Then I would love to see any other refactorings you have. Maybe once we refactor to use AbstractCollection then would be time to push for a move out of sandbox... Eric Pugh -Original

RE: [configuration] AbstractConfiguration

2003-10-07 Thread Eric Pugh
AbstractConfiguration. On 17:28 Mon 29 Sep , Eric Pugh wrote: [configuration] AbstractConfigurationKonstantin, The changes look good. And I checked through the Turbine codebase, and the changes you propose don't look like they will cause problems Could you do me a favor

RE: [configuration]HierarchicalConfiguration

2003-10-14 Thread Eric Pugh
Oliver, So, if I understand properly, the reason is so that we refactor out the code so that you don't have to do a cut'n'paste job from the AbstractConfiguration to your new subclass.. Seems reasonable enough.. Why don't you submit a patch with your next chunk of code then? Oh, and the

RE: [configuration][PATCH]addProperty

2003-10-17 Thread Eric Pugh
specific reason for making Container nonstatic? Regards Oli - Original Message - From: Eric Pugh [EMAIL PROTECTED] To: 'Oliver Heger' [EMAIL PROTECTED]; 'Jakarta Commons Developers List' [EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:40 AM Subject: RE: [configuration

RE: [configuration][PATCH]HierarchicalConfiguration

2003-10-24 Thread Eric Pugh
Oliver, I wanted to look at your code, but I don't seem to have it as an attachement.. Could you resend it or open a bug and attach it? Thanks.. ERic -Original Message- From: Oliver Heger [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 3:02 PM To: Jakarta Commons

RE: [configuration]Enhanced patch and some thoughts

2003-10-30 Thread Eric Pugh
Wow! Lots of good feedback.. Let me start with the ConfigurationFactory. Okay.. CF sucks.. I discovered the problem with the files myself recently. What it really should work with is an InputStream or Url.. , since the xml file that digester uses could be in a jar. So, I totally agree with

RE: [Math] common-math and bloated 3rd party libraries

2003-11-05 Thread Eric Pugh
This backlash against multiple commons jars is happening in a lot of places. However, I think it is a bit shortsighted. If you are in a non server environment, I understand the problem, but in a server environment with lots of harddrive space, I don't. Additionally, since in a server app you are

RE: [configuration]Constructing a union of properties

2003-11-06 Thread Eric Pugh
I am traveling till monday, but I will check it out then.. Looks from first blush pretty great! -Original Message- From: Oliver Heger [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 5:43 PM To: Jakarta Commons Developer List Subject: [configuration]Constructing a union

RE: [configuration]More docs

2003-11-11 Thread Eric Pugh
Oliver, I would say that your English is better then 90% of the english speaking world, so don't feel hesitant writing docs. I recommend using the xdoc format as that is native to Maven, and I would add maybe some howto docs.. Maybe a: howto-configurationfactory.xml, howto-hierarchical.xml

RE: [configuration] order of compositeconfiguration items

2003-11-11 Thread Eric Pugh
I can see using insertConfigurationAt().. I really see the semantics of CompositeConfiguration as being close to List.. Since under the covers a CompositeConfiguration is just a list.. A patch (plus tests) would be welcome... Eric -Original Message- From: Gerry Duprey [mailto:[EMAIL

RE: [configuration]More docs

2003-11-14 Thread Eric Pugh
-Original Message- From: Eric Pugh [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 10:50 AM To: 'Jakarta Commons Developers List' Subject: RE: [configuration]More docs Oliver, I would say that your English is better then 90% of the english speaking world

[Configuration] Formatting of dom4j digester tag

2003-11-15 Thread Eric Pugh
Oliver, I was looking through the docs, and the /examples.html was a great way to go! Something that kinda jumped out at me, having really looked at the examples is the case where we want to load up a HierarchicalDOM4JConfiguration: dom4j

RE: [Configuration] Formatting of dom4j digester tag

2003-11-18 Thread Eric Pugh
, hieraDom4j, ...? (I have always trouble with comming up with a meaningful name). Hey, I really would like to see commons configuration comming out of the sandbox! Oli Eric Pugh wrote: Oliver, I was looking through the docs, and the /examples.html was a great way to go! Something that kinda

RE: [Configuration] Formatting of dom4j digester tag

2003-11-18 Thread Eric Pugh
have written for Turbine would do the major part, wouldn't it? Oh, and I unfortunately don't visit the javapolis conference. Oli Eric Pugh wrote: Humm... I thinking that either hierarchical or hierarchicalDom4j.. I don't have a problem with long names, I think long and explicit

RE: [configuration] Loading and Saving

2004-09-08 Thread Eric Pugh
I think it boils down to is anyone doing the work.. If Emmanuel is hot on getting this done in the very near future, then lets add it. Emmanuel, if you view this as a 2 week project to properly get done, then lets leave it for 1.0.1. There is no reason that 1.0.1 can't come out 2 or 3 weeks

RE: [configuration] Loading and Saving

2004-09-08 Thread Eric Pugh
] Loading and Saving Eric Pugh [EMAIL PROTECTED] writes: nulls, and then dump the nulls in the next version. I wouldn't worry too much about backwards compatibilty. We're at the 1.0 stage, and don't have that many users.. I think, as long as we document them, that there are Don't be too

RE: [general] Do we need to support Ant based builds?

2004-09-21 Thread Eric Pugh
Okay.. well, it sounds like the consensus is that Ant support is a Good Idea, so we'll keep it.. I'll play around with adding the Ant generation task to maybe our maven site goal so that we keep it up to date.. Mostly it's just an issue of keeping the script up to date with the Maven build..

RE: [configuration] Refactoring for file based configurations

2004-09-21 Thread Eric Pugh
use this: http://jakarta.apache.org/commons/io/apidocs/org/apache/commons/io/FileUtils .html At any rate, let's commit the darn thing and move onto the next RC! Eric Pugh -Original Message- From: Emmanuel Bourg [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 11:09 AM

RE: [configuration] Refactoring for file based configurations

2004-09-22 Thread Eric Pugh
If you have it all ready, lets get the refactoring checked in! Technically RC should be just to verify fixes and last minute stuff.. not a milestone on the way to 1.0! -Original Message- From: Emmanuel Bourg [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 7:35 PM To:

RE: [configuration] Refactoring for file based configurations

2004-09-22 Thread Eric Pugh
Emmanuel, how long till you have the refactored loading stuff committed? If its just a day or two, lets get it in.. If Friday comes with out, then the lets cut an RC2. I know Henning and I are attending OSCOM next week starting the 28th, and it would be good to have Turbine and Torque released

RE: [configuration] Refactoring for file based configurations

2004-09-22 Thread Eric Pugh
Subject: Re: [configuration] Refactoring for file based configurations Eric Pugh wrote: Emmanuel, how long till you have the refactored loading stuff committed? If its just a day or two, lets get it in.. If Friday comes with out, then the lets cut an RC2. I know Henning and I are attending

RE: [Configuration] feature request

2004-09-22 Thread Eric Pugh
I think there is a bug out there about a ReloadableConfiguratoin.. One way you could implement something like this is having a decorator that implements the functionality.. Configuration c = new PollingConfiguration(myFileConfiguration); And then all your logic would be in the

RE: Website maintainer?

2004-10-16 Thread Eric Pugh
Daniel, I know how frustrating it is to get your new project up and available.. Send me patchs and I'll try and do it (though I haven't done it before). Unfortunantly, I think you need commons-commit access which normally comes when 1) you are active in a commons project or 2) when your project

[configuration] RE: Commons Configuration Release 1.0

2004-10-05 Thread Eric Pugh
Fantastic Emmanuel.. I went to go and help you and all the work was done! Eric -Original Message- From: Emmanuel Bourg [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 12:00 AM To: [EMAIL PROTECTED] Cc: Eric Pugh Subject: Re: Commons Configuration Release 1.0 I fixed

RE: [i18n] New component - help needed

2004-10-05 Thread Eric Pugh
Danile, I just tossed in a fix. basically the parent project is broken.. not extending it works.. as far tas the script, just rerun on your box the entire script, and then upload the homepage. Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: [configuration] handling exceptions in AbstractConfiguration implementations

2004-10-06 Thread Eric Pugh
Hi Ricardo.. Sounds like you are working on something I've been wanting for a long time! At any rate.. I believe there is a ConfigurationRuntimeException that you could throw, even though it's not part of the API. I think the reason that most of the gets don't throw an exception is because 99%

RE: [CONFIGURATION] [CfV] Commons Configuration Version 1.0

2004-10-06 Thread Eric Pugh
Please vote now: [X] +1 - Yes [ ] 0 - I don't care [ ] -1 - No - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [configuration] handling exceptions in AbstractConfiguration implementations

2004-10-06 Thread Eric Pugh
. 678.910.8017 AIM: jmitchtx - Original Message - From: Ricardo Gladwell [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 8:07 AM Subject: Re: [configuration] handling exceptions in AbstractConfiguration implementations Eric Pugh

RE: [configuration] handling exceptions in AbstractConfiguration implementations

2004-10-06 Thread Eric Pugh
This is really driving me crazy.. I have tracked threads on general and jakarta-pmc mailing lists about this.. And everytime it comes down to I am not a lawyer and a bunch of FUD. We really need someone from the top of Apache to provide direction. I work a lot with hibernate code and can think

[configuration] RE: Commons/Config

2004-10-09 Thread Eric Pugh
MessageHi Mark.. You should send these to the mailing list, as you can then have exposure to your question by lots of experts, and everybody can learn! I am CC the list back. First off, check out the RC2, that has many many fixes. And 1.0 is expected as soon as Henning has a chance to cut it.

RE: cvs commit: jakarta-commons/configuration/src/test/org/apache/commons/configuration TestBaseConfiguration.java

2004-10-18 Thread Eric Pugh
Good fix.. However, ins;t there a class in commons lang that does that for us? Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 11:45 AM To: [EMAIL PROTECTED] Subject: cvs commit:

[Configuration] VectorSupport for Configuration

2004-10-18 Thread Eric Pugh
Hi all, I think we should remove the Vector support now that we are past 1.0. Should we add a VectorConfiguration class that decorates a regular Configuration and adds in the Vector methods? Or just not worry about it? Alternatively, should a VectorConfiguration live in the Turbine 2.3 source

RE: [Configuration] VectorSupport for Configuration

2004-10-18 Thread Eric Pugh
PROTECTED] Sent: Monday, October 18, 2004 9:29 PM To: [EMAIL PROTECTED] Subject: Re: [Configuration] VectorSupport for Configuration Eric Pugh [EMAIL PROTECTED] writes: I think we should remove the Vector support now that we are past 1.0. Should we add a VectorConfiguration class

[email]RE: [GUMP@brutus]: Project commons-email (in module jakarta-commons-sandbox) failed

2004-10-19 Thread Eric Pugh
Hi guys.. I just fixed it... I am just starting to learn about gump, which is a continous integration tool. It needs to know about all dependencies, so when commons-validator and oro where added, gump gave up the ghost! The fix is here:

RE: cvs commit: jakarta-commons/configuration/src/java/org/apache/commons/configuration AbstractConfiguration.java CompositeConfiguration.java Configuration.java

2004-10-19 Thread Eric Pugh
Unfortunantly, it only works when I can slip the change in without anyone knowing... ERic -Original Message- From: Henning P. Schmiedehausen [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 12:31 AM To: [EMAIL PROTECTED] Subject: Re: cvs commit:

RE: [email]RE: [GUMP@brutus]: Project commons-email (in module jakarta-commons-sandbox) failed

2004-10-19 Thread Eric Pugh
be in the bugzilla soon. Corey On Tue, 19 Oct 2004 10:02:44 +0100, Eric Pugh [EMAIL PROTECTED] wrote: Hi guys.. I just fixed it... I am just starting to learn about gump, which is a continous integration tool. It needs to know about all dependencies, so when commons-validator and oro where

RE: [feedparser] Getting Brad Neuberg CVS commit

2004-10-20 Thread Eric Pugh
If he is already a Jakarta committer, then sandbox commit privliges is automatic, just need to ask for it. Otherwise, if not, then you need to call for a [vote]. Eric -Original Message- From: Kevin A. Burton [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 1:01 AM To:

RE: [configuration] ConfigurationFactory namespaces

2004-10-20 Thread Eric Pugh
Simplicity I think is always a good idea.. I don't use it.. I will say, I am not too keen on the ConfiguraitonFactory anyway... I think I made a hash of things when first writing it... Eric -Original Message- From: Emmanuel Bourg [mailto:[EMAIL PROTECTED] Sent: Wednesday, October

RE: [feedparser] Getting Brad Neuberg CVS commit

2004-10-21 Thread Eric Pugh
I know it feels like a chicken and an egg sort of problem... One of the historical aspects of commons is that half the code came from other projects, and half started from scratch. At least for the code that came from other projects meant that they already had committers involved, facilitating

RE: [configuration] ConfigurationFactory namespaces

2004-10-21 Thread Eric Pugh
about this one, but ConfigurationFactory and CompositeConfiguration could maybe be merged... Emmanuel Bourg Eric Pugh wrote: Simplicity I think is always a good idea.. I don't use it.. I will say, I am not too keen on the ConfiguraitonFactory anyway... I think I made a hash

RE: [configuration] Concerns with ConfigurationRuntimeException

2004-10-21 Thread Eric Pugh
I think both arguments are valid. It depends on your use case. One of the obstacles with an interface like Configuration is that you don't know who is going to implement it. And some are reliable, and some are not. For the same reasons that the Map,Set,List interface don't throw checked

[email] Dumbster failing

2004-10-24 Thread Eric Pugh
Hi all, I am getting some java security issues with the current unit tests and dumbster. Can any one else (corey ;-) ) verify that they work properly? I thought it was my SMTP server, but I stopped that. Eric - To

RE: [email] tests configuartion

2004-10-24 Thread Eric Pugh
You probably where caught between my first commit and my last one! -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, October 24, 2004 10:43 PM To: Jakarta Commons Developers List Subject: Re: [email] tests configuartion Ah fixed .. I just cvs updated.

RE: [email] Dumbster failing

2004-10-25 Thread Eric Pugh
Go ahead and before doing any coding, send me a single patch with all the formatting chanes. No code changes! Then in the comments for the commit I can specify Code formatting cleanup, no changes. Just to confirm, your checkstyle plugin is using the standard jakarta formatting? Which, since I

[vote] Oliver Heger as Committer

2004-10-25 Thread Eric Pugh
Hi all, I would like to nominate Oliver Heger as a committer to Jakarta Commons. Oliver has been very active in the [configuration] project[1], and I feel gets the Jakarta way. He has partipated in doing a lot of the icky bug finding and fixing in [configuration] and will be an asset in

[configuration] Moving test resources to /src/test-resources

2004-10-25 Thread Eric Pugh
Hi all, I am using the updated Maven Eclipse plugin, and one of the difficulties that arises is that Eclipse (and therefore Maven) want each directory, if included as resources on Eclipse's classpath, to be different. Right now, in configuration we include the /conf directory a ton of times.

RE: [vote] Oliver Heger as Committer

2004-10-25 Thread Eric Pugh
[X] Yes, bring him in! [ ] Don't care [ ] No - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [configuration] Moving test resources to /src/test-resources

2004-10-25 Thread Eric Pugh
-Original Message- From: Eric Pugh [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 12:10 PM To: Commons-Dev Subject: [configuration] Moving test resources to /src/test-resources Hi all, I am using the updated Maven Eclipse plugin, and one of the difficulties that arises

RE: [configuration] Moving test resources to /src/test-resources

2004-10-25 Thread Eric Pugh
to /src/test-resources I'm not sure to understand the issue, why do you need to import /conf in your classpath ? That's for running the unit tests directly from Eclipse ? Emmanuel Bourg Eric Pugh wrote: Hi all, I am using the updated Maven Eclipse plugin, and one of the difficulties

[configuration] Any reason why JNDIConfiguration is readonly?

2004-10-25 Thread Eric Pugh
Anyone have a good reason whe JNDIConfiguration doesn't support setting properties? I was thinking of going for just a simple string storing of properties, not binding in Datasources or anything funky like that... Eric - To

RE: [configuration] Moving test resources to /src/test-resources

2004-10-25 Thread Eric Pugh
Eric Pugh [EMAIL PROTECTED] writes: By making this change we explicity list our test resources, they are in /src/test-resources. BTW: I would very much prefer src/test/resources or src/test/conf. With src/test being on the classpath anyway, the latter might even work without any changes

RE: [configuration] Any reason why JNDIConfiguration is readonly?

2004-10-25 Thread Eric Pugh
why JNDIConfiguration is readonly? Eric Pugh wrote: Anyone have a good reason whe JNDIConfiguration doesn't support setting properties? I was thinking of going for just a simple string storing of properties, not binding in Datasources or anything funky like that... Eric How to you

RE: [email] Dumbster failing

2004-10-25 Thread Eric Pugh
Not a problem. I appreciate your working with me on this. I am looking forward to getting [email] whipped into shape! ERi -Original Message- From: Corey Scott [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 7:21 PM To: [EMAIL PROTECTED] Cc: Jakarta Commons Developers

[email] was RE: Validator inside of Email.java (RE: [email] Dumbster failing)

2004-10-26 Thread Eric Pugh
with the @author tags? since some projects of Apache/Jakarta are removing them. Regards, Matthias -Original Message- From: Eric Pugh [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 11:35 PM Cc: Jakarta Commons Developers List Subject: RE: [email] Dumbster failing

RE: Validator inside of Email.java (RE: [email] Dumbster failing)

2004-10-26 Thread Eric Pugh
I think the question is the extra dependency.. Is it worth it? And, is there a way to make it optional? I actually am now back to the it should be optional as the validator class for emails has bugs against it for new email types. I think 4 letter suffixes don't pass for example.. However,

RE: [email] Anyone interested?

2004-10-26 Thread Eric Pugh
I guess it depends on the scope of the extra dependencies and functionality. This sounds like it's within the scope of [email]. It isnt called [sendemail]!Also, is this starting to intrude on the space that James has? Not looking to create a mail server, or anything. You may want to look at

RE: [email] Anyone interested?

2004-10-26 Thread Eric Pugh
Well.. As we add functionalty, it will drag along the dependencies. Which is okay if they aren't mandated. For example, in [configuration] you need very little for the base function. But, as you add in Configuration objects backed by JNDI, Databases, Servlet web.xml, etc, you need more and

RE: [email] Anyone interested?

2004-10-26 Thread Eric Pugh
Bases on the release early, release often criteria, maybe it makes sense to get the rest of Corey's unit tests patches in, and spend a bit of time verifing all the javadocs etc. Then do a 1.0 of whats there. That way we don't have to be quite as contrained by the existing API, as projects that

RE: [configuration] Any reason why JNDIConfiguration is readonly?

2004-10-27 Thread Eric Pugh
in XMLConfiguration, too, to update the internally used DOM tree. I wonder if this could be generalized. Oliver Eric Pugh wrote: Well.. I started on the bind/rebind stuff. and am having a really hard time of it... I can bind a property like this newprop just fine.. However, a property like

Align Commons Build and Commons Sandbox Build?

2004-10-27 Thread Eric Pugh
Hi all, Running into some annoying Maven problems w/ [email]. Dug into it and discovered that the jakarta-commons/commons-build is quite different from jakarta-commons-sandbox/sandbox-build files. This means that a project graduating from sandbox will build differently then expected. I'd like

RE: [email] test cases

2004-10-27 Thread Eric Pugh
All but the EmailTest should run.. Dumbster [1] fakes out your SMTP server, so you don't even need one. Of course, I am not sure what happens if you have a real smtp server running on port 25 and you use Dumbster. I assume you are running under Maven? Run maven test and most should work.

RE: Align Commons Build and Commons Sandbox Build?

2004-10-27 Thread Eric Pugh
, October 27, 2004 9:29 PM To: Jakarta Commons Developers List Subject: Re: Align Commons Build and Commons Sandbox Build? On Wed, 27 Oct 2004 11:15:25 +0200, Eric Pugh wrote: Hi all, Running into some annoying Maven problems w/ [email]. Dug into it and discovered that the jakarta

RE: [email] and net

2004-10-28 Thread Eric Pugh
Thanks.. I'll take a look at it. One of our objectives of 1.0 is to get something out soon. So we may put integration/reuse of net stuff for 1.1. But anything that gives ideas is great! -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich Sent: Thursday,

RE: [email] test cases

2004-10-28 Thread Eric Pugh
Also, isn't there a debug setting that you can use so you see the output of the STMP connection? Try that as well.. -Original Message- From: Corey Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 4:14 PM To: Jakarta Commons Developers List; Mark Lowe Subject: Re:

RE: [email] test cases

2004-10-29 Thread Eric Pugh
I can see the value of *actually* recieving the email. I think we could add it commented out to project.xml. And a FAQ entry (xdocs/faq.fml) about swapping between dumbster and really sending emails... Eric -Original Message- From: Corey Scott [mailto:[EMAIL PROTECTED] Sent:

RE: DO NOT REPLY [Bug 31934] - [mail] No smtp.jar in dependencies list

2004-10-29 Thread Eric Pugh
However, doesn't dumbster do that? From the examples (http://www.quintanasoft.com/dumbster/#Examples) server.stop(); assertTrue(server.getReceievedEmailSize() == 1); Iterator emailIter = server.getReceivedEmail(); SmtpMessage email = (SmtpMessage)emailIter.next();

RE: [email] test cases

2004-10-29 Thread Eric Pugh
that no exception is thrown. Mark On Fri, 29 Oct 2004 11:20:54 +0200, Eric Pugh [EMAIL PROTECTED] wrote: I can see the value of *actually* recieving the email. I think we could add it commented out to project.xml. And a FAQ entry (xdocs/faq.fml) about swapping between dumbster and really

RE: [email] test cases

2004-10-29 Thread Eric Pugh
: but was:null junit.framework.ComparisonFailure: expected: but was:null at org.apache.commons.mail.MultiPartEmailTest.testSetMsg(MultiPartEmailTest.jav a:86) -Original Message- From: Eric Pugh [mailto:[EMAIL PROTECTED] Sent: Friday, October 29, 2004 1:39 PM To: Jakarta Commons Developers

RE: [email] test cases

2004-10-29 Thread Eric Pugh
Cool.. I think you know then the path to fix the rest? The unicode seems to make sense to me. On the second part, is there ever a time we would want to send a null message? I can't think of one really, and the point of Email is to hide the complexity from you, so that sounds good to me.. Eric

RE: [email] test cases

2004-10-29 Thread Eric Pugh
Since I can't seem to apply a patch cleanly this week, sure, send it all in one. I have thought about the string compare approach, but often that can be very brittle. It's so easy for some environmental thing to happen and cause and extra or whatnot to creep in, and then it fails. Also, its a

Remove commons-xo from Gump?

2004-10-29 Thread Eric Pugh
Hi all, I'd like to broach removing commons-xo from Gump. It is currently listed as having 2 dependees, and I am pretty sure that is referring to jakarta-turbine-3 and jakarta-turbine-2. Jakarta-turbine-2 just removed the commons-xo dependency, and jakarta-turbine-3 will soon follow suit. In

  1   2   3   4   >