Hi ,
 
   I am trying to build the solution using Nant 0.85
latest nightly build. I am attaching both the build
file and the error I got while running it. I tried
using <exec> task. It is working correctly. but it is
not copying the dll files to the output directory.
Please let me know what could be the solution.
 
--------------   Build FIle   
 ---------------------------
 

<?xml version="1.0"?>
<project name="Server" default="build" basedir="." >
<property name="Solution.Filename"
value="C:\Projects\Oryx\Server\Server.sln"/>

<property name="Solution.Configuration"
value="DEBUG"/>

<property name="Build.OutputFolder"
value="C:\Projects\Build\Output\" />

<target name="clean" description="remove all generated
files">

<delete>
<fileset basedir="${Build.OutputFolder}">
<include name="*.*"/>
</fileset>
</delete>
</target>

<target name="build" description="compiles the source
code">
<call target="clean" />
<solution verbose="true"
solutionfile="${Solution.Filename}"
outputdir="${Build.OutputFolder}"
configuration="${Solution.Configuration}" />
</target>

</project>

Here is the Error Output....

NAnt 0.85 (Build 0.85.1664.0; net-1.0.win32; nightly;
7/22/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile:
file:///C:/Projects/Oryx/Server/Server.build
Target(s) specified: build 


build:


clean:

   [delete] Deleting 0 files.
 [solution] Starting solution build.
 [solution] Loading projects...
 [solution] Loading project
'C:\Projects\Oryx\Server\..\Interfaces\ResourceManagementInterfaces\ResourceManagementInterfaces.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\ServerConsole\ServerConsole.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\ServerUtilities\ServerUtilities.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\ServicesTest\ServicesTest.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\ChangeManagementServices\ChangeManagementServices.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\..\Interfaces\ServicesInterfaces\ServicesInterfaces.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\..\ProductLicensing\LicenseManager\LicenseManager.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\XPOPersistenceManager\XPOPersistenceService.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\..\ProductLicensing\Cryptography\Cryptography.csproj'.
 [solution] Loading project
'Z:\Server\SatelliteAssemblies\SatelliteAssemblies.vcproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\..\Interfaces\OryxFieldAttributes\OryxFieldAttributes.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\Services\Services.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\Resources\Resources.vcproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\..\Interfaces\XApplicationInterfaces\XApplicationInterfaces.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\ResourceManagementServices\ResourceManagementServices.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\..\Interfaces\ApplicationInterfaces\ApplicationInterfaces.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\ApplicationServices\ApplicationServices.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\..\WorkFlow\WorkFlowEngineInterfaces\WorkFlowEngineInterfaces.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\XApplicationServices\XApplicationServices.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\..\WorkFlow\WorkFlowEngine\WorkFlowEngine.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\..\Common\Utilities\Utilities.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\..\Interfaces\ChangeManagementInterfaces\ChangeManagementInterfaces.csproj'.
 [solution] Loading project
'C:\Projects\Oryx\Server\OryxService\OryxService.csproj'.
 [solution] Gathering additional dependencies...

Build failed

INTERNAL ERROR

System.ArgumentNullException: Value cannot be null.
Parameter name: path2
   at System.IO.Path.Combine(String path1, String
path2)
   at NAnt.VSNet.VcConfiguration.get_OutputPath() in
C:\Documents and Settings\drieseng\Local
Settings\Temp\tmp29C4.tmp\src\NAnt.VSNet\VcConfiguration.cs:line
161
   at NAnt.VSNet.ProjectBase.GetOutputPath(String
configuration) in C:\Documents and
Settings\drieseng\Local
Settings\Temp\tmp29C4.tmp\src\NAnt.VSNet\ProjectBase.cs:line
173
   at
NAnt.VSNet.Solution.GetDependenciesFromProjects() in
C:\Documents and Settings\drieseng\Local
Settings\Temp\tmp29C4.tmp\src\NAnt.VSNet\Solution.cs:line
589
   at NAnt.VSNet.Solution..ctor(FileInfo solutionFile,
ArrayList additionalProjects, ArrayList
referenceProjects, TempFileCollection tfc,
SolutionTask solutionTask, WebMapCollection webMaps,
FileSet excludesProjects, DirectoryInfo outputDir,
GacCache gacCache, ReferencesResolver refResolver) in
C:\Documents and Settings\drieseng\Local
Settings\Temp\tmp29C4.tmp\src\NAnt.VSNet\Solution.cs:line
131
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
C:\Documents and Settings\drieseng\Local
Settings\Temp\tmp29C4.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line
375
   at NAnt.Core.Task.Execute() in C:\Documents and
Settings\drieseng\Local
Settings\Temp\tmp29C4.tmp\src\NAnt.Core\Task.cs:line
177
   at NAnt.Core.Target.Execute() in C:\Documents and
Settings\drieseng\Local
Settings\Temp\tmp29C4.tmp\src\NAnt.Core\Target.cs:line
249
   at NAnt.Core.Project.Execute(String targetName,
Boolean forceDependencies) in C:\Documents and
Settings\drieseng\Local
Settings\Temp\tmp29C4.tmp\src\NAnt.Core\Project.cs:line
876
   at NAnt.Core.Project.Execute() in C:\Documents and
Settings\drieseng\Local
Settings\Temp\tmp29C4.tmp\src\NAnt.Core\Project.cs:line
833
   at NAnt.Core.Project.Run() in C:\Documents and
Settings\drieseng\Local
Settings\Temp\tmp29C4.tmp\src\NAnt.Core\Project.cs:line
903

Please send bug report to
[EMAIL PROTECTED]

Total time: 0.6 seconds.

Thanks,
Sridhar!!



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to