473,383 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Anyone here use Nant? <solution> tag help

Hello Everyone,

I just started using nant in conjunction with cruisecontrol.net. The
<solutiontag has been great in helping us compile VS.NET 2003 projects
without need to write a nant build file.

My project compiles stuff into a directory like:

C:\DEV_Machine\Build_Directory <-Empty
C:\DEV_Machine\Build_Directory\Project_1 <-Project 1 Bin
files
C:\DEV_Machine\Build_Directory\Project_2 <-Project 2 Bin
files
C:\DEV_Machine\Build_Directory\Project_3 <-Project 3 Bin
files
C:\DEV_Machine\Build_Directory\Project_4 <-Project 4 Bin
files
Etc.

However, on my build server I like to output the files to:

C:\SomeOtherDir\
C:\ SomeOtherDir \Project_1
C:\ SomeOtherDir \Project_2
C:\ SomeOtherDir \Project_3
C:\ SomeOtherDir\Project_4
Etc.
I tried using the outputdir attribute in the <solutiontag, but when I
use it, all my files are dumped into the root directory specified (c:
\someotherdir). Nant doesn't seem to create the sub directories.

Here is my simple build file:

<?xml version="1.0" encoding="utf-8" ?>
<project name="MediaCenter SDK">
<property name="nant.settings.currentframework" value="net-1.1" />
<solution
configuration="debug"
solutionfile="Consoles.sln"
outputdir="..\..\Build Release\MyProjectOutputs ">
>
<assemblyfolders>
<include name="..\..\Build Release\References" />
</assemblyfolders>
</solution>
</project>

Is there any way of getting this to work with v0.85?

Any help is appreciated.

Thanks!
Dec 20 '06 #1
1 1105
Hello Spam,

Have u tried to use NAntContrib "slingshot" to convert VS solution to Nant
build file?
Read there http://objectsharp.com/cs/blogs/barr...11/13/193.aspx

SCI just started using nant in conjunction with cruisecontrol.net. The
SC<solutiontag has been great in helping us compile VS.NET 2003
SCprojects without need to write a nant build file.
SC>
---
WBR,
Michael Nemtseva [C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
Dec 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: TXSherry | last post by:
Hi, I cannot seem to wrap my brain around preg_replace. Though I've read the help file backwords and forwards. :/ Hoping someone can give me a solution here. Problem: Given string 'str'...
3
by: Baffin Shea | last post by:
Dear All, The following script is generated by frontpage itself in order to insert menu.htm in the current .htm page: <body> : <!--webbot bot="Include" U-Include="menu.htm" TAG="BODY" --> :...
3
by: Mike Blanchard | last post by:
I'm new to SQL and databases and have a delema which I'm sure is an easy thing for you experts out there to do. What I have is this: I have a table similliar to this: table name: tablename...
3
by: Sandros | last post by:
Background: I'm collecting usability statistics for a group of applications. Each count has the following attributes: date, application, major heading, minor heading, count. My intent is to pull...
1
by: ibe | last post by:
Hi, i can't get the clue: I hav a loop in my code like this: ---snip--- class Foo { accept(Visitor& v) { v.visit(*this); }
5
by: ibe | last post by:
Hi, i can't get the clue: I have had a loop in my code like this: ---snip--- class Foo { accept(Visitor& v) { v.visit(*this); }
1
by: Spam Catcher | last post by:
Hello Everyone, I just started using nant in conjunction with cruisecontrol.net. The <solutiontag has been great in helping us compile VS.NET 2003 projects without need to write a nant build...
0
by: nabil035 | last post by:
I have a C++ solution in Visual Studio 2008 This solution contains two projects: 1- Native DLL that communicate with others delegates and provides interfaces to the second project 2-Managed C++...
13
by: Ruediger | last post by:
Hello! Executing following little program gives me an TypeError. What makes me wonder is that foo does get an argument passed while bar doesn't. Can anyone explain why?????? Thanks Ruediger
33
by: insirawali | last post by:
I have written this in C#. I just need to convert it into C. da problem comes when handling the String. In C the String doesn't behave the same way as in C#. it would be great help if...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.