You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Wendy Smoak <ja...@wendysmoak.com> on 2005/08/09 07:51:01 UTC

Struts-Faces build (was Re: Vote: ANT or Maven ... )

From: "Craig McClanahan" <cr...@gmail.com>

> Still builds with Ant?  That's the key for the nightlies.

Did it ever NOT build with Ant?  This whole thing started because Faces 
wouldn't build for me with Maven.  (And how did it get on this thread? 
There was another one for Faces...)

There's a build.xml file in the Faces directory that I assume you are using. 
I haven't touched it.  (At least, I don't think so... it's not one of those 
Maven-generated Ant build files you were talking about, is it?)

> PS:  Interestingly, one of the advantages Martin mentions for Maven
> (generates the web site for you) was *not* a particular motivator for
> the Struts web site, because we had already invested the pain and
> agony to build reasonable stylesheets for transformations from our
> xdocs files.  Good thing too ... if we had followed the conventional
> wisdom at the time (Anakia) we would still not be done converting :-).

Funny you should mention that... integrating the existing website into the 
Maven-built multiproject site what I've been working on tonight.  More on 
that later.  Or maybe tomorrow. :)

-- 
Wendy 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Struts-Faces build (was Re: Vote: ANT or Maven ... )

Posted by Wendy Smoak <ja...@wendysmoak.com>.
From: "Craig McClanahan" <cr...@gmail.com>

Craig wrote:
> There was talk on some thread or another ... hmm, I seem to
> remember a certain advocate for a compromise position :-) ... that you
> could have it both ways by simply generating a build.xml file from
> Maven.

I advocated for both... but not for Maven-generated Ant build files.  You 
brought those up wrt Commons projects, I think.

I was talking about Tiles (now we're back to the original topic) where I 
would like Maven to build it and install the .jar in the local repository so 
I can easily have it as a dependency in my own projects.  I just want Maven 
to "work" for Tiles, completely separate from whatever is happening with the 
Ant build.

-- 
Wendy







---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Struts-Faces build (was Re: Vote: ANT or Maven ... )

Posted by Craig McClanahan <cr...@gmail.com>.
On 8/8/05, Wendy Smoak <ja...@wendysmoak.com> wrote:
> From: "Craig McClanahan" <cr...@gmail.com>
> 
> > Still builds with Ant?  That's the key for the nightlies.
> 
> Did it ever NOT build with Ant?  This whole thing started because Faces
> wouldn't build for me with Maven.  (And how did it get on this thread?
> There was another one for Faces...)
> 
> There's a build.xml file in the Faces directory that I assume you are using.
> I haven't touched it.  (At least, I don't think so... it's not one of those
> Maven-generated Ant build files you were talking about, is it?)
> 

Yes, the Ant script is what I use (for myself and for the nightly
builds).  There was talk on some thread or another ... hmm, I seem to
remember a certain advocate for a compromise position :-) ... that you
could have it both ways by simply generating a build.xml file from
Maven.

As pointed out in a couple of other emails, it's not clear to me
whether that is sufficient to provide the functionality that the
current struts-faces build.xml script provides -- particularly in
adapting to the differences between the JSF RI and MyFaces.  I may be
ignorant in this respect (especially with respect to recent
innovations in Maven land), but this is a dealbreaker for struts-faces
(or Shale, for that matter) to rely on Maven.

> > PS:  Interestingly, one of the advantages Martin mentions for Maven
> > (generates the web site for you) was *not* a particular motivator for
> > the Struts web site, because we had already invested the pain and
> > agony to build reasonable stylesheets for transformations from our
> > xdocs files.  Good thing too ... if we had followed the conventional
> > wisdom at the time (Anakia) we would still not be done converting :-).
> 
> Funny you should mention that... integrating the existing website into the
> Maven-built multiproject site what I've been working on tonight.  More on
> that later.  Or maybe tomorrow. :)

Be interesting to see what you come up with.

> 
> --
> Wendy
> 

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org