| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

UppercuT_config

This version was saved 14 years, 11 months ago View current version     Page history
Saved by ferventcoder
on May 16, 2009 at 12:25:52 pm
 

UppercuT.config

 

All of the bat files call this file to get the properties to set. To make sure we are DRY, we want one file to set up everything in and use those settings from all of the other batch files.

 

Setup

We need to answer a series of questions about your application so that uppercut can automatically build it for you. To get up and running fast, we have already included a series of conventions so that you will only need to answer questions when things are different.

 

Here are the three questions most people need to answer.

 

 

<property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />

<property name="path_to_solution" value="." overwrite="false" />

<property name="repository.path" value="__REPOSITORY_PATH__" overwrite="false" />

<property name="company.name" value="__COMPANY_NAME__" overwrite="false" />

 

becomes

 

 

<property name="project.name" value="UppercuT" overwrite="false" />

<property name="path_to_solution" value="." overwrite="false" />

<property name="repository.path" value="http://uppercut.googlecode.com/svn/" overwrite="false" />

<property name="company.name" value="FerventCoder Software and ACuriousMind Software" overwrite="false" />

 

My solution name is uppercut.sln, so I include it as the project name without the .sln extension. The repository path is not down to a trunk or a branch, but at the very top level of the repository.  The company is either a company you work for or your own personal company if you are open source.

 

Here is the contents of the UppercuT.config file:

-----

 

 

<?xml version="1.0" encoding="utf-8" ?>

<project name="BuildSettings">

    <!-- Project UppercuT - http://uppercut.googlecode.com -->

    <!-- Learn how to edit this file at http://uppercut.pbwiki.com -->

 

 

    <!-- PROJECT VARIABLES -->

    <property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />

    <property name="path_to_solution" value="." overwrite="false" />

    <property name="repository.path" value="__REPOSITORY_PATH__" overwrite="false" />

    <property name="company.name" value="__COMPANY_NAME__" overwrite="false" />

    <property name="dirs.db.project" value="__DATABASE_FOLDER_NAME__" overwrite="false" />

    <property name="dirs.report.project" value="__REPORT_PROJECT_FOLDER__" overwrite="false" />

 

 

    <!-- FRAMEWORKS -->

    <!-- microsoft.framework: net-1.1,net-2.0,net-3.5  -->

    <property name="microsoft.framework" value="net-3.5" overwrite="false" />

    <!-- microsoft.framework: net-1.1,net-2.0,net-3.5  -->

    <!-- language.short: vb,cs -->

    <property name="language.short" value="cs" overwrite="false" />

    <!-- test.framework: mbunit, nunit -->

    <property name="test.framework" value="mbunit" overwrite="false" />

    <!-- source_control_type: svn, vss, tfs, vault, git -->

    <property name="source_control_type" value="svn" overwrite="false" />

 

 

    <!-- ASSEMBLY VARIABLES -->

    <property name="version.major" value="0" overwrite="false" />

    <property name="version.minor" value="0" overwrite="false" />

    <!-- partially trusted callers doesn't set correctly with assembly generator - Leave false for now-->

    <property name="allow.partially_trusted_callers" value="true" overwrite="false" />

 

 

    <!-- EXTERNAL TOOLS -->

    <!-- To not use the tool, change to a location that doesn't exist -->

    <property name="app.ncover" value="..\..\lib\tools\NCover\NCover.Console.exe" overwrite="false" />

    <property name="app.ncover_explorer" value="..\..\lib\tools\NCover\NCoverExplorer.Console.exe" overwrite="false" />

    <property name="app.ncover.tester" value="..\..\lib\references\MbUnit\MbUnit.Cons.exe" overwrite="false" />

    <!--<property name="app.ncover.tester" value="..\..\lib\references\NUnit\nunit-console.exe" overwrite="false" />-->

     <property name="app.ndepend" value="C:\Program Files\NDepend\NDepend.Console.exe" overwrite="false" />

</project>

----

 

Back to HowToUse? 

Comments (0)

You don't have permission to comment on this page.