I'll try and get a small sample output when I can.  But I seem to run
into lots of issues with calling the solution files.  The order always
seems different than that is indicated in the solution file itself,
projects don't always build or they fail to build, but build fine in the
IDE.

I am currently looking at one where calling the solution file will
attempt to build this one project that includes two .idl files.  These
generate other files that are used in the build and one will generate
the files correctly but the other one will not.  So I build in the IDE
and it works fine.  I build in my make file and it also builds fine.

I don't know why calling the main solution file from NAnt is causing so
many issues, but it would be nice to know what is causing these and what
I can do about it so that I can prevent some of these issues.

Again is there anything that needs to be declared or done first before
calling the solution file?

Also how about environment paths.  I use the environment paths, set from
within my NAnt project files, to build the solution files.  Does NAnt
use the environment paths properly or does it simply use what has been
set up in the Studio IDE?

Thanks for your help!

Tim. 

-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: November 15, 2005 8:35 AM
To: Tim Mayert; Bill Barge; nant-users@lists.sourceforge.net
Subject: Re: [Nant-users] Calling Solution target to build complete
solution


Hi Tim,

Can you send me a small repro ?

Gert
----- Original Message ----- 
From: "Tim Mayert" <[EMAIL PROTECTED]>
To: "Bill Barge" <[EMAIL PROTECTED]>;
<nant-users@lists.sourceforge.net>
Sent: Tuesday, November 15, 2005 4:30 PM
Subject: RE: [Nant-users] Calling Solution target to build complete
solution


My solution file does not build web projects.  They are all simply C++
projects and there is no problem building it with Studio or nmake, it is
just NAnt solution build that seems to be the issue.  Are there any
other suggestions on how to get this to work better?

Thanks,

Tim.

-----Original Message-----
From: Bill Barge [mailto:[EMAIL PROTECTED]
Sent: November 15, 2005 8:06 AM
To: nant-users@lists.sourceforge.net
Cc: Tim Mayert
Subject: RE: [Nant-users] Calling Solution target to build complete
solution



I have seen simular problems using the solution task.  The common item I
am seeing is that NAnt is not wanting to build my web project (web
application).  When I run it again solutions that do not have a web
project as the final project it works fine.  I always get the following
error

BUILD FAILED

Error checking whether 'C:\Inetpub\wwwroot\Orderform' is an enterprise
template project.
    Access to the path "C:\Inetpub\wwwroot\Orderform" is denied.

Here is what I am using as the script

<?xml version="1.0"?>
<project name="OrderForm" default="build">  <description>Crystaltech's
Order Form</description>
    <property name="CompileMode" value="debug" overwrite="true" />
<target name="build" description="compiles the source code">
  <solution verbose="true" configuration="${CompileMode}"
solutionfile="C:\PROJECTS\CrystalTechSolutions\OrderformSolution.sln">
   <webmap>
    <map url="http://localhost/Orderform/Orderform.vbproj";
path="C:\Inetpub\wwwroot\Orderform"/>
   </webmap>
  </solution>
    </target>
</project>

At first I thought that I had a permissions problem but it still will
not work after I give "everyone" full control access.  I am wondering
now if it has something to do with the OS I am testing on.  XP Pro is
what I am developing the build files on. I am also wondering if there is
a bug in the solution task.

Thank you,

Bill Barge

Programmer / Analysis

CrystalTech Web Hosting Inc.

Phone: 602-263-0300 x131

Fax: 602-263-0600

Email: [EMAIL PROTECTED]

URL:www.crystaltech.com <http://www.crystaltech.com/>





  _____

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Mayert
Sent: Tuesday, November 15, 2005 7:04 AM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] Calling Solution target to build complete solution


Are there any tricks to make this work properly?  I and using the
solution task to simply run the complete solution under each of the
configurations that exist.  Now most projects build, but there are some
projects that are simply skipped entirely.  And I do not mean skipped
where it states in the log file that it is skipping the project, it
actually completely skips the building of that project file.  In the log
it will state all the .vcproj files that are being loaded, and the ones
that are skipped are listed as loaded, but that is the only mention of
the project at all and again the build will complete without even
touching that project.

Some of the project are even dependencies of other projects and I have
gone in the properties of the solution file to make sure all the skipped
projects are set to build.  I could not see anything wrong with the
solution file, but I can not explain why some projects are skipped or
not.

Is there anything that needs to be done to the solution file to fix this
issue, or anything in the NAnt project that needs to be done to fix
this?

Thanks,

SMART Technologies Inc.



Tim Mayert
Software Developer

Tel. 403.228.8552 Fax 403.228.2500  <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED]  <http://www.smarttech.com/>
http://www.smarttech.com Bringing people and ideas together. (tm)







-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to