Hi ruben/craig,
                  Now i really understand why it is neccessary to call my
IDE from nant directly rather than indirectly.I am really trying hard to
make it work out from nant directly.This is the thing which i had tried in
my nant.build shown below

  <exec program="D:\WindRiver\wrenv.exe" failonerror="false" >
   <arg value="-p"/>
   <arg value="vxworks653-2.2.3"/>
   </exec>

when i executed nant directly from the command line this nant was just
getting stuck up i mean its neither throwing any errors nor completing its
execution.

Any idea of what could be wrong??



With kind regards
Maddy

On Tue, Apr 21, 2009 at 12:31 PM, Craig & Sammi Sutherland <
[email protected]> wrote:

>  Hi Maddy,
>
>
>
> This issue has the same underlying cause as CCNET-1449 – once you can get
> Nant to pause and wait for the IDE to finish running, then the merge will
> work without any problems as well.
>
>
>
>
>
> Craig
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Ruben Willems
> *Sent:* Tuesday, 21 April 2009 6:52 p.m.
> *To:* [email protected]
> *Subject:* [ccnet-user] Re: File merging
>
>
>
> Hi
>
>
> you can do that, but it will be trial and error.
> Can't you pass an argument or so to the IDE, so that it complete finishes,
> before giving back control to CruiseControl.
>
> How do you call the IDE?
> if possible call it directly via nant, this way other targets will only be
> excecuted when the IDE stops.
>
>
> with kind regards
> Ruben Willems
>
>  On Tue, Apr 21, 2009 at 8:39 AM, madhu nambiar <[email protected]>
> wrote:
>
> Hi ruben,
>
>            So should i add some tag which mentions about some wait
> statement so that Merging occurs actually after the IDe closes.??
>
>
>
> with kind regards
>
> Maddy
>
> On Tue, Apr 21, 2009 at 12:31 AM, Ruben Willems <[email protected]>
> wrote:
>
> Hi
>
>
> be sure that the IDE is closed before the merginf begins
>
>
> with kind regards
> Ruben Willems
>
>
>
> On Mon, Apr 20, 2009 at 1:33 PM, Maddy <[email protected]> wrote:
>
>
> Hi all,
>         i hope you guys remember that i had a doubt regarding the
> logging of the output or extraction of the IDE contents.I am able to
> get that veru successfully.Thanks to everyone for the support and co
> orperation.So i had actually generated that output(i.e.output.xml) in
> my project folder.So inorder to merge it i had mentioned in my
> ccnet.config file inside the publisher task using the <merge>
> section.But when i force my build,i am able to get the output but
> error comes in ccnet.config window that unable to merge.please see
> below.
>
> [VSAT:ERROR] Publisher threw exception:
> ThoughtWorks.CruiseControl.Core.CruiseC
> ontrolException: Unable to read the contents of the file: C:
> \ThreePartition\outp
> ut.xml ---> System.IO.IOException: The process cannot access the file
> 'C:\ThreeP
> artition\output.xml' because it is being used by another process.
>
> Can u please suggest me any method by which merging can be done
> successfully.I have pasted the whole ccnet.config file below.
>
> <cruisecontrol>
>
>  <project name="VSAT">
>  <sourcecontrol type="filtered">
>   <sourceControlProvider type="filesystem">
>        <repositoryRoot>C:\ThreePartition</repositoryRoot>
>        <autoGetSource>true</autoGetSource>
>        <ignoreMissingRoot>false</ignoreMissingRoot>
> </sourceControlProvider>
>
>        <exclusionFilters>
>                <pathFilter>
>
>  <pattern>C:\ThreePartition\wrSbc750gx_ThreePartition\**</
> pattern>
>                </pathFilter>
>                <pathFilter>
>                        <pattern>C:\ThreePartition\*.txt</pattern>
>                </pathFilter>
>                <pathFilter>
>                        <pattern>C:\ThreePartition\*.xml</pattern>
>                </pathFilter>
>         </exclusionFilters>
> </sourcecontrol>
>
>
>
>
>   <triggers>
>            <intervalTrigger name="continuous" seconds="240"
> buildCondition="IfModificationExists" />
>    </triggers>
>
>
>
>  <tasks>
>
>     <nant>
>                <executable>C:\Nant-0.85\bin\NAnt.exe</executable>
>                <buildFile>nant.build</buildFile>
>
>
>      </nant>
>
>  </tasks>
>
> <publishers>
>
>
> <log>
>  <merge file="C:\ThreePartition\output.xml"/>
> </log>
>                <xmllogger logDir="C:\Program
> Files\CruiseControl.NET\server\DF2.0-CI
> \Logfiles" />
>
>         </merge>
>
>
>                <email from="[email protected]"
> mailhost="smtp.servermail.com" includeDetails="TRUE">
>
>                                <users>
>
>
>                                                <user name="Maddy"
> group="buildmaster"
> address="[email protected]"/>
>
>                                </users>
>
>                                <groups>
>
>                                                <group name="buildmaster"
> notification="always"/>
>
>                                                <group name="developers"
> notification="change"/>
>
>                                </groups>
>
>                </email>
>
> </publishers>
>
> </project>
> </cruisecontrol>
>
>
>
>
>
>
>

Reply via email to