472,951 Members | 1,836 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,951 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 1679
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...
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...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.