project bind

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
ayc868
Posts: 5
Joined: Tue Feb 09, 2010 9:03 pm

project bind

Post by ayc868 »

I create a new project, and would to bind the project to the server.
===================================================================
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
ayc868
Posts: 5
Joined: Tue Feb 09, 2010 9:03 pm

Post by ayc868 »

I add a few file for trial
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?
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

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 ;)

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
ayc868
Posts: 5
Joined: Tue Feb 09, 2010 9:03 pm

Post by ayc868 »

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
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

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
ayc868
Posts: 5
Joined: Tue Feb 09, 2010 9:03 pm

Post by ayc868 »

# 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.
ayc868
Posts: 5
Joined: Tue Feb 09, 2010 9:03 pm

Post by ayc868 »

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.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

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
Post Reply