Search
 Search
GET THE HOTEST NEWS ABOUT VISUAL WEBGUI.
CREATE LINE OF BUSINESS SILVERLIGHT APPLICATIONS IN NO TIME.
EVERY THING YOU NEED TO START DEVELOPING WITH VISUAL WEBGUI.
SEE VISUAL WEBGUI SHOW CASES FROM AROUND THE WORLD.
ALL THE RESOURCES YOU NEED TO START BUILDING VISUAL WEBGUI APPLICATIONS TODAY.
SHARE AND FIND VISUAL WEBGUI RESOURCES.
TALK WITH OTHER VISUAL WEBGUI DEVELOPERS.
 
News

Current Articles | Categories | Search | Syndication

Become a more active community member, compile the latest source code to create a code patch  

Published on:  Thursday, July 03, 2008
By:  Eyal.Albert
User Rating:  
Categories:   Technical, Announcments

Users have accessed this article 577 times.

In this “How To” we are going to learn how to use Visual WebGui open source project to create a code patch fixing a bug you have found or a feature you have created and would like to add.

This topic assumes that you have knowledge of Visual WebGui and had experience in developing with it.

First thing we need to do is to get the latest version of the code (or any other version/revision you are using). For this task we will use TortoiseSvn as our source control software. please make sure you install TortoiseSvn (or another SVN client) before starting you can download it here and read how it works.
Now we’ll create a new folder that will hold our code, open “My Computer” and select your preferred disk add a new folder. I called it “MyWork”.

image

Next we’ll use the “Checkout” TortoiseSvn command to get the source code files from the SVN server. Right click on the folder and select the “SVN Checkout” command.

image

Once TortoiseSvn opens you will need to enter the Visual WebGui public SVN repository URL which is “http://72.55.165.182/svn/Public/Core/trunk” (or any other revision’s branch URL). Make sure that the checkout directory is the directory we selected and press “OK”.

image

Now a window will open showing the checkout progress. This might take a few minutes depending on your connection speed. When the process is over press “OK”.

image

As you can see in the following figure, the selected checkout folder is now marked as SVN normal folder.

image

Lets open “MyWork” folder and see the result. Those are the folders that were pulled and together represent the open source Visual WebGui project. Note that the “Gizmox.WebGUI.Assemblies” project should not be complied locally, since it represents 4 already complied assemblies which are referenced by the open source project.

image

Now we can open the solution according to the framework we are working with. In this example we'll be using .NET 3.5 (targeted for Visual Studio 2008). So we'll double click on the “Core.3.5.sln” and view the solution within Visual Studio 2008.

image

In this demo we'll not fix any bug, however we will change the "Category" header to "My Category" just for the sample sake.

Go to the “Gizmox.WebGUI.Forms.Catalog” project and open the “MainForm.cs” in code view.

image

Now go to InitialzeWorkspace method and change

this.mobjPanelCategory.Text = "Category";

 To

this.mobjPanelCategory.Text = "My Category";

 Lets rebuild our solution and run the project. It will look like this.

image

Ok, now, in order to send the code back to Gizmox and speed-up the development process as well as include your fix/addition within the next version of the core we'll go to the project folder, select the changed files and add them to a zip file.

image

image

 Now we'll open Visual WebGui Web Site WWW.VisualWebGui.com and select the Developers section.

image

Select on the right side the submit a patch

image

You we'll have to log in if you are not a registered user you will have to create an account and become a registered user.

image

After you log in, a “Submit a code patch” form will be presented to you. Please take the time to fill the form in order to allow us to understand better the nature of the fix/addition you have made and some additional details on how. This will provide us the required information to test the fix/addition and include the patch within Visual WebGui next version/revision. At the bottom of the page you will notice the file upload option, please use it to upload the zipped format of the files you have revised or created.

image 

Your contribution to Visual WebGui development is very important for us, the core VWG developers, and for the community as a whole. We would like to have your feedback and participation and that is why we will keep on allocating resources to support you and your development needs. We hope to see you make the best of this and contribute to our growing community project.

-- Eyal Albert @ Eyal.Albert (at) Gizmox.com

Comments
By nuxtech @ Tuesday, July 08, 2008 3:23 PM
thanks for the article

i tried to do this and found the following error:

I checked out the latest trunk code from SVN and then tried to compile and it give the following:

Error 104 The type or namespace name 'RegisteredClientAction' could not be found (are you missing a using directive or an assembly reference?) c:\...\webgui\trunk\Gizmox.WebGUI.Forms\Component.cs 160 17 Gizmox.WebGUI.Forms.3.5

By e.beckers @ Sunday, July 13, 2008 5:07 PM
Same here

I would love to help & fix any VWG bugs i encounter.
However i'm unable to compile SVN and get the same error as posted above.


By Eyal.Albert @ Monday, July 14, 2008 1:45 AM
Hi every one,
We received your input about the problems and are trying to fix the problem and give you the best updated code we can.
I will post here when we fix it.
Thanks


By ejayf @ Monday, July 14, 2008 10:06 AM
I do not have the necessary permissions to contribute... How can I achieve these permissions?

By glomax @ Monday, July 14, 2008 11:06 AM
Me too BUT at least I've got this far with the help of the article. Once the RegisteredClientAction error is resolved I feel I will be able to contribute far more than I could before. Thanks for the instructions.

You must be logged in to post a comment. You can login here
Copyright © 2005-2008 Visual WebGui®   Terms Of Use  Privacy Statement
Visual WebGui is copyright 2005-2008 by Gizmox