Title: Message
Mike how are you calling your InstallShield build portions?
 
Well my builds build the product source and then they will update and build our InstallShield projects as well.  I build the installs using the exec program task and on that line if you use the output= parameter then it will create a log file of only the task that is been ran by that exec program.  So the main log will have all the install build information, but the separate output file will only  have the install build information. Also if you use the resultproperty it will return the result of the install build and as far as I found if the result is not 0 then the install failed somewhere.
 
Here is a sample of my task:
 
<exec program="${g_is.sa.engine}" failonerror="false" resultproperty="g_install.build.result" output="${g_install.results}" verbose="True">
    <arg line="-o" />
    <arg line="${g_mergemodule.paths}" />
    <arg line="-p" />
    <arg line="&quot;${g_project.file}&quot;" />
    <arg line="-r" />
    <arg line="&quot;${g_media.type}&quot;" />
</exec>
 
Tim.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Frederick
Sent: September 29, 2006 2:28 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Calling other Nant build projects from withinacurrently running Nant build question?

I'd like to broaden his request a bit.  One of the things I'm going to need to do is to take segments of a NAnt-directed build and break the output into separately viewable areas of the dashboard.
 
For example, my code monkeys only really care about seeing the output from MSBuild (we are using this to drive our VS 2005 code compilation).  I primarily am in charge of the InstallShield build portion (stifle that laughing); I'd like to have a click-able area so I can look at only its output.
 
Maybe its time for someone to write a bit of a tutorial on how to force build output in such a way so that it can be extracted from the build log like NAnt's can.


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

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