Hi
I have a project 'Testweb'.In this one
more project i add i.e 'Web'and i add
one project reference.My nant script is
skiping the release of Testweb and web
project.In Release location bin folder
is missing.Please help.
-------------------------------------------------------
Part Of Output
build:

 [solution] Starting solution build.
 [solution] Skipping 'testweb' [Release] ...
 [solution] Skipping 'web' [Release] ...
--------------------------------------------------------
My Build script is ad follows:

<?xml version="1.0"?>
<project name="testweb" default="production" basedir="..">
<description>TestWeb NANT build script</description>
<property name="build.server.dir" value="..." />
<property name="src.dir" value="testweb"/>
<target name="build">
<solution configuration="Release" 
outputdir="C:/Data/Projects/Devl/TestWeb/Release/bin" 

solutionfile="${src.dir}\testweb.sln">
<webmap>
<map url="http://localhost/testweb/testweb.vbproj"; 
path="${src.dir}\testweb.vbproj"/>
<map url="http://localhost/web/web.vbproj"; 
path="C:\inetpub\data\web\web.vbproj"/>
</webmap>
<assemblyfolders>
<include name="${build.server.dir}" />
</assemblyfolders>
</solution>
</target>
<target name="produce" description="Copy production files">
 <!-- Copy build results to Production folder -->
<copy todir="C:/Data/Projects/Devl/TestWeb/Release">
     <fileset basedir="${src.dir}">
  <includes name="**.aspx" />
  <includes name="**.ascx" />
  <includes name="**.config" />
  <includes name="**.gif" />
  <includes name="**.jpg" />
  <includes name="**.mdb" />
  <includes name="**.css" />

</fileset>
 </copy> 
</target>

<target name="upload">
<exec program="c:\data\projects\devl\testweb\src\testweb\ftp1.bat"/>

   failonerror="false"/>

</target>
<target name="production" depends="build,produce,upload" 
     description="Build MyProject and copy production files">
 <!-- Target just refers to corresponding tasks -->
</target>
</project>

Regards
Sabahat
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to