Re: Antbuilder error.
Sachin Gurumukhi <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <D978F4460A9DFC49AD99720E49821F9C086B3B34A3@EXCHANGE.persistent.co.in> |
Hi,
I have following code in my Config.xml of cruise control.
<project name="Admin_Tool" buildafterfailed="No" requireModification="false">
<property name="P4_CLIENT" value="Admin.Tool.imm" />
<property name="P4.source" value="//Sagittarius/branches/Admin_Tool/AdminTool/..." />
<property name="CC.build.root" value="projects/${project.name}/branches/Admin_Tool" />
<property name="email.notification.userlist" value="[email protected]" />
<listeners>
<currentbuildstatuslistener file="logs/${project.name}/status.txt" />
</listeners>
<bootstrappers>
<p4bootstrapper view="${P4.source}" port="${P4_PORT}"
user="${P4_USER}" passwd="${P4.Pass}" client="${P4_CLIENT}" />
</bootstrappers>
<modificationset quietperiod="0">
<p4 view="${P4.source}" port="${P4_PORT}" user="${P4_USER}"
passwd="${P4.Pass}" client="${P4_CLIENT}" />
</modificationset>
<schedule>
<ant anthome="/opt/Ant/1.70Beta2" buildfile="${CC.build.root}/admin_tool_build.xml" target="build" Time="1600">
<property name="P4_USER" value="${P4_USER}" />
<property name="P4_CLIENT" value="${P4_CLIENT}" />
<property name="P4_PORT" value="${P4_PORT}" />
<property name="P4.Pass" value="${P4.Pass}" />
<property name="P4_ARGS" value="-u ${P4_USER} -c ${P4_CLIENT} -P ${P4.Pass} -p ${P4_PORT}" />
<property name="P4_source" value="${P4.source}" />
<property name="branch_name" value="${project.name}" />
</ant>
<ant anthome="/opt/Ant/1.70Beta2" buildfile="${CC.build.root}/AdminTool.Automation/build.xml"
target="build" Time="1600">
<property name="P4_USER" value="${P4_USER}" />
<property name="P4_CLIENT" value="${P4_CLIENT}" />
<property name="P4_PORT" value="${P4_PORT}" />
<property name="P4.Pass" value="${P4.Pass}" />
<property name="P4_ARGS" value="-u ${P4_USER} -c ${P4_CLIENT} -P ${P4.Pass} -p ${P4_PORT}" />
<property name="P4_source" value="${P4.source}" />
<property name="branch_name" value="${project.name}" />
</ant>
</schedule>
<log>
</log>
<property file="projects/${project.name}/branches/${project.name}/version.properties" />
<plugin name="labelincrementer" classname="net.sourceforge.cruisecontrol.labelincrementers.PropertyFileLabelIncrementer" />
<labelincrementer
propertyfile="projects/${project.name}/branches/${project.name}/version.properties"
propertyname="next_build_label" preBuildIncrementer="true" />
</project>
Let me know if anything is wrong in it.
Regards,
Sachin Gurumukhi
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, July 06, 2011 5:36 PM
To: [email protected]
Subject: Cruisecontrol-user Digest, Vol 63, Issue 6
Send Cruisecontrol-user mailing list submissions to
[email protected]<mailto:[email protected]>
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
or, via email, send a message with subject or body 'help' to
[email protected]<mailto:[email protected]>
You can reach the person managing the list at
[email protected]<mailto:[email protected]>
When replying, please edit your Subject line so it is more specific than "Re: Contents of Cruisecontrol-user digest..."
Today's Topics:
1. Re: Antbuilder error. (Adam Bruss)
2. Re: Antbuilder error. (Julian Simpson)
----------------------------------------------------------------------
Message: 1
Date: Tue, 5 Jul 2011 21:37:12 +0000
From: Adam Bruss <[email protected]>
Subject: Re: [Cruisecontrol-user] Antbuilder error.
To: "[email protected]"
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Do you by chance have an empty antbootstrapper element in your cruisecontrol config such as
<antbootstrapper/>
?
If so that would try to find build.xml.
Adam Bruss
Senior Development Engineer
AWR Corporation
11520 N. Port Washington Rd., Suite 201
Mequon, WI 53092 USA
P: 1.262.240.0291 x104
F: 1.262.240.0294
E: [email protected]<mailto:[email protected]>
W: http://www.awrcorp.com<http://www.awrcorp.com/>
From: Sachin Gurumukhi [mailto:[email protected]]
Sent: Tuesday, July 05, 2011 5:13 AM
To: [email protected]
Subject: [Cruisecontrol-user] Antbuilder error.
Hi ,
I have added admintool Automation project in cruisecontrol. Below are it's log.
[cc]Jul-05 15:29:35 jectController- AdminToolAutomation Controller: build progress event: idle
[cc]Jul-05 15:29:35 Project - exception attempting build in project AdminToolAutomation
net.sourceforge.cruisecontrol.CruiseControlException: File specified [/opt/work/crusiecontrol/workspace/projects/AdminToolAutomation/branches/Admin_Tool/AdminTool.Automation/build.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.Schedule.build(Schedule.java:169)
at net.sourceforge.cruisecontrol.Project.build(Project.java:226)
at net.sourceforge.cruisecontrol.Project.execute(Project.java:147)
at net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:404)
at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
at java.lang.Thread.run(Thread.java:595)
Could you please let me know , what went wrong.
Regards,
Sachin Gurumukhi
DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Wed, 6 Jul 2011 09:11:04 +0100
From: Julian Simpson <[email protected]>
Subject: Re: [Cruisecontrol-user] Antbuilder error.
To: [email protected]
Message-ID:
<CANwBkz_Horqd1hA+Dqcpvaj5UkVd1O_jXm+sJGQ4S7WT_9SUtQ@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
On 5 July 2011 11:13, Sachin Gurumukhi <[email protected]<mailto:[email protected]>>wrote:
> Hi ,
>
> I have added admintool Automation project in cruisecontrol. Below are
> it's log.
>
> [cc]Jul-05 15:29:35 jectController- AdminToolAutomation Controller:
> build progress event: idle
> [cc]Jul-05 15:29:35 Project - exception attempting build in project
> AdminToolAutomation
> net.sourceforge.cruisecontrol.CruiseControlException: File specified
> [/opt/work/crusiecontrol/
>
Is that a typo in your config? '/opt/cruisiecontrol'
J.
> workspace/projects/AdminToolAutomation/branches/Admin_Tool/AdminTool.A
> utomation/build.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.Schedule.build(Schedule.java:169)
> at net.sourceforge.cruisecontrol.Project.build(Project.java:226)
> at net.sourceforge.cruisecontrol.Project.execute(Project.java:147)
> at
> net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:404)
> at
> net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
> at java.lang.Thread.run(Thread.java:595)
>
> Could you please let me know , what went wrong.
>
> Regards,
> Sachin Gurumukhi
>
>
> DISCLAIMER ========== This e-mail may contain privileged and
> confidential information which is the property of Persistent Systems
> Ltd. It is intended only for the use of the individual or entity to
> which it is addressed. If you are not the intended recipient, you are
> not authorized to read, retain, copy, print, distribute or use this
> message. If you have received this communication in error, please
> notify the sender and delete all copies of this message. Persistent
> Systems Ltd. does not accept any liability for virus infected mails.
>
>
> ----------------------------------------------------------------------
> -------- All of the data generated in your IT infrastructure is
> seriously valuable.
> Why? It contains a definitive record of application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]<mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>
--
Julian Simpson
The Build Doctor Ltd.
http://www.build-doctor.com
[email protected]<mailto:[email protected]>
(+44) 207 183 0323
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
------------------------------
_______________________________________________
Cruisecontrol-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
End of Cruisecontrol-user Digest, Vol 63, Issue 6
*************************************************
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user