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

Re: [Subclipse-users] Issue: Commiting output folder not possible

From: W Craig Trader <ct7_at_unicornsrest.org>
Date: 2006-02-21 15:12:11 CET

On Tue, 2006-02-21 at 14:39 +0100, Kraus, Alexander LZ/BHL-IO wrote:
> Hi,
> I'm developing web appications (JSF, JSP, Servlets) using Eclipse
> 3.1.1. Lately I'm using subversion as a repository for source and
> binary files (.class). This way I'm able to auto-deploy the new
> versions to a test web application server. My problem is, that there
> seems to be no way to commit the output folder (WEB-INF/classes in my
> case) using subclipse. With TortoiseSVN it is no problem at all.
> Subclipse either comes up with an "Work copy not locked" error when a
> "Clean" command deleted the .svn folders in the output path or doesn't
> recognize the changes if I leave the -svn folders untouched by
> deactivating the "Scrub output folders when cleaning projects" option
> in the Eclipse preferences.
> I hope you can help me to use Subclipse for my tasks without falling
> back to TortoiseSVN.

Alexander ...

You don't want to store generated artifacts (such as class files) in
your respository -- there are too many ways for that to go wrong.

Instead I would recommend (1) automating your builds using Ant
(http://ant.apache.org/) and then (2) using a Continuous Integration
server, such as CruiseControl (http://cruisecontrol.sf.net/).
CruiseControl will monitor your repository for changes. When CC detects
changes in your repository, it will start a build (using Ant). If the
build completes successfully, it can then deploy the application to a
test server.

I've been using CruiseControl and Ant like this for the last 18 months,
and it works great. Because CruiseControl uses the same Ant script to
build as the developers, a developer can run all the same tests (JUnit,
CheckStyle, etc.) that the build server would before they check in any
code, which really cuts down on integration problems.

- Craig -

W Craig Trader <ct7@unicornsrest.org>
Unicorn's Rest
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Feb 21 15:16:21 2006

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.