Re: Maven2 and Functional/Integration Tests

2006-06-06 Thread Brett Porter
On 06/06/06, Craig McClanahan [EMAIL PROTECTED] wrote: Maven2 needs to support integration testing as a first class notion in the architecture of what you envision a project to be. It may not have been clear enough, but that's exactly what I meant in my last email. I thought this is what the

Re: Maven2 and Functional/Integration Tests

2006-06-06 Thread Wendy Smoak
On 6/5/06, Craig McClanahan [EMAIL PROTECTED] wrote: What's needed is a complete additional test environment, with its own lifecycle, and its own classpath (i.e. dependencies tagged to this scope so you only load things like HttpUnit or HtmlUnit here). If integration tests exist, they should be

Re: [SAF2] Tossing an idea around: PDFResult

2006-06-06 Thread Juan Ara
Hi all, I'm not as active as most of you, maybe I'm too new too dev-list, just learning the way to post and that stuff. I don't pretend to merchandise anything here, just giving clues hoping they are usefull ;) Yes, I agree, going the route of FOP, or something similar, certainly implies a

Re: [SAF2] Tossing an idea around: PDFResult

2006-06-06 Thread Ted Husted
On 6/5/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: Yeah, I think your right about that too. PDFBox looks interesting... although I'm not sure I want to build against something that hasn't had a 1.0 release yet (hehe, JWP excepted of course!! LOL) I wouldn't be concerned about that. After

Re: [Standalone Tiles] DefinitionsFactory and TilesContext

2006-06-06 Thread Antonio Petrelli
Hi Greg sorry for being late but I had to work hard yesterday afternoon. Greg Reddin ha scritto: Are you talking about readDefinitions(), addDefinitions(), etc. Could you post the changes you made to DefinitionsFactory and UrlDefinitionsFactory? I think that would give me a better idea of

Re: Request to publish Struts 1.3.5

2006-06-06 Thread Wendy Smoak
On 6/3/06, Erik Bertelsen [EMAIL PROTECTED] wrote: I have tweaked my build scripts a little and now successfully upgraded a handfull of Struts Action applications from 1.3.0 to 1.3.5-SNAPSHOT / (appears to be built on 29 May 2006). Seems to work well and as the distribution's contents has

Re: [Standalone Tiles] DefinitionsFactory and TilesContext

2006-06-06 Thread Greg Reddin
I don't know if I'll have time to look at the patch today, but I'll get to it ASAP. See one comment below: On Jun 6, 2006, at 7:28 AM, Antonio Petrelli wrote: But I think that most of the time addDefinitions() will be called at servlet init time and many of the components in TilesContext

Re: Request to publish Struts 1.3.5

2006-06-06 Thread Erik Bertelsen
2006/6/6, Wendy Smoak [EMAIL PROTECTED]: On 6/3/06, Erik Bertelsen [EMAIL PROTECTED] wrote: I have tweaked my build scripts a little and now successfully upgraded a handfull of Struts Action applications from 1.3.0 to 1.3.5-SNAPSHOT / (appears to be built on 29 May 2006). Seems to work

Re: [SAF2] Tossing an idea around: PDFResult

2006-06-06 Thread Joe Germuska
At 8:39 AM +0200 6/6/06, Juan Ara wrote: JasperReports (http://jasperreports.sourceforge.net) is an xml schema for iText, in a similar (but I think far more extensive and complex than yours). It handles XML files, turns them into iText code and the you pass a DataSource interface to fill the

Re: [SAF2] Tossing an idea around: PDFResult

2006-06-06 Thread Frank W. Zammetti
Joe, was there anything else along these lines that wasn't transitioned for this (or any other) reason? I'm wondering if a subproject at http://struts.sourceforge.net might be in order for such orphans? Frank Joe Germuska wrote: At 8:39 AM +0200 6/6/06, Juan Ara wrote: JasperReports

Re: Maven2 and Functional/Integration Tests

2006-06-06 Thread Craig McClanahan
On 6/5/06, Brett Porter [EMAIL PROTECTED] wrote: On 06/06/06, Craig McClanahan [EMAIL PROTECTED] wrote: Maven2 needs to support integration testing as a first class notion in the architecture of what you envision a project to be. It may not have been clear enough, but that's exactly what I

Re: Maven2 and Functional/Integration Tests

2006-06-06 Thread Wendy Smoak
On 6/5/06, Wendy Smoak [EMAIL PROTECTED] wrote: The problem I keep running into is that there is only one build/testSourceDirectory, and there is no profile/build/testSourceDirectory in the model. If that existed, it seems like you could get another execution of Surefire using a second source

[shale] Best practice for unit testing Tag class?

2006-06-06 Thread Sean Schofield
Is there a recommended practice for testing out my JSP Tag classes? Is this even desirable? I'm thinking that its nice to verify that values and value bindings are being set properly. Maybe we could add something to shale-test that could combine the mock stuff with a real tag? I'm still

RE: Maven2 and Functional/Integration Tests

2006-06-06 Thread David H. DeWolf
I haven't been successful at getting Surefire to run during integration-test instead of test, but I have a couple of questions out on [EMAIL PROTECTED] looking for ideas. I've been lucky find a solution, but it took a bit of playing around. The key problem I was having was making sure

Re: Maven2 and Functional/Integration Tests

2006-06-06 Thread Wendy Smoak
On 6/6/06, David H. DeWolf [EMAIL PROTECTED] wrote: I've been lucky find a solution, but it took a bit of playing around. The key problem I was having was making sure that: 1) the tests were in src/it were compiled in addition to src/test 2) the integration tests were not executed during test

Re: [shale] Best practice for unit testing Tag class?

2006-06-06 Thread Craig McClanahan
On 6/6/06, Sean Schofield [EMAIL PROTECTED] wrote: Is there a recommended practice for testing out my JSP Tag classes? Is this even desirable? I'm thinking that its nice to verify that values and value bindings are being set properly. Maybe we could add something to shale-test that could

Re: [SAF2] Tossing an idea around: PDFResult

2006-06-06 Thread Martin Cooper
On 6/5/06, Joe Germuska [EMAIL PROTECTED] wrote: At 3:38 PM -0400 6/5/06, Frank W. Zammetti wrote: Not a bad idea... I've never been a big fan of XSLT, always seemed overly difficult to me for what it was, but certainly sticking with a standard has appeal, and I've done a little bit of FOP

Re: svn commit: r412280 - /struts/shale/branches/mvn_reorg/shale-clay/pom.xml

2006-06-06 Thread Wendy Smoak
On 6/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Final refinement ... perform this copy in process-resources phase, which is more logical. It works because the plugin goals are added on to the end of the existing goals for a phase (the standard resource copying has to occur first for this

Re: [SAF2] Tossing an idea around: PDFResult

2006-06-06 Thread Frank W. Zammetti
Martin Cooper wrote: I agree that this doesn't sound like something that should happen here. Your saying that in terms of the custom XML wrapper around iText/PDFBox/whatever, right? I.e., going the FOP direction is a different story, right? I do agree, even though I've already done it

Re: [SAF2] Tossing an idea around: PDFResult

2006-06-06 Thread Martin Cooper
On 6/6/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: Martin Cooper wrote: I agree that this doesn't sound like something that should happen here. Your saying that in terms of the custom XML wrapper around iText/PDFBox/whatever, right? Yes. I.e., going the FOP direction is a different

Re: [SAF2] Tossing an idea around: PDFResult

2006-06-06 Thread Craig McClanahan
On 6/6/06, Martin Cooper [EMAIL PROTECTED] wrote: On 6/6/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: Martin Cooper wrote: I agree that this doesn't sound like something that should happen here. Your saying that in terms of the custom XML wrapper around iText/PDFBox/whatever, right?

Re: [SAF2] Tossing an idea around: PDFResult

2006-06-06 Thread Frank W. Zammetti
Martin Cooper wrote: No. FOP = whatever. I consider anything -- PDF to be out of scope / too specialised here. Ah, ok, gotcha, I understand now :) PDF generation is a fairly common thing to do from a webapp though, no? I know I've had to do it plenty... WW has always been, from what I've

Re: [SAF2] Tossing an idea around: PDFResult

2006-06-06 Thread Martin Cooper
On 6/6/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 6/6/06, Martin Cooper [EMAIL PROTECTED] wrote: On 6/6/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: Martin Cooper wrote: I agree that this doesn't sound like something that should happen here. Your saying that in terms of