still getin ant buil error

aravind raaman <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi,
I created new build1.xml and placed it in my svn which is remote machine.
I am trying to access with cc from another machine but still not able to.
I STILL KEEP GETTING ANT BUILDER DOESN'T EXIST. where am i going wrong?

config file attached.

[cc]Feb-16 16:34:28 BuildQueue    - BuildQueue started
[cc]Feb-16 16:34:28 BuildQueue    - now adding to the thread queue: GamesPD
[cc]Feb-16 16:34:28 BuildQueue    - now adding to the thread queue:
connectfour
[cc]Feb-16 16:34:28 Project       - Project GamesPD:  bootstrapping
[cc]Feb-16 16:34:28 jectController- GamesPD Controller: build progress
event: bootstrapping
[cc]Feb-16 16:34:28 Project       - Project GamesPD:  idle
[cc]Feb-16 16:34:28 jectController- GamesPD Controller: build progress
event: idle
[cc]Feb-16 16:34:28 Project       - exception attempting build in project
GamesPD
net.sourceforge.cruisecontrol.CruiseControlException: File specified
[xxxxxxxxxxxxxx/build1.xml] for attribute [buildfile] on plugin
[net.sourceforge.cruisecontrol.builders.AntBuilder] doesn't exist.
        at
net.sourceforge.cruisecontrol.util.ValidationHelper.fail(ValidationHelper.java:90)
        at
net.sourceforge.cruisecontrol.util.ValidationHelper.assertExists(ValidationHelper.java:119)
        at
net.sourceforge.cruisecontrol.builders.AntBuilder.validateBuildFileExists(AntBuilder.java:257)
        at
net.sourceforge.cruisecontrol.builders.AntBuilder.build(AntBuilder.java:168)
        at
net.sourceforge.cruisecontrol.bootstrappers.AntBootstrapper.bootstrap(AntBootstrapper.java:62)
        at net.sourceforge.cruisecontrol.Project.bootstrap(Project.java:760)
        at net.sourceforge.cruisecontrol.Project.build(Project.java:192)
        at net.sourceforge.cruisecontrol.Project.execute(Project.java:147)
        at
net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:402)
        at
net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
        at java.lang.Thread.run(Thread.java:595)
[cc]Feb-16 16:34:28 Project       - Project GamesPD:  next build in 5
minutes
[cc]Feb-16 16:34:28 Project       - Project GamesPD:  waiting for next time
to build
[cc]Feb-16 16:34:28 jectController- GamesPD Controller: build progress
event: waiting for next time to build
[cc]Feb-16 16:34:28 Project       - Project connectfour:  bootstrapping
[cc]Feb-16 16:34:28 jectController- connectfour Controller: build progress
event: bootstrapping
[cc]Feb-16 16:34:28 Project       - Project connectfour:  idle
[cc]Feb-16 16:34:28 jectController- connectfour Controller: build progress
event: idle
[cc]Feb-16 16:34:28 Project       - exception attempting build in project
connectfour
net.sourceforge.cruisecontrol.CruiseControlException: Encountered an IO
exception while attempting to execute
'net.sourceforge.cruisecontrol.builders.AntScript@f36e59'. CruiseControl
cannot continue.
        at
net.sourceforge.cruisecontrol.builders.ScriptRunner.runScript(ScriptRunner.java:133)
        at
net.sourceforge.cruisecontrol.builders.AntBuilder.runScript(AntBuilder.java:236)
        at
net.sourceforge.cruisecontrol.builders.AntBuilder.build(AntBuilder.java:208)
        at
net.sourceforge.cruisecontrol.bootstrappers.AntBootstrapper.bootstrap(AntBootstrapper.java:62)
        at net.sourceforge.cruisecontrol.Project.bootstrap(Project.java:760)
        at net.sourceforge.cruisecontrol.Project.build(Project.java:192)
        at net.sourceforge.cruisecontrol.Project.execute(Project.java:147)
        at
net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:402)
        at
net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: java.io.IOException:
/root/Aravind/cruisecontrol-bin-2.8.2/apache-ant-1.7.0/bin/ant: cannot
execute
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
        at java.lang.Runtime.exec(Runtime.java:591)
        at java.lang.Runtime.exec(Runtime.java:464)
        at
net.sourceforge.cruisecontrol.util.CruiseRuntime.exec(CruiseRuntime.java:14)
        at
net.sourceforge.cruisecontrol.util.Commandline.execute(Commandline.java:591)
        at
net.sourceforge.cruisecontrol.builders.ScriptRunner.runScript(ScriptRunner.java:131)
        ... 9 more
[cc]Feb-16 16:34:28 Project       - Project connectfour:  next build in 5
minutes



-- 
ASR

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
sampleconfig.xml (text/xml, 3.1 KB)
<cruisecontrol>
    <project name="xxxxxx">

	<plugin name="svn" classname="net.sourceforge.cruisecontrol.sourcecontrols.SVN"/>
	<plugin name="svnbootstrapper" classname="net.sourceforge.cruisecontrol.bootstrappers.SVNBootstrapper"/>

	<plugin name="antbootstrapper" classname="net.sourceforge.cruisecontrol.bootstrappers.AntBootstrapper"/>
	<plugin name="ant" classname="net.sourceforge.cruisecontrol.builders.AntBuilder"/>

	<plugin name="antpublisher" classname="net.sourceforge.cruisecontrol.publishers.AntPublisher"/>



        <listeners>
            <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
        </listeners>

        <!--<bootstrappers>
            <antbootstrapper anthome="apache-ant-1.7.0" buildfile="projects/${project.name}/build.xml" target="clean" />
        </bootstrappers>-->

		 <bootstrappers>
            <antbootstrapper anthome="apache-ant-1.7.0" buildfile="xxxxxxxxxxxxx/build1.xml" target="build" />
        </bootstrappers>

        <!--<modificationset quietperiod="30">
           
            <filesystem folder="projects/${project.name}"/>
        </modificationset>-->

 <modificationset quietperiod="60">
      <svn username=""
           password=""
           repositoryLocation="xxxxxxxxxxxxxxxxxxxxxxxxxxxx/"/>
    </modificationset>



		 <schedule interval="300">
            <ant anthome="apache-ant-1.7.0" buildfile="projects/${project.name}/build.xml"/>
        </schedule>
		
      <!--  <schedule interval="300">
            <ant anthome="apache-ant-1.7.0" buildfile="http://192.168.1.109/svn/repos/GamesPD/branches/GamesPD_Stage/build1.xml"/>
        </schedule>-->

        <log>
            <merge dir="projects/${project.name}/target/test-results"/>
        </log>

        <publishers>
            <onsuccess>
                <artifactspublisher dest="artifacts/${project.name}" file="projects/${project.name}/target/${project.name}.jar"/>
            </onsuccess>
        </publishers>

    </project>


	<project name="connectfour">

	<plugin name="svn" classname="net.sourceforge.cruisecontrol.sourcecontrols.SVN"/>

        <listeners>
            <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
        </listeners>

        <bootstrappers>
            <antbootstrapper anthome="apache-ant-1.7.0" buildfile="projects/${project.name}/build.xml" target="clean" />
        </bootstrappers>

        <modificationset quietperiod="30">
           
            <filesystem folder="projects/${project.name}"/>
        </modificationset>


		<schedule interval="300">
            <ant anthome="apache-ant-1.7.0" buildfile="projects/${project.name}/build.xml"/>
        </schedule>

        <log>
            <merge dir="projects/${project.name}/target/test-results"/>
        </log>

        <publishers>
            <onsuccess>
                <artifactspublisher dest="artifacts/${project.name}" file="projects/${project.name}/target/${project.name}.jar"/>
            </onsuccess>
        </publishers>

    </project>
</cruisecontrol>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.