Labview

Get help with the installation and running of the Agent Git or Agent SVN plug-ins. This section can also be used for posting comments, suggestions or submitting feature requests. Please do not post bug reports here. When in doubt post your question here.
Post Reply
WillyP

Labview

Post by WillyP »

Hi,

I tried to use it, but somehow it does not work. I have an existing repository amd use it right now with Tortoise SVN. This works fine.
If a look up the Repository Tree with Agent SVN, it sees my repository tree.
But I can not checkout or check in anything. Everytime exiting the setup of the repositories it takes endless (hour glass flashing) for going through the list. in the end it can not show the status of the files.
Trying to add somethiong to the repository gives no error I just getz an empty window with ok button.

Willy
jussij
Site Admin
Posts: 2652
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Hi Willy,
If a look up the Repository Tree with Agent SVN, it sees my repository tree.
That is a good sign as it seems like the Aux Path is correctly defined :)
But I can not checkout or check in anything.

Before you can do a check out you need to configure LabView to use Agent SVN and you also need to point LabView to a project in the SVN repository.

I found this LabView page that describes this process: http://zone.ni.com/reference/en-XX/help ... uring_scc/

The critical step is the entering the Source Control Project.

This step should bring up the Agent SVN Project Binding dialog.

In the Agent SVN help file there is the following link, User Manual, Agent SVN, Project Binding, which explains how to bind to a SVN project using this dialog.

But in a nutshell this dialog is doing nothing more than trying to identify the Project URL for a given project in the SVN repository.

The Project fields contain the project name details.

The AUX Path contains the location of the SVN repository (i.e. use the Aux Path button to help define this value).

The Local Path points to the project working folder and this folder must contain a valid working copy of the project (i.e. you must be able to check out, check in files from this folder using Tortoise SVN).

To better understand how to define these values, start the Tortoise SVN repoitory browser and click on the project you want to connect LabView. With the project selected in the repository, write down the Tortoise SVN URL field defined for this project.

For example, with an SVN repository located here: d:/projects/svnroot/

Lets assume this URL displayed for the project was something like this: file:///d:/projects/svnroot/zeus/trunk

This means the Project Name should be: zeus/trunk

and the Aux Path should be: file:///d:/projects/svnroot/

If the URL had been this instead: file:///d:/projects/svnroot/trunk/zeus

The Project Name becomes: trunk/zeus

and the Aux Path becomes: file:///d:/projects/svnroot/

In other words the Project URL = AUX Path + Project Name

The tricky party is defining these values correctly so that the URL points to a valid SVN project.

Once the project binding details have been correctly entered you should be able to check out, check in files from within LabView.

Cheers Jussi
WillyP

did not work out

Post by WillyP »

Hi Jussi,

I spend a day on figure it out.
Things went a little better when changing from _svn to .svn
I got a populated list which show me checked in vi's. But I am not able to check them out.
Beside that everything is really slow motion.
I configured the tortoise as viewing app. Tortoise always works. But your plugin not.

Can you put a trace into a log file?

Best regards

Willy
jussij
Site Admin
Posts: 2652
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Hi Willy,

There is a logging option. Start up the RegEdit.exe and find this key:

Code: Select all

HKEY_CURRENT_USER\Software\Xidicone\Agent SVN
and set the HelpDebug value to one.

This will create the AgentSVN.log file in the install folder.

If you send this file to me I will take a look at it. Just use the e-mail button at the bottom of this reply.

I will also look to download the LabView demo version to see why Agent SVN it is running so slow :?

Cheers Jussi
Post Reply