Zeus Forum Index Zeus
Use this forum to ask for help, submit a bug report or make a suggestion.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

project bind

 
Post new topic   Reply to topic    Zeus Forum Index -> General
View previous topic :: View next topic  
Author Message
ayc868



Joined: 09 Feb 2010
Posts: 5

PostPosted: Wed Feb 10, 2010 7:51 pm    Post subject: project bind Reply with quote

I create a new project, and would to bind the project to the server.

Quote:
===================================================================
Agent SVN, Version 1.30
Xidicone P/L Copyright (c) 2004-2009
All rights reserved
http:\\www.zeusedit.com
===================================================================
-------------------------------------------------------------------
Project Details
-------------------------------------------------------------------
Command: svn.exe
User: Andy
Project: insim
AuxPath: svn://ruby
Local Directory: c:\project\insim
Default AuxPath: svn://ruby
Return Code: 0
-------------------------------------------------------------------
svn: warning: 'Resource.h' is not a working copy
svn: warning: 'insim.rc' is not a working copy
svn: warning: 'StdAfx.cpp' is not a working copy
svn: warning: 'insim.rgs' is not a working copy
svn: warning: 'StdAfx.h' is not a working copy
svn: warning: 'insim.idl' is not a working copy
svn: warning: 'insim.dsp' is not a working copy
svn: warning: 'insim.cpp' is not a working copy


the above result looks good

question

I expect I can load the source codes direct from SVN server, or I have to add files from disk file system manually. Then the SVN agent will bind the file to the server when project start up
Back to top
View user's profile Send private message
ayc868



Joined: 09 Feb 2010
Posts: 5

PostPosted: Wed Feb 10, 2010 8:16 pm    Post subject: Reply with quote

I add a few file for trial

Quote:
svn: warning: 'IS_BeamProjectionClass.h' is not a working copy


this file is in the SVN server , why it still complains
the tree structure need match? how?
Back to top
View user's profile Send private message
jussij
Site Admin


Joined: 13 Aug 2004
Posts: 1445

PostPosted: Wed Feb 10, 2010 9:57 pm    Post subject: Reply with quote

Quote:
svn: warning: 'Resource.h' is not a working copy

This message means exactly what it says in that the folder you are working from is not a proper working copy Wink

Basically it means the whole project folder has not been check out from SVN and for this reason the SVN client is not happy.

What will have happened is when you impored the new project using the Agent SVN wizard form inside the IDE, towards the end of this process Agent SVN would have tried to do a check out only to find the folder locked. Unfortunately some IDE's including the Visual Studio IDE insist of locking the certain files in the project folder which stops this final check out.

So instead Agent SVN would have create a new project folder containing a full check out. What you need to stop the IDE and rename this second folder.

But when you open this new project for the first time Visual Studio IDE will make this task more difficult than it needs to be by asking lots of questions of the user.

To know how to respond to these questions correctly refer to the Importing a New Subversion Project section of the help file.

This initial setup phase can be a little difficult which is why I stongly suggest referring to the tutorial for help. But fortunately it is only a once off thing and if you follow the steps outlined in the tutorial it should work.

If you find a section of the tutorial unclear just quote it here on the forum and I will try to explain what it means.

Cheers Jussi
Back to top
View user's profile Send private message Send e-mail
ayc868



Joined: 09 Feb 2010
Posts: 5

PostPosted: Wed Feb 10, 2010 10:49 pm    Post subject: Reply with quote

Quote:
Using the Import Wizard
In this context, the process of importing specifically refers to the task of adding new projects to the SVN repository from within the IDE and the Import Wizard has been specifically designed to simplify this task.



Can not find the Import Wizard
Back to top
View user's profile Send private message
jussij
Site Admin


Joined: 13 Aug 2004
Posts: 1445

PostPosted: Wed Feb 10, 2010 11:17 pm    Post subject: Reply with quote

Quote:
Can not find the Import Wizard

What you need to do is:

(1) Open the help file and go to the Importing a New Subversion Project section found in the User Manual section.

(2) From the page above pick your IDE. For example if you are using the Visual Studio IDE you would select the Importing a new Visual Studio Project link.

(3) Then follow all the steps outlined to import the project for that particular IDE.

In this case the Import Wizard will appear at the Step 2: Run the Import Wizard stage, after you have selected the Add Solution to Source Control menu from within Visual Studio.

If you are not using Visual Studio just pick a different IDE from the list found at step one.

Cheers Jussi
Back to top
View user's profile Send private message Send e-mail
ayc868



Joined: 09 Feb 2010
Posts: 5

PostPosted: Wed Feb 17, 2010 7:12 pm    Post subject: Reply with quote

Quote:
# Assuming the Visual C++ project is called MyProject
# Make sure the Agent SVN has been configured with the correct location of the Subversion repository for example: file:///D:/Projects/svnroot
# Make sure the MyProject project exists in the Subversion repository for example at this URL: file:///D:/Projects/svnroot/MyProject/trunk
# Open the MyProject.dsw file and make sure the following lines exist: Project: "MyProject"=.\MyProject.dsp - Package Owner=<4>


in my case
the Subversion repository is in remote Solaris
svn://ruby/insim/trunk/InSim_VC_Workspace/InSim_VC_Workspace.dsw

How do I access MyProject.dsw? it is not in local disk.
Back to top
View user's profile Send private message
ayc868



Joined: 09 Feb 2010
Posts: 5

PostPosted: Wed Feb 17, 2010 8:04 pm    Post subject: Reply with quote

Quote:

Agent SVN, Version 1.30
Xidicone P/L Copyright (c) 2004-2009
All rights reserved
http:\\www.zeusedit.com
===================================================================
-------------------------------------------------------------------
Project Details
-------------------------------------------------------------------
Command: svn.exe
User: andy
Project: sim
AuxPath: svn://ruby
Local Directory: c:\svn_test\sim\trunk\insim_vc_workspace\statistics
Default AuxPath: svn://ruby
Return Code: 0


ok, I get it to work

How do I compare file from current file to SVN repository?

I have configure in SVN agent
"C:\Program Files\WinMerge\WinMergeU.exe" /dl $v1 /dr $v2 $f1 $f2

I am using VC++ 6.0 (1998) (there is a reason I can not use 2008 visual studio)


Last edited by ayc868 on Thu Feb 18, 2010 7:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
jussij
Site Admin


Joined: 13 Aug 2004
Posts: 1445

PostPosted: Thu Feb 18, 2010 12:01 am    Post subject: Reply with quote

Quote:
How do I compare file from current file to SVN repository?

If you are running Visual Studio then use the View, Solution Explorer menu to bring up the Solution Explorer view.

Then select a file in that view and use the right mouse click and select the Compare menu item from the popup menu.

The Compare menu will compare your current working copy with the latest version found in the repository.

Cheers Jussi
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Zeus Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group