维基百科:AutoWikiBrowser/源代码
此页面提供源代码下载。
AutoWikiBrowser is licensed under the GPL (see the license file).
Download source
[编辑]To get the sources, you need read access to the SourceForge SVN server with an SVN client program.
TortoiseSVN
[编辑]If you would like to use the latest source release, TortoiseSVN is recommended software, and a quick guide for which is included below.
After installing TortoiseSVN, create a folder AWB (or whatever name you prefer) and right click in the folder, and select "SVN Checkout...". In the dialog window that appears (titled "Checkout") enter https://autowikibrowser.svn.sourceforge.net/svnroot/autowikibrowser/AWB
for the field URL of Repository. Check that the directory beneath is correct. You should then get the sources from the SourceForge SVN server. This is a ~7 MB download. When new sources become available execute "SVN Update" from the context menu of your AWB folder. You are not automatically notified of new versions; if you use AWB on a regular basis, and want to use the source version, check this daily, and build a new release version if there are changes. That way you are up to date with all bug fixes and new features.
Please note that you cannot commit sources back to the SourceForge server by using this method (this is called "anonymous access" or "anon access" for short). You would need to be registered as a project developer for this.
When you execute a "SVN Update", the software will download a change list then check the files that are present in the AWB folder, before downloading any new or updated files that may be needed.
Command line
[编辑]If you have command line SVN installed on your PC, it is as simple as typing svn co https://autowikibrowser.svn.sourceforge.net/svnroot/autowikibrowser/AWB
That would put it in a folder called autowikibrowser in the default location. If you wanted to specify a location to copy it to, you would append the command with the location, e.g. svn co https://autowikibrowser.svn.sourceforge.net/svnroot/autowikibrowser/AWB d:\pathtofile
Full repository
[编辑]https://autowikibrowser.svn.sourceforge.net/svnroot/autowikibrowser/AWB
just gives you the AutoWikiBrowser project itself. The root https://autowikibrowser.svn.sourceforge.net/svnroot/autowikibrowser
is where tags, branches, and the Usage Stats and TypoScan project files are. Most people will neither want nor need those.
Compile source
[编辑]If you would like to use the sources to run the latest source version, you will need to compile these yourself. You will need a copy of Microsoft Visual C# Express Edition, or a more complete version of the Visual Studio 2008 suite, such as Professional, or a third-party C# IDE such as SharpDevelop (free).
Visual Studio
[编辑]Browse to the second AWB folder, and run the Visual Studio Solution. When the IDE has loaded, select release rather than debug (next to the green forward arrow). On the solution explorer on the right hand side, right click on the solution, and select build solution. Visual Studio will now turn the source files into the required files to run AWB. Back in the AWB folder, browse to bin\release, and copy AutoWikiBrowser.exe and WikiFunctions.dll from the folder to where you run AWB from.
SharpDevelop
[编辑]Open the "AutoWikiBrowser no plugins" solution file. Right click on the AutoWikiBrowser project on the left hand side and set it as the startup project. Press F8 to build AWB. The AWB executable will be placed in ...\AWB\AWB\bin\
then a subfolder depending on whether you build a release or debug build (release recommended if you just want to use the latest version of AWB).
Changes to AWB code
[编辑]You can view all SVN changes in the SVN Revision Log.
Snapshots
[编辑]If you would like to use more up to date SVN versions, but are unable to build your own versions, User:Reedy (an AWB Developer), uploads periodic SVN release snapshots here.