Developer Guide – “ant Chapter6” throws error on

If you are following Developer Guide, running script “ant Chapter6” throws the following error.

C:\Ashish\Salesforce\DevGuide1>ant Chapter6
Buildfile: C:\Ashish\Salesforce\DevGuide1\build.xml

[echo] This command will add all the entities you will need to begin the exercises in Chapter 6 into your target organization. The target organization is identified by the sf.username and sf.password in the file.

[input] Press any key to continue . . .

[sf:deploy] Request for a deploy submitted successfully.
[sf:deploy] Request Id for the current deploy task: 04s90000000UTN1AAO
[sf:deploy] Waiting for server to finish processing the request...
[sf:deploy] Request Status: InProgress-Processing Admin
[sf:deploy] Request Status: Completed

C:\Ashish\Salesforce\DevGuide1\build.xml:64: FAILURES:
Error: pages/ may have no more than two child components

To resolve this problem, remove the following line from Chapter6/package.xml file


and run the ant command again.

1 thought on “ Developer Guide – “ant Chapter6” throws error on”

  1. Developer Guide-ant Chapter3CanJA throwing an error.pls pls send me how to rectify that error.thank you.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top
Introducing All Access Pass