That seems like quite a hack and going to be a bit awkward to the unsuspecting user/developer. But I honestly don't have a better option right now. I've already started the process of consolidating the various common maven configuration stuff. I'll be checking things in this weekend and next week.


-- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx

----- Original Message ----- From: "Martin Cooper" <[EMAIL PROTECTED]>
To: "Struts Developers List" <dev@struts.apache.org>
Sent: Saturday, February 19, 2005 1:03 PM
Subject: Re: Building Struts



On Sat, 19 Feb 2005 10:25:02 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote:

I am not really familiar with svn:externals, but it sounds great. I'm not
100% sure that (2) is true, at least, if we're going to use maven dist to
build distros. But even if we have to do a little, it will be much more
straightforward.

Yes, you're right. We will need to tell Maven to include the build directory. But that should be pretty straightforward.

If everyone's OK with this, I'll have a go at it tomorrow, if nobody
beats me to it. (I'll be out all day today, starting about 5 minutes
from now ;).

--
Martin Cooper



(for those who are interested: Chapter 7. Advanced Topics: Externals Definitions http://svnbook.red-bean.com/en/1.1/ch07s03.html )


I'm +1 on this approach. From the tail end of the page from the SVN book,
it looks like we'll have to be conscious of some issues if we do any future
repository re-orgs, but hopefully we won't have to.



Joe




At 7:43 AM -0800 2/19/05, Martin Cooper wrote: By using svn:externals, we gain several things:

 1) We get a "free" copy of 'build' along with each subproject, meaning
 that it doesn't have to be checked out separately to build one
 subproject. Checking out 'core', for example, would be enough to build
 core.

 2) The "free" copy means that we don't have to do anything special
 when building the source distros, since the 'build' directory will
 already be part of the checked out subproject when the distro is being
 created.

 3) We don't have to mess with Maven properties to deal with two
 different build scenarios (i.e. checked out vs. source distro).

 4) It's really simple! :-)

 WDYT?



--

Joe Germuska
 [EMAIL PROTECTED]
 http://blog.germuska.com
 "Narrow minds are weapons made for mass destruction"  -The Ex

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to