Print

Print


You can do right click > Team > Add to version control (I think?) to add files or directories.

Deleting files from within Eclipse will execute an 'svn rm' on the file but then you have to commit via right click > Team > Commit on the project or directory (because the file disappears then so can't be selected).

I don't think moving files in Eclipse does an 'svn mv'.  Think that's what you ran into.  Rather it wants to do a delete and then add, by default.

Look under the Team menu where most version control commands are located.  You can do almost all SVN operations from there.  Just watch out for commits at the project level because Eclipse will by default add files to the commit which you may not want in there!

But, yes, sometimes the command line client is easier to understand and use.  You just need to make sure your SVN connector matches your command line client or you can't use them both due to backward incompatibility in SVN minor versions in the directory meta data.

> On Mar 25, 2014, at 1:15 AM, "Andrea Celentano" <[log in to unmask]> wrote:
> 
> Yes,
> this is exactly what happened. I used eclipse to mv files, and then did 
> an svn committ in eclipse again. For reasons I do not know, only the 
> deletion of that file from users module was not committed (others were).
> 
> Lesson I learned: do not use eclipse for svn committ or update. Use 
> directly svn tool from command line.
> 
> I see the problem was solved on revision 343 by Sho. Thanks.
> 
> Andrea
> 
>> On 03/25/2014 03:14 AM, Sho Uemura wrote:
>> Looks like when you moved EcalEventDisplay.java from the users package 
>> to the monitoring-drivers package, the file wasn't actually removed 
>> from the users package.
>> 
>> The safest way to move files and directories is to use "svn mv" 
>> instead of relying on Eclipse or NetBeans to do the right thing.
>> 
>>> On Mon, 24 Mar 2014, Andrea Celentano wrote:
>>> 
>>> Hi,
>>> I did the following:
>>> - Moved files I am working with from the users module to the 
>>> monitoring-drivers module, where I created a new package 
>>> (org.hps.monitoring.ecal.plots). I did this with Eclipse.
>>> - Did a commit of these files, to add them.  I did this with Eclipse, 
>>> clicking on the new module, and doing team-> svn committ.
>>> - Did a commit of the user module, package 
>>> org.lcsim.hps.user.celentan, that now does not contain any more fail 
>>> (after point 1 above). I did this with Eclipse, clicking on the 
>>> org.lcsim.hps.users.celentan package, and doing team-> svn committ.
>>> 
>>> Before doing this, I compiled everything with mvn clean install. No 
>>> errors were found.
>>> Is there anything wrong?
>>> Andrea
>>> 
>>> 
>>> 
>>>> On 03/24/2014 08:29 PM, McCormick, Jeremy I. wrote:
>>>> Errors are like:
>>>> 
>>>> [ERROR] Failed to execute goal 
>>>> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile 
>>>> (default-compile) on project hps-users: Compilation failure: 
>>>> Compilation failure:
>>>> [ERROR] 
>>>> /u1/projects/svn/hps/java/trunk/users/src/main/java/org/lcsim/hps/users/celentan/EcalEventDisplay.java:[21,40] 
>>>> package org.lcsim.hps.monitoring.ecal.ui does not exist
>>>> 
>>>> I think you are depending on a package which no longer exists...?
>>>> 
>>>> -----Original Message-----
>>>> From: McCormick, Jeremy I.
>>>> Sent: Monday, March 24, 2014 12:28 PM
>>>> To: hps-software
>>>> Subject: hps build broken
>>>> 
>>>> Hi,
>>>> 
>>>> Last checkin to trunk/users broke the build (user celentan I think?).
>>>> 
>>>> Make sure ALL the modules you are working with are up to date.
>>>> 
>>>> And on a copy of the trunk with your changes make sure this works:
>>>> 
>>>> mvn clean install
>>>> 
>>>> If that does not work then you need to fix something.
>>>> 
>>>> --Jeremy
>>>> 
>>>> ######################################################################## 
>>>> 
>>>> Use REPLY-ALL to reply to list
>>>> 
>>>> To unsubscribe from the HPS-SOFTWARE list, click the following link:
>>>> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>>> 
>>> ########################################################################
>>> Use REPLY-ALL to reply to list
>>> 
>>> To unsubscribe from the HPS-SOFTWARE list, click the following link:
>>> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>> 
>> ########################################################################
>> Use REPLY-ALL to reply to list
>> 
>> To unsubscribe from the HPS-SOFTWARE list, click the following link:
>> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
> 
> ########################################################################
> Use REPLY-ALL to reply to list
> 
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1