Changeset 7518

Show
Ignore:
Timestamp:
03/05/08 23:00:28 (5 years ago)
Author:
coma2n
Message:

lang/powershell/PSCustomProviders/trunk: ビルドファイルを修正した

Location:
lang/powershell/PSCustomProviders/trunk
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • lang/powershell/PSCustomProviders/trunk/buildfile/Dotnet.Commons.build

    r7503 r7518  
    2020--> 
    2121<project xmlns="http://nant.sf.net/release/0.85/nant.xsd"  
    22         name="Dotnet.Commons" default="build" basedir="../src/Dotnet.Commons"> 
     22        name="Dotnet.Commons" default="build" basedir="../"> 
    2323 
    2424        <!-- �t���[�����[�N�̃o�[�W���� --> 
     
    2828         
    2929        <!-- �\�[�X�f�B���N�g�� --> 
    30         <property name="src.dir" value="./" /> 
     30        <property name="src.dir" value="src/${project.name}/" /> 
    3131        <!-- �r���h�̎� --> 
    3232        <property name="configuration" value="Release" /> 
    3333         
     34        <!-- �o�̓t�@�C�� --> 
     35        <property name="out.file" value="bin/${framework.ver}/${project.name}.dll" /> 
     36        <!-- �A�Z���u���̊��S�����> 
     37        <property name="assembly.name" 
     38                value='"${project.name}, culture=neutral, publicKeyToken=fbbb55b11e19d978, version=0.1.0.0"' 
     39        /> 
     40         
    3441        <!-- MSBuild�c�[���̃p�X�iVS2005�p�j --> 
    3542        <property name="msbuild" value="${environment::get-variable('windir')}\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe" /> 
    36          
     43        <!-- gacutil�c�[���̃p�X --> 
     44        <property name="gacutil" value="${environment::get-variable('VS80COMNTOOLS')}..\..\SDK\v2.0\Bin\gacutil.exe" /> 
     45                 
    3746        <target name="build" description="�\�[�X����h���܂�" depends="clean"> 
     47                <if test="${framework.ver == 'net-1.1'}"> 
     48                        <fail message="net-1.1 version is not supported" /> 
     49                </if> 
    3850                <if test="${framework.ver == 'net-2.0'}"> 
    3951                        <exec program="${msbuild}" 
     
    5466        </target> 
    5567 
     68        <target name="install" description="���W���[������X�g�[�����܂�"> 
     69                <exec program="${gacutil}" commandline="/f /i ${out.file}" /> 
     70        </target> 
     71         
     72        <target name="uninstall" description="���W���[������C���X�g�[�����܂�"> 
     73                <exec program="${installutil}" commandline='/u /AssemblyName ${assembly.name}' /> 
     74        </target> 
     75         
    5676</project> 
  • lang/powershell/PSCustomProviders/trunk/buildfile/Dotnet.PowerShell.PS2ch.build

    r7503 r7518  
    2020--> 
    2121<project xmlns="http://nant.sf.net/release/0.85/nant.xsd" 
    22     name="Dotnet.PowerShell.PS2ch" default="build" basedir="../"> 
     22        name="Dotnet.PowerShell.PS2ch" default="build" basedir="../"> 
    2323 
    2424        <!-- �t���[�����[�N�̃o�[�W���� --> 
     
    3232        <property name="configuration" value="Release" /> 
    3333         
    34     <!-- �o�̓t�@�C�� --> 
    35     <property name="out.file" value="bin/${framework.ver}/${project.name}.dll" /> 
    36     <!-- �A�Z���u���̊��S�����> 
    37     <property name="assembly.name" 
    38         value='"${project.name}, culture=neutral, publicKeyToken=200752680b8732ac, version=1.0.0.0"' 
    39     /> 
     34        <!-- �o�̓t�@�C�� --> 
     35        <property name="out.file" value="bin/${framework.ver}/${project.name}.dll" /> 
     36        <!-- �A�Z���u���̊��S�����> 
     37        <property name="assembly.name" 
     38                value='"${project.name}, culture=neutral, publicKeyToken=200752680b8732ac, version=0.1.0.0"' 
     39        /> 
    4040 
    4141        <!-- MSBuild�c�[���̃p�X�iVS2005�p�j --> 
    4242        <property name="msbuild" value="${environment::get-variable('windir')}\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe" /> 
    43     <!-- gacutil�c�[���̃p�X --> 
    44     <property name="gacutil" value="${environment::get-variable('VS80COMNTOOLS')}..\..\SDK\v2.0\Bin\gacutil.exe" /> 
    45     <!-- installutil�c�[���̃p�X --> 
    46     <property name="installutil" value="${environment::get-variable('windir')}\Microsoft.NET\Framework\v2.0.50727\installutil.exe" />    
     43        <!-- gacutil�c�[���̃p�X --> 
     44        <property name="gacutil" value="${environment::get-variable('VS80COMNTOOLS')}..\..\SDK\v2.0\Bin\gacutil.exe" /> 
     45        <!-- installutil�c�[���̃p�X --> 
     46        <property name="installutil" value="${environment::get-variable('windir')}\Microsoft.NET\Framework\v2.0.50727\installutil.exe" />        
    4747 
    4848        <target name="build" description="�\�[�X����h���܂�" depends="clean"> 
    4949                <if test="${framework.ver == 'net-1.1'}"> 
    50                     <fail message="net-1.1 version is not supported" /> 
     50                        <fail message="net-1.1 version is not supported" /> 
    5151                </if> 
    5252                <if test="${framework::get-target-framework() == 'net-2.0'}"> 
     
    6868        </target> 
    6969         
    70     <target name="install" description="���W���[������X�g�[�����܂�"> 
    71         <exec program="${gacutil}" commandline="/f /i ${out.file}" /> 
    72         <exec program="${installutil}" commandline='/AssemblyName ${assembly.name}' /> 
    73     </target> 
    74      
    75     <target name="uninstall" description="���W���[������C���X�g�[�����܂�"> 
    76         <exec program="${installutil}" commandline='/u /AssemblyName ${assembly.name}' /> 
    77         <exec program="${gacutil}" commandline="/u ${project::get-name()}" /> 
    78     </target> 
    79      
    80     <target name="install-debug" description="Debug���W���[������X�g�[�����܂�"> 
    81         <property name="out.file" value="${src.dir}bin/Debug/${project.name}.dll" /> 
    82          
    83         <exec program="${installutil}" commandline='${out.file}' /> 
    84     </target> 
    85      
    86     <target name="uninstall-debug" description="Debug���W���[������C���X�g�[�����܂�"> 
    87         <property name="out.file" value="${src.dir}bin/Debug/${project.name}.dll" /> 
    88          
    89         <exec program="${installutil}" commandline='/u ${out.file}' /> 
    90     </target> 
    91      
     70        <target name="install" description="���W���[������X�g�[�����܂�"> 
     71                <exec program="${gacutil}" commandline="/f /i ${out.file}" /> 
     72                <exec program="${installutil}" commandline='/AssemblyName ${assembly.name}' /> 
     73        </target> 
     74         
     75        <target name="uninstall" description="���W���[������C���X�g�[�����܂�"> 
     76                <exec program="${installutil}" commandline='/u /AssemblyName ${assembly.name}' /> 
     77                <exec program="${gacutil}" commandline="/u ${project::get-name()}" /> 
     78        </target> 
     79         
     80        <target name="install-debug" description="Debug���W���[������X�g�[�����܂�"> 
     81                <property name="out.file" value="${src.dir}bin/Debug/${project.name}.dll" /> 
     82                 
     83                <exec program="${installutil}" commandline='${out.file}' /> 
     84        </target> 
     85         
     86        <target name="uninstall-debug" description="Debug���W���[������C���X�g�[�����܂�"> 
     87                <property name="out.file" value="${src.dir}bin/Debug/${project.name}.dll" /> 
     88                 
     89                <exec program="${installutil}" commandline='/u ${out.file}' /> 
     90        </target> 
     91         
    9292</project> 
  • lang/powershell/PSCustomProviders/trunk/buildfile/Dotnet.PowerShell.PSTodo.build

    r7503 r7518  
    2020--> 
    2121<project xmlns="http://nant.sf.net/release/0.85/nant.xsd" 
    22     name="Dotnet.PowerShell.PSTodo" default="build" basedir="../"> 
     22        name="Dotnet.PowerShell.PSTodo" default="build" basedir="../"> 
    2323 
    2424        <!-- �t���[�����[�N�̃o�[�W���� --> 
     
    3232        <property name="configuration" value="Release" /> 
    3333         
    34     <!-- �o�̓t�@�C�� --> 
    35     <property name="out.file" value="bin/${framework.ver}/${project.name}.dll" /> 
    36     <!-- �A�Z���u���̊��S�����> 
    37     <property name="assembly.name" 
    38         value='"${project.name}, culture=neutral, publicKeyToken=00e182375cf5cfbd, version=1.0.0.0"' 
    39     /> 
     34        <!-- �o�̓t�@�C�� --> 
     35        <property name="out.file" value="bin/${framework.ver}/${project.name}.dll" /> 
     36        <!-- �A�Z���u���̊��S�����> 
     37        <property name="assembly.name" 
     38                value='"${project.name}, culture=neutral, publicKeyToken=00e182375cf5cfbd, version=0.1.0.0"' 
     39        /> 
    4040 
    4141        <!-- MSBuild�c�[���̃p�X�iVS2005�p�j --> 
    4242        <property name="msbuild" value="${environment::get-variable('windir')}\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe" /> 
    43     <!-- gacutil�c�[���̃p�X --> 
    44     <property name="gacutil" value="${environment::get-variable('VS80COMNTOOLS')}..\..\SDK\v2.0\Bin\gacutil.exe" /> 
    45     <!-- installutil�c�[���̃p�X --> 
    46     <property name="installutil" value="${environment::get-variable('windir')}\Microsoft.NET\Framework\v2.0.50727\installutil.exe" />    
     43        <!-- gacutil�c�[���̃p�X --> 
     44        <property name="gacutil" value="${environment::get-variable('VS80COMNTOOLS')}..\..\SDK\v2.0\Bin\gacutil.exe" /> 
     45        <!-- installutil�c�[���̃p�X --> 
     46        <property name="installutil" value="${environment::get-variable('windir')}\Microsoft.NET\Framework\v2.0.50727\installutil.exe" />        
    4747 
    4848        <target name="build" description="�\�[�X����h���܂�" depends="clean"> 
    4949                <if test="${framework.ver == 'net-1.1'}"> 
    50                     <fail message="net-1.1 version is not supported" /> 
     50                        <fail message="net-1.1 version is not supported" /> 
    5151                </if> 
    5252                <if test="${framework::get-target-framework() == 'net-2.0'}"> 
     
    6868        </target> 
    6969         
    70     <target name="install" description="���W���[������X�g�[�����܂�"> 
    71         <exec program="${gacutil}" commandline="/f /i ${out.file}" /> 
    72         <exec program="${installutil}" commandline='/AssemblyName ${assembly.name}' /> 
    73     </target> 
    74      
    75     <target name="uninstall" description="���W���[������C���X�g�[�����܂�"> 
    76         <exec program="${installutil}" commandline='/u /AssemblyName ${assembly.name}' /> 
    77         <exec program="${gacutil}" commandline="/u ${project::get-name()}" /> 
    78     </target> 
    79      
    80     <target name="install-debug" description="Debug���W���[������X�g�[�����܂�"> 
    81         <property name="out.file" value="${src.dir}bin/Debug/${project.name}.dll" /> 
    82          
    83         <exec program="${installutil}" commandline='${out.file}' /> 
    84     </target> 
    85      
    86     <target name="uninstall-debug" description="Debug���W���[������C���X�g�[�����܂�"> 
    87         <property name="out.file" value="${src.dir}bin/Debug/${project.name}.dll" /> 
    88          
    89         <exec program="${installutil}" commandline='/u ${out.file}' /> 
    90     </target> 
    91      
     70        <target name="install" description="���W���[������X�g�[�����܂�"> 
     71                <exec program="${gacutil}" commandline="/f /i ${out.file}" /> 
     72                <exec program="${installutil}" commandline='/AssemblyName ${assembly.name}' /> 
     73        </target> 
     74         
     75        <target name="uninstall" description="���W���[������C���X�g�[�����܂�"> 
     76                <exec program="${installutil}" commandline='/u /AssemblyName ${assembly.name}' /> 
     77                <exec program="${gacutil}" commandline="/u ${project::get-name()}" /> 
     78        </target> 
     79         
     80        <target name="install-debug" description="Debug���W���[������X�g�[�����܂�"> 
     81                <property name="out.file" value="${src.dir}bin/Debug/${project.name}.dll" /> 
     82                 
     83                <exec program="${installutil}" commandline='${out.file}' /> 
     84        </target> 
     85         
     86        <target name="uninstall-debug" description="Debug���W���[������C���X�g�[�����܂�"> 
     87                <property name="out.file" value="${src.dir}bin/Debug/${project.name}.dll" /> 
     88                 
     89                <exec program="${installutil}" commandline='/u ${out.file}' /> 
     90        </target> 
     91         
    9292</project> 
  • lang/powershell/PSCustomProviders/trunk/buildfile/Dotnet.PowerShell.PSWeb.build

    r7503 r7518  
    2020--> 
    2121<project xmlns="http://nant.sf.net/release/0.85/nant.xsd" 
    22     name="Dotnet.PowerShell.PSWeb" default="build" basedir="../"> 
     22        name="Dotnet.PowerShell.PSWeb" default="build" basedir="../"> 
    2323 
    2424        <!-- �t���[�����[�N�̃o�[�W���� --> 
     
    3232        <property name="configuration" value="Release" /> 
    3333         
    34     <!-- �o�̓t�@�C�� --> 
    35     <property name="out.file" value="bin/${framework.ver}/${project.name}.dll" /> 
    36     <!-- �A�Z���u���̊��S�����> 
    37     <property name="assembly.name" 
    38         value='"${project.name}, culture=neutral, publicKeyToken=bc1dc95732bd0319, version=1.0.0.0"' 
    39     /> 
    40          
     34        <!-- �o�̓t�@�C�� --> 
     35        <property name="out.file" value="bin/${framework.ver}/${project.name}.dll" /> 
     36        <!-- �A�Z���u���̊��S�����> 
     37        <property name="assembly.name" 
     38                value='"${project.name}, culture=neutral, publicKeyToken=bc1dc95732bd0319, version=0.1.0.0"' 
     39        /> 
     40                 
    4141        <!-- MSBuild�c�[���̃p�X�iVS2005�p�j --> 
    4242        <property name="msbuild" value="${environment::get-variable('windir')}\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe" /> 
    43     <!-- gacutil�c�[���̃p�X --> 
    44     <property name="gacutil" value="${environment::get-variable('VS80COMNTOOLS')}..\..\SDK\v2.0\Bin\gacutil.exe" /> 
    45     <!-- installutil�c�[���̃p�X --> 
    46     <property name="installutil" value="${environment::get-variable('windir')}\Microsoft.NET\Framework\v2.0.50727\installutil.exe" />    
     43        <!-- gacutil�c�[���̃p�X --> 
     44        <property name="gacutil" value="${environment::get-variable('VS80COMNTOOLS')}..\..\SDK\v2.0\Bin\gacutil.exe" /> 
     45        <!-- installutil�c�[���̃p�X --> 
     46        <property name="installutil" value="${environment::get-variable('windir')}\Microsoft.NET\Framework\v2.0.50727\installutil.exe" />        
    4747 
    4848        <target name="build" description="�\�[�X����h���܂�" depends="clean"> 
    4949                <if test="${framework.ver == 'net-1.1'}"> 
    50                     <fail message="net-1.1 version is not supported" /> 
     50                        <fail message="net-1.1 version is not supported" /> 
    5151                </if> 
    5252                <if test="${framework::get-target-framework() == 'net-2.0'}"> 
     
    6868        </target> 
    6969         
    70     <target name="install" description="���W���[������X�g�[�����܂�"> 
    71         <exec program="${gacutil}" commandline="/f /i ${out.file}" /> 
    72         <exec program="${installutil}" commandline='/AssemblyName ${assembly.name}' /> 
    73     </target> 
    74      
    75     <target name="uninstall" description="���W���[������C���X�g�[�����܂�"> 
    76         <exec program="${installutil}" commandline='/u /AssemblyName ${assembly.name}' /> 
    77         <exec program="${gacutil}" commandline="/u ${project::get-name()}" /> 
    78     </target> 
    79      
    80     <target name="install-debug" description="Debug���W���[������X�g�[�����܂�"> 
    81         <property name="out.file" value="${src.dir}bin/Debug/${project.name}.dll" /> 
    82          
    83         <exec program="${installutil}" commandline='${out.file}' /> 
    84     </target> 
    85      
    86     <target name="uninstall-debug" description="Debug���W���[������C���X�g�[�����܂�"> 
    87         <property name="out.file" value="${src.dir}bin/Debug/${project.name}.dll" /> 
    88          
    89         <exec program="${installutil}" commandline='/u ${out.file}' /> 
    90     </target> 
    91      
     70        <target name="install" description="���W���[������X�g�[�����܂�"> 
     71                <exec program="${gacutil}" commandline="/f /i ${out.file}" /> 
     72                <exec program="${installutil}" commandline='/AssemblyName ${assembly.name}' /> 
     73        </target> 
     74         
     75        <target name="uninstall" description="���W���[������C���X�g�[�����܂�"> 
     76                <exec program="${installutil}" commandline='/u /AssemblyName ${assembly.name}' /> 
     77                <exec program="${gacutil}" commandline="/u ${project::get-name()}" /> 
     78        </target> 
     79         
     80        <target name="install-debug" description="Debug���W���[������X�g�[�����܂�"> 
     81                <property name="out.file" value="${src.dir}bin/Debug/${project.name}.dll" /> 
     82                 
     83                <exec program="${installutil}" commandline='${out.file}' /> 
     84        </target> 
     85         
     86        <target name="uninstall-debug" description="Debug���W���[������C���X�g�[�����܂�"> 
     87                <property name="out.file" value="${src.dir}bin/Debug/${project.name}.dll" /> 
     88                 
     89                <exec program="${installutil}" commandline='/u ${out.file}' /> 
     90        </target> 
     91         
    9292</project> 
  • lang/powershell/PSCustomProviders/trunk/default.build

    r7512 r7518  
    11<?xml version="1.0" encoding="shift-jis" ?> 
    22<project xmlns="http://nant.sf.net/release/0.85/nant.xsd" 
    3     name="Dotnet.PowerShell.CustomProviders" default="build" basedir="."> 
    4      
    5     <!-- �^�[�Q�b�g�̖��O --> 
    6     <property name="target.name" value="build" /> 
    7     <!-- �t�H�[�}�b�g�t�@�C�� --> 
    8     <dirset basedir="script" id="format.files"> 
    9         <include name="*.ps1xml" /> 
    10     </dirset> 
    11     <!-- �t�H�[�}�b�g�f�B���N�g���̃p�X --> 
    12     <property name="format.path" value="${environment::get-folder-path('Personal')}/WindowsPowerShell/format" /> 
    13      
    14     <target name="build" description="�\�[�X����h���܂�"> 
    15         <nant buildfile="buildfile/Dotnet.PowerShell.PS2ch.build" target="${target.name}" /> 
    16         <nant buildfile="buildfile/Dotnet.PowerShell.PSWeb.build" target="${target.name}" /> 
    17         <nant buildfile="buildfile/Dotnet.PowerShell.PSTodo.build" target="${target.name}" /> 
    18     </target> 
     3        name="Dotnet.PowerShell.CustomProviders" default="build" basedir="."> 
     4         
     5        <!-- �^�[�Q�b�g�̖��O --> 
     6        <property name="target.name" value="build" /> 
     7        <!-- �t�H�[�}�b�g�t�@�C�� --> 
     8        <dirset basedir="script" id="format.files"> 
     9                <include name="*.ps1xml" /> 
     10        </dirset> 
     11        <!-- �t�H�[�}�b�g�f�B���N�g���̃p�X --> 
     12        <property name="format.path" value="${environment::get-folder-path('Personal')}/WindowsPowerShell/format" /> 
     13         
     14        <target name="build" description="�\�[�X����h���܂�"> 
     15                <nant buildfile="buildfile/Dotnet.Commons.build" target="${target.name}" /> 
     16                <nant buildfile="buildfile/Dotnet.PowerShell.PS2ch.build" target="${target.name}" /> 
     17                <nant buildfile="buildfile/Dotnet.PowerShell.PSWeb.build" target="${target.name}" /> 
     18                <nant buildfile="buildfile/Dotnet.PowerShell.PSTodo.build" target="${target.name}" /> 
     19        </target> 
    1920 
    20     <target name="debug" description="�\�[�X��ug���[�h�Ńr���h���܂�"> 
    21         <property name="target.name" value="debug" /> 
    22          
    23         <call target="build" /> 
    24     </target> 
     21        <target name="debug" description="�\�[�X��ug���[�h�Ńr���h���܂�"> 
     22                <property name="target.name" value="debug" /> 
     23                 
     24                <call target="build" /> 
     25        </target> 
    2526 
    26     <target name="install" description="PowerShell��napIn����X�g�[�����܂�"> 
    27         <property name="target.name" value="install" /> 
    28          
    29         <call target="build" /> 
    30         <copy todir="${format.path}" failonerror="false"> 
    31             <fileset refid="format.files" /> 
    32         </copy> 
    33     </target> 
    34      
    35     <target name="uninstall" description="PowerShell��napIn����C���X�g�[�����܂�"> 
    36         <property name="target.name" value="uninstall" /> 
    37          
    38         <call target="build" /> 
    39         <delete failonerror="false"> 
    40             <fileset basedir="${format.path}" refid="format.files" /> 
    41         </delete> 
    42     </target> 
     27        <target name="install" description="PowerShell��napIn����X�g�[�����܂�"> 
     28                <property name="target.name" value="install" /> 
     29                 
     30                <call target="build" /> 
     31                <copy todir="${format.path}" failonerror="false"> 
     32                        <fileset refid="format.files" /> 
     33                </copy> 
     34        </target> 
     35         
     36        <target name="uninstall" description="PowerShell��napIn����C���X�g�[�����܂�"> 
     37                <property name="target.name" value="uninstall" /> 
     38                 
     39                <call target="build" /> 
     40                <delete failonerror="false"> 
     41                        <fileset basedir="${format.path}" refid="format.files" /> 
     42                </delete> 
     43        </target> 
    4344 
    4445        <target name="export-format"