[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] How to manage builds

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-02-09 21:38:03 CET

On 2/9/07, lightbulb432 <veerukrishnan@hotmail.com> wrote:
>
>
> I'm dealing with some libraries that I obtain from the developers' remote
> Subversion repositories. Within Eclipse I therefore have both my
> application
> project and the remote library's project grabbed out of Subversion. My
> application depends on their libraries. (By the way, I'm using Java.)
>
> What is the best practice regarding how to manage this dependency? Right
> now
> I'm doing something that isn't as streamlined as I'm guessing some of you
> have set up your development and build processes:
>
> Everytime I do an "update" on the remote library to pull the latest
> updates
> from the repository, I run the build.xml that comes with the remote
> library
> that produces the package (JAR) from the source. Then in my project's
> build.xml I copy their package (the JAR I just mentioned) into my
> application's package (EAR) that will be deployed to the app server.
>
> What I find inefficient about my current system is having to run two
> build.xml files when the remote library is updated. This doesn't seem like
> the most efficient process, and because I'm relatively new to all this I
> don't understand how to avoid it: should I add that project's source
> folders
> as source folders in my build path, add the whole project as a project in
> my
> build path, or something else?
>
> Any insight on how you do things would be really appreciated.

One thing you could look at is using svn:externals property in your project
so that the vendor code is just automatically pulled in. That would be the
"Subversion" way to do it.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on Fri Feb 9 21:38:14 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.