+1 for bamboo, since it'll match the wiki and jira...
On Sep 23, 2010, at 10:35 AM, VANKEISBELCK Remi wrote:
> Hi Nikolaos,
>
> Thx for the kudos, always appreciated :)
>
> Yeah bamboo is more or less a drop-in war install too. They even have this
> full bundle with tomcat and all, which I used on other personal projects. I
> have no preference, the only requirements are :
> * built-in support for maven
> * http access to all logs (build log, stdout, surefire output etc)
> * notifications/dashboard
> As all CI tools implement those features, I think we can use any of them :) I
> must say I like bamboo for its neat interface (those guys at atlassian are
> good), but I'm open.
> I'll probably try to setup something on the contegix host, I'll check with
> Ben for the credentials etc. But I must say I quite dislike sysadmin, I'm bad
> at it...
>
> When it comes to convincing Ben, I'm sure we can get him to join the maven
> fans user group in the end, he's way too smart to miss that :)
>
> The first step is to have something working. The current, initial version
> does use antrun in order to do the multiple replaces etc. that we have in the
> ant build. It's impossible to do something like this in pure maven, unless
> you write mojos (which ain't very complex either btw), so it's not really a
> clean maven build yet...
>
> But once we'll start to adapt our source organization to fit maven
> completely, I think the benefits will just be obvious : a really simple build
> that everybody understands, no more jars commited in svn, etc., etc., etc. As
> you said, when you really start to use maven, you can't possibly get back to
> ant.
>
> So we can keep the two parallel builds, it's no real big deal as the build
> has almost never changed. But refactoring this would not hurt and would be
> more consistent eventually IMO.
>
> Cheers
>
> Remi
>
>
> 2010/9/23 Nikolaos Giannopoulos <[email protected]>
> Remi,
>
> Ditto on our end. We use Hudson. It's a WAR drop in into a Java web or app
> server like say Tomcat. Simple to configure.
> Though I don't know of any online C.I. platform personally.
>
> BTW I'm not sure your going to be able to convince Ben to like Maven. I have
> tried :-) But essentially either people love Maven or they hate it for a
> number of reasons. I can understand both sides however I have yet to meet a
> person that actually tried Maven, got it working for a while and didn't
> really love it. The critical words there "tried it" and "got it working for
> a while". So I guess what I am saying is that there will remain in Stripes
> both an Ant and Maven build process for some time to come and don't expect
> otherwise.
>
> I personally have used both and although Maven can be difficult to get going
> / used to - mostly because of all the pre-built things - once you do...
> eliminating huge chunks of Ant XML is simply a thing of beauty... akin to
> Struts configuration vs. Stripes... as you mentioned. The big win in my mind
> is all the dependency stuff and no more manual and often tedious jar
> dependency downloads... and if your missing something add the XML to your POM
> and your done. And of course the ease of getting the latest Stripes jar and
> dependencies.
>
> So in the end... Thank You for doing this... I tried and found some places
> where things were so non-standard that I would have had to use the Ant plugin
> for Maven (a little ironic) and didn't have the time to complete. Lastly,
> keep in mind that some people are of the opinion that if it ain't broke don't
> fix it. Which is valid if you don't use Maven but *invalid* if you do :-)
>
> In any event, keep up your passion b/c many are quite happy with what you
> have done and where this is heading. This is a great thing IMO for Stripes
> all around... and a critical 1st step in its future IMHO.
>
> Cheers,
>
> --Nikolaos
>
>
>
>
> VANKEISBELCK Remi wrote:
> If anyone knows about a C.I. platform online that we could use, please speak
> up !
>
> We could ask for an OSS bamboo (a very good CI tool from atlassian) license :
> http://www.atlassian.com/software/bamboo/licensing.jsp#nonprofit
>
> But we need a machine (with tomcat and a DB I guess) to install on it, plus
> the usual sys admin crap. An hosted would be better :)
>
> Cheers
>
> Remi
>
>
> 2010/9/23 Evan Leonard <[email protected]
> <mailto:[email protected]>>
>
>
>
> Yes, CI is a must have for my projects these days too!
>
>
> On Sep 23, 2010, at 8:26 AM, VANKEISBELCK Remi wrote:
>
> Allright, let's go then : I'll push 1.5.3 to sonatype and open a
> ticket so that they sync automatically.
> On minor issue : I already pushed 1.5.4-SNAPSHOT in order to test
> the build. I don't know if it's usable in Stripes app, but as you
> said it wasn't stable, I guess it's not ! Otoh, it's a SNAPSHOT
> release so it's not really a major issue. SNAPSHOTs are broken
> sometimes, if you don't like it, then use RELEASE versions :P
>
> Continuous Integration : it's basically about triggering builds
> when a commit is made. The C.I. tool scans the repo, checkouts if
> it finds some changes, and runs a build. It usually sends emails
> when builds fail, and many reports.
> The C.I. tool can run any build, it basically kicks a command, so
> it could be ant or maven.
> The advantage with maven is that when the build passes (no
> compile/test failures), the artifacts can be deployed
> automatically to some repo (sonatype) and made avilable to users
> directly.
>
> One main thing to notice : C.I. is good when trunk is "stable".
> If the build always fail, then C.I. is of no use. Otherwise it's
> really a good practice. We heavily use it at work, and honestly I
> couldn't do without now.
> For big projects, with inter-team dependencies, it's really a
> must have.
> For us in Stripes, it would avoid the burden of pushing the
> snapshots, ands provide a good indicator that the build has been
> broken.
>
> I'll try to setup something so that you can see how it works.
>
> Cheers
>
> Remi
>
> 2010/9/23 Ben Gunter <[email protected]
> <mailto:[email protected]>>
>
>
> It'd be fine with me if you want to release 1.5.3 that way. I
> was thinking that would probably be a good idea. As for your
> question about continuous integration, we have nothing of the
> sort set up, and I don't know anything about all that.
>
>
> On Thu, Sep 23, 2010 at 9:36 AM, VANKEISBELCK Remi
> <[email protected] <mailto:[email protected]>> wrote:
>
> Should work on OSX and all Sun JDK platforms.
>
> Ben, I see people pushing for a 1.5.3 central release in
> jira :
> http://www.stripesframework.org/jira/browse/STS-738
>
> I know you prefer to wait for 1.5.4-SNAPSHOT, but do you
> want to try out our new maven build with 1.5.3 ?
>
> Could be a good way to test that everything works on a
> stable codebase. I can use the 1.5.x freshly created poms
> on the 1.5.3 tag (I guess file structure is the same),
> deploy to sonatype, and see if they actually sync with
> central...
>
> What do you think ? That could kickstart the process.
>
> Cheers
>
> Remi
>
> PS : what about continuous integration ? do we have any
> kind of OSS account in some forge somewhere for that
> (bamboo, cruise control, you-name-it) ? If yes then it
> might be good to plug the maven build on it, then we
> would never have to even think about those deployment
> issues...
>
>
> 2010/9/23 Ben Gunter <[email protected]
> <mailto:[email protected]>>
>
>
> No, I never resolved that problem, which was one
> reason the effort stalled.
>
>
> On Wed, Sep 22, 2010 at 4:45 PM, Nikolaos
> Giannopoulos <[email protected]
> <mailto:[email protected]>> wrote:
>
> Soren,
>
> I take it you use a Mac like me. This has come
> up before and here is
> some lengthy discussion and solution options:
>
> http://www.mail-archive.com/[email protected]/msg03858.html
>
> Ben - I thought you had resolved this in the
> 1.5.x trunk?????
> Unfortunately I can't find any e-mail reply... .
>
> --Nikolaos
>
>
>
> Soren Pedersen wrote:
> > Hi Remi
> >
> > Thanks a lot! It really helps me out.
> >
> > I had the following issue when I ran mvn clean
> install from project root:
> >
> >
> >
>
> stripes\src\net\sourceforge\stripes\tools\SiteStructureTool.java:[20,33]
> > package com.sun.mirror.declaration does not exist
> >
> > I solved it by adding the following dependency
> to the parent pom:
> >
> > <dependency>
> > <groupId>com.sun</groupId>
> > <artifactId>tools</artifactId>
> > <version>1.4.2</version>
> > <scope>system</scope>
> >
> <systemPath>${java.home}/../lib/tools.jar</systemPath>
> > </dependency>
> >
> > Can this be included?
> >
> > I also have an issue with the cargo plugin
> which I assume is due to a
> > missing plugin repository. I'll look at it
> tomorrow.
> >
> > Thanks for a good job :)
> >
> > Regards
> >
> > Søren
> >
> > Den 22/09/2010 kl. 13.24 skrev VANKEISBELCK
> Remi <[email protected] <mailto:[email protected]>
> > <mailto:[email protected] <mailto:[email protected]>>>:
>
> >
> >> Hi again,
> >>
> >> Ok, now I have almost everything working just
> like in the ant build.
> >> There's only a small glitch with the tlddocs,
> but I guess we can live
> >> with that for the moment.
> >>
> >> Ben, could you provide me with the sonatype
> infos ? I've done some
> >> tests locally with nexus, and it seems to
> work. Building the full
> >> thing (mvn clean deploy -Prelease) deploys the
> following artifacts to
> >> the target repo :
> >> * stripes-parent (parent pom)
> >> * stripes (jar)
> >> * stripes-javadocs (jar)
> >> * stripes-src (jar)
> >> * stripes-tlddoc (jar)
> >>
> >> Now if the sonatype repo syncs automatically
> to central, I think
> >> we're done (or almost).
> >>
> >> Cheers
> >>
> >> Remi
> >>
> >>
> >> 2010/9/22 VANKEISBELCK Remi <[email protected]
> <mailto:[email protected]> <mailto:[email protected]
>
> <mailto:[email protected]>>>
> >>
> >> Hi folks,
> >>
> >> I have started to mavenize the build on
> 1.5.x, so that we can
> >> easier deploy to sonatype and sync with
> the central repo.
> >> No worries, I'm not breaking the ant
> build, you can still
> >> compile/test/package with ant as before.
> >> Well, almost : I had to changethe existing
> pom.xml in stripes/.
> >> It was use to create the pseudo bundle for
> maven, so I guess it's
> >> no big deal for the moment.
> >>
> >> I thought it would be a piece of cake but
> the ant build does a
> >> bit more than a few javacs, so I had to
> fight a little bit with
> >> maven plugins (antrun and the like).
> >>
> >> Anyway, it's a multi module project with
> the following structure :
> >> * stripes-parent (dep factorization etc)
> >> * stripes (core classes, tld)
> >> * tests (test cases + runner)
> >> * examples (examples webapp)
> >>
> >> (I had to do this test module because I
> didn't want to break the
> >> ant build. Otherwise it's quite regular.)
> >>
> >> Which means that running "mvn clean
> install" in the top-level
> >> folder will compile, test, package and
> install the stripes jar as
> >> well as the examples app in your local repo.
> >>
> >> Btw, there are test failures, the same
> than in the ant build.
> >> I've struggled a little bit to have the
> exact same tests results
> >> in ant and maven, because of test cases
> that have non
> >> conventional names etc, but in the end,
> the results of a test run
> >> are the same (same # of tests and failures).
> >> This means that for now if you want to
> build you need to pass
> >> "-Dmaven.test.skip" to your command line
> build.
> >>
> >> To test that everything works fine, you
> can use the cargo plugin
> >> in the examples :
> >> > cd examples/
> >> > mvn cargo:start
> -Dtomcat6.home=<path_to_local_tomcat_home>
> >> (I have the tomcat home in my
> ~/.m2/settings.xml, but this is up
> >> to you)
> >>
> >> This will deploy the examples in your
> tomcat and start it. Then
> >> the examples are available at
> >> http://localhost:8080/stripes-examples
> >>
> >> The TODO list :
> >> * Fine-tune stripes manifest (versions etc)
> >> * Javadoc/tlddoc (I haven't tested it but
> with tlddoc I doubt
> >> it's gonna work by magic)
> >> * Source copy in bugzooky (this "see the
> source code" feature is
> >> a build nightmare :P)
> >> * deploy plugin configuration (I need the
> sonatype url and
> >> credentials in order to do this)
> >> * ?
> >>
> >> It's a first shot, so don't hesitate to
> try it out and report any
> >> issue. It's commited, in branch 1.5.x, rev
> 1259.
> >>
> >> Cheers
> >>
> >> Remi
> >>
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North
> America contest
> Create new apps & games for the Nokia N8 for consumers in U.S.
> and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M
> in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to
> Ovi Store
>
> http://p.sf.net/sfu/nokia-dev2dev_______________________________________________
>
>
> Stripes-development mailing list
> [email protected]
> <mailto:[email protected]>
>
> https://lists.sourceforge.net/lists/listinfo/stripes-development
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> ------------------------------------------------------------------------
>
> _______________________________________________
> Stripes-development mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-development
>
>
>
> --
> Nikolaos Giannopoulos
> Director, BrightMinds Software Inc.
> e. [email protected]
> w. www.brightminds.org
> t. 1.613.822.1700
> c. 1.613.797.0036
> f. 1.613.822.1915
>
>
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development