I�m trying to create a build file for a project that
includes a third party control (The Component One Flex
Grid). So, I�m using the license task to create a
.license file that I�m attempting to include as a
resource when I build the exe. However, it appears to
have no effect. Here is what my build file looks
like:
<?xml version="1.0"?>
<project name="FlexGridBuildTest" default="build">
<description>Test building a project with a flex
grid</description>
<property name="flex.debug" value="true"/>
<property name="flex.lib.dir" value="C:\Program
Files\ComponentOne Studio.NET\bin"/>
<property name="flex.out"
value="FlexGridBuildTest\bin\debug"/>
<property name="flex.src"
value="FlexGridBuildTest"/>
<target name="init" description="create a directory
for the files, and get the util files">
<!-- Create an output directory -->
<mkdir dir="${flex.out}"/>
<!-- Copy DLLs from the lib directory -->
<copy todir="${flex.out}">
<fileset basedir="${flex.lib.dir}">
<includes name="C1.Win.C1FlexGrid.dll"/>
</fileset>
</copy>
</target>
<target name="clean" description="remove all
generated files">
<delete dir="${flex.out}" failonerror="false"/>
</target>
<target name="build" depends="init"
description="compile the code">
<license input="${flex.src}\licenses.licx"
output="${flex.out}\FlexGridBuildTest.exe.license"
licensetarget="${flex.out}\FlexGridBuildTest.exe">
<assemblies>
<includes
name="${flex.out}\C1.Win.C1FlexGrid.dll"/>
</assemblies>
</license>
<csc target="winexe"
output="${flex.out}\FlexGridBuildTest.exe"
debug="${flex.debug}">
<references>
<includes
name="${flex.out}\C1.Win.C1FlexGrid.dll"/>
</references>
<resources>
<includes name="${flex.src}\*.resx"/>
<includes name="${flex.out}\*.license"/>
</resources>
<sources>
<includes name="${flex.src}\*.cs"/>
</sources>
</csc>
</target>
</project>
If it makes any difference, I�m using NAnt 0.8.3 for
this build. Any help to get this figured out will be
greatly appreciated since I can�t do any release
builds until I get this figured out.
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users