We use a third party reporting tool in our application
called Active Reports.  It produces an entry in a
licenses.licx file so that when a report is displayed
a red tagline saying it's an evaluation version
doesn't display at the bottom of the report.  A
machine is registered by running licensepro.exe.  When
I build our application using Visual Studio .NET 2003
everything works fine.  The report displays without
the evaluation copy tagline.  If I build our
application using NAnt, the evaluation copy tagline at
the bottom of the report shows.  I created a simple C#
project containing a form that displays a report in
the report viewer and get the same behavior.  I have
sent this project to a fellow coworker who's machine
is also registered for Active Reports and the tagline
displays on his machine too when he builds using NAnt.
 The following is my NAnt script for my sample
project, is there something I'm missing that could be
causing this to occur?

<?xml version="1.0"?>
<project name="ARTest" default="build"
xmlns="http://nant.sf.net/nightly/2005-03-19-0.85/nant.xsd";
basedir=".">
        <property name="basename" value="ARTest" />
        <property name="libfolder" value="lib" />
        <target name="clean">
                <delete file="${basename}-cs.exe"
failonerror="false" />
                <delete file="${basename}.licenses"
failonerror="false" />
        </target>
        <target name="build" depends="clean">
        
                <license input="licenses.licx"
                                 target="${basename}-cs.exe"
                                 output="${basename}.licenses">
                        
                        <assemblies>
                                <include name="${libfolder}\ActiveReports*.dll" 
/>
                        </assemblies>            
                </license>
                
                <csc target="winexe"
                         output="${basename}-cs.exe"
                         verbose="true">
                         
                        <references>
                                <include name="${libfolder}\ActiveReports.dll" 
/>
                                <include
name="${libfolder}\ActiveReports.Viewer.dll" />
                                <include name="System.dll" />
                                <include name="System.Data.dll" />
                                <include name="System.Drawing.dll" />
                                <include name="System.Windows.Forms.dll" />
                                <include name="System.Xml.dll" />
                        </references>    
                        <resources basedir="."
                                           dynamicprefix="true"
                                           prefix="${basename}">
                                <include name="**\*.resx" />
                                <include name="**\*.rpx" />                
                        </resources>
                        <resources basedir=".">
                                <include name="**\*.licenses" />
                        </resources>
                        <sources basedir=".">
                                <include name="**\*.cs" />
                        </sources>
                </csc>
        </target>
</project> 

Thanks.

ljw

http://www.punkcoder.com/


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to