Title: Message
Okay that worked as well, but do you know if you can log that build call separately from the wrapper NAnt build that is calling the other NAnt builds?
 
Thanks,
 
Tim.
-----Original Message-----
From: Bob Archer [mailto:[EMAIL PROTECTED]
Sent: September 29, 2006 9:06 AM
To: Tim Mayert; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Calling other Nant build projects from within acurrently running Nant build question?

Have you tried the NANT task?

 

BOb

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Mayert
Sent: Friday, September 29, 2006 10:58 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Calling other Nant build projects from within acurrently running Nant build question?

 

I would like to be able to launch another Nant build from another currently running Nant build and would like to know the best way to do this.

 

At the moment I just use the following command line to launch the other Nant builds:

 

<exec program="${nant.home.dir}\bin\Nant.exe" basedir="${sharedbld.dir}" workingdir="${sharedbld.dir}" output="${output.file.name}" failonerror="false" verbose="true" >

<arg value="full.build" />

<arg value="-D:buildnumupdated=false" />

<arg value="-D:version.file=&quot;${g_build.config}_Version.xml&quot;"/>

<arg value="-D:g_properties.file=&quot;${g_build.config}_ProjectProperties.xml&quot;" />

<arg value="-l:${g_build.config}.txt" />

<arg value="-verbose+" />

</exec>

 

Now they do get triggered and seem to run okay, at least for the testing I am doing, but in doing this I notice the log file gets the following messages:

 

[exec] Framework 'net-1.0' is invalid and has not been loaded : The 'System.dll' assembly does not exist in framework assembly directory 'C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705'..

[exec]

[exec] Framework 'net-2.0' is invalid and has not been loaded : Framework directory 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.40607' does not exist..

[exec]

[exec] Framework 'net-2.0' is invalid and has not been loaded : Framework directory 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215' does not exist..

[exec]

[exec] Framework 'net-2.0' is invalid and has not been loaded : Framework directory 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727' does not exist..

[exec]

[exec] Framework 'mono-1.0' is invalid and has not been loaded : Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';.

[exec]

[exec] Framework 'mono-2.0' is invalid and has not been loaded : Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';.

[exec]

[exec] Framework 'mono-2.0' is invalid and has not been loaded : Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';.

[exec]

[exec] Framework 'mono-2.0' is invalid and has not been loaded : Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';.

[exec]

[exec] Framework 'mono-2.0' is invalid and has not been loaded : Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';.

[exec]

[exec] Framework 'sscli-1.0' is invalid and has not been loaded : Framework directory 'C:\sscli\build\v1.x86fstchk.rotor' does not exist..

[exec]

 

Can I simply ignore these or is there actually an issue calling Nant from within Nant and that I have to call it a different way?  Is there a way to not have these show up in the build log?

 

Thanks,

SMART Technologies Inc.


Tim Mayert
Software Developer
  

Tel. 403.228.8552 Fax 403.229.2531
[EMAIL PROTECTED]
http://www.smarttech.com
Bringing people and ideas together.

 

-------------------------------------------------------------------------
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