Have you tried the NANT task? BOb From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Mayert 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="${g_build.config}_Version.xml""/> <arg
value="-D:g_properties.file="${g_build.config}_ProjectProperties.xml""
/> <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.
Tel. 403.228.8552 Fax 403.229.2531 |
------------------------------------------------------------------------- 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