I think 2 is a better option for a general audience. Not everyone will want to use Maven and leaving a few Ant ready examples in place will help non-Maven users see how to set up their environment.
>From a maintenance perspective getting rid of the samples-lib folder and any Ant build scripts that need it makes a lot of sense. On Tue, Mar 15, 2011 at 10:19 AM, Oliver Wulff <[email protected]> wrote: > Hi Dan > > I just wanted to raise the same question right now and propose to remove all > the ant related artificats within CXF. > > +1 for 1) > > Oli > > ________________________________________ > Von: Daniel Kulp [[email protected]] > Gesendet: Dienstag, 15. März 2011 14:20 > An: [email protected] > Betreff: Proposal: drop ant build.xml files for samples requiring extra > stuff..... > > Right now, we have a samples-lib directory that contains some extra libs that > CXF doesn't require for anything, but various samples do. I'd like to go > ahead and remove that directory and the build.xml for samples that require it. > We have Maven poms for all the samples so the sample would still be buildable > and runnable with Maven, but not with Ant. > > I see some value in keeping SOME of the samples working with Ant as not > everyone uses Maven. However, shipping a bunch of libs just for a couple of > samples seems a bit silly. > > That said, a lot of projects have gone Maven only and don't provide any ant > scripts at all. We could also do that. So, there are two options: > > 1) Remove ant build support entirely > > 2) Remove ant build support for some of the samples, specifically anything > requiring extra libraries or extra ant configs and such. > > > What are peoples thoughts? I'm leaning more toward #2, but I could > definitely be persuaded to go #1. If we do go #1, I'd like to refactor the > samples into the standard maven structure (src/main/[java|resources]), but > that could be done over time as well. > > > > -- > Daniel Kulp > [email protected] > http://dankulp.com/blog > Talend - http://www.talend.com -- Principle Technical Writer Phone (781) 280-4174 Skype finnmccumial E-Mail [email protected] Blog http://documentingit.blogspot.com/
