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

Problem or an I not understanding a concept?

From: JT <geocritter_at_gmail.com>
Date: 2005-07-11 01:18:36 CEST

Hi all,

I'm seeing a recurring "issue" in my Java projects that I have
imported into SVN.

First let me go over the directory structure for my projects...

ProjectName
+WEB-INF
-+classes (All my Java class files)
-+lib
-+src
--+java (All my Java source files)

Now when I import, I'm wise enough to delete everything out of the
classes directory since they can all be compiled from the sources. So
the classes folder is imported but empty. Nor do I ever add the
classes to the repository.

The problem comes later when I start checking files back in, I seem to
end up with a mirrored directory effect where svn things the classes
folder is also the java folder.

Looking through the SVN book I found the S means (to quote) "This
signifies that the file or directory has been switched from the path
of the rest of the working copy (using svn switch) to a branch." Yet
I've never used the switch command.

So I end up having to manually pull out my updated files then delete
the working copy. I re-checkout and immediately remove the classes
folder from the repository. Only then do I get back on track.

So my question to the group is... What's happening that I'm not
understanding? Is it something I'm doing or not doing that I should
be? Or is it not suppose to happen at all?

Thanks in advance,

Tim

mercury-wireless:~/Projects/DrinkyDrink tim$ /usr/local/bin/svn st
? pages/ingredients.jsp
M .classpath
M WEB-INF/struts-config.xml
M WEB-INF/src/java/org/drinkydrink/model/Drink.hbm.xml
M WEB-INF/src/java/org/drinkydrink/hibernate/HibernateGetTest.java
M WEB-INF/src/java/org/drinkydrink/dao/IngredientDAO.java
A WEB-INF/src/java/org/drinkydrink/struts/actions/IngredientManageAction.java
M WEB-INF/src/java/org/drinkydrink/struts/forms/LookupForm.java
M WEB-INF/src/java/MessageResources.properties
M WEB-INF/src/java/hibernate.cfg.xml
    S WEB-INF/classes
? WEB-INF/classes/tests/org/drinkydrink/model/IngredientTests.class
? WEB-INF/classes/tests/org/drinkydrink/model/MySuite.class
? WEB-INF/classes/tests/org/drinkydrink/model/DrinkItemTests.class
? WEB-INF/classes/tests/org/drinkydrink/model/DrinkTests.class
! WEB-INF/classes/tests/org/drinkydrink/model/MySuite.java
! WEB-INF/classes/tests/org/drinkydrink/model/DrinkItemTests.java
! WEB-INF/classes/tests/org/drinkydrink/model/DrinkTests.java
! WEB-INF/classes/tests/org/drinkydrink/model/IngredientTests.java
? WEB-INF/classes/org/drinkydrink/InfrastructureException.class
! WEB-INF/classes/org/drinkydrink/InfrastructureException.java
? WEB-INF/classes/org/drinkydrink/model/DrinkItem.class
? WEB-INF/classes/org/drinkydrink/model/Drink.class
? WEB-INF/classes/org/drinkydrink/model/DrinkUnit.class
? WEB-INF/classes/org/drinkydrink/model/Ingredient.class
! WEB-INF/classes/org/drinkydrink/model/DrinkItem.java
! WEB-INF/classes/org/drinkydrink/model/Drink.java
! WEB-INF/classes/org/drinkydrink/model/DrinkUnit.java
! WEB-INF/classes/org/drinkydrink/model/Ingredient.java
M WEB-INF/classes/org/drinkydrink/model/Drink.hbm.xml
? WEB-INF/classes/org/drinkydrink/hibernate/AddRumCoke.class
? WEB-INF/classes/org/drinkydrink/hibernate/HibernateUtil.class
? WEB-INF/classes/org/drinkydrink/hibernate/HibernateGetTest.class
? WEB-INF/classes/org/drinkydrink/hibernate/HibernateTest.class
? WEB-INF/classes/org/drinkydrink/hibernate/AddLongIsland.class
! WEB-INF/classes/org/drinkydrink/hibernate/HibernateUtil.java
! WEB-INF/classes/org/drinkydrink/hibernate/HibernateTest.java
! WEB-INF/classes/org/drinkydrink/hibernate/HibernateGetTest.java
! WEB-INF/classes/org/drinkydrink/hibernate/AddLongIsland.java
! WEB-INF/classes/org/drinkydrink/hibernate/AddRumCoke.java
? WEB-INF/classes/org/drinkydrink/dao/DrinkDAO.class
? WEB-INF/classes/org/drinkydrink/dao/DrinkUnitDAO.class
? WEB-INF/classes/org/drinkydrink/dao/IngredientDAO.class
? WEB-INF/classes/org/drinkydrink/dao/DrinkItemDAO.class
! WEB-INF/classes/org/drinkydrink/dao/DrinkItemDAO.java
! WEB-INF/classes/org/drinkydrink/dao/DrinkDAO.java
! WEB-INF/classes/org/drinkydrink/dao/DrinkUnitDAO.java
! WEB-INF/classes/org/drinkydrink/dao/IngredientDAO.java
? WEB-INF/classes/org/drinkydrink/struts/actions/IngredientManageAction.class
? WEB-INF/classes/org/drinkydrink/struts/actions/IngredientViewAction.class
? WEB-INF/classes/org/drinkydrink/struts/actions/DrinksAction.class
? WEB-INF/classes/org/drinkydrink/struts/actions/ViewAction.class
! WEB-INF/classes/org/drinkydrink/struts/actions/IngredientViewAction.java
! WEB-INF/classes/org/drinkydrink/struts/actions/ViewAction.java
! WEB-INF/classes/org/drinkydrink/struts/actions/DrinksAction.java
? WEB-INF/classes/org/drinkydrink/struts/forms/LookupForm.class
! WEB-INF/classes/org/drinkydrink/struts/forms/LookupForm.java
M WEB-INF/classes/MessageResources.properties
M WEB-INF/classes/hibernate.cfg.xml

mercury-wireless:~/Projects/DrinkyDrink tim$ /usr/local/bin/svn ci
subversion/libsvn_client/commit.c:832: (apr_err=195003)
svn: Commit failed (details follow):
subversion/libsvn_client/commit_util.c:844: (apr_err=195003)
svn: Cannot commit both
'/Users/tim/Projects/DrinkyDrink/WEB-INF/classes/MessageResources.properties'
and '/Users/tim/Projects/DrinkyDrink/WEB-INF/src/java/MessageResources.properties'
as they refer to the same URL
subversion/clients/cmdline/util.c:380: (apr_err=195003)
svn: Your commit message was left in a temporary file:
subversion/clients/cmdline/util.c:380: (apr_err=195003)
svn: '/Users/tim/Projects/DrinkyDrink/svn-commit.tmp'

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 11 01:20:27 2005

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

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