Wayne, thanks for your reply.
I will try your idea now.

Wayne Fay wrote:
> When you create the my/project/path/build.xml file and add the task to
> that file, does the antcall function work as you expected?
> 
> Not saying this is the proper solution, just trying to help figure it out...
> 
> Wayne
> 
> 
> On 3/19/06, Adrian Herscu <[EMAIL PROTECTED]> wrote:
>> Hi all,
>>
>> When using antcall in an ANT-based mojo the build fails with
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> -------------------------------------------------------------------------
>> ---
>> [INFO] Failed to execute: Executing Ant script:
>> /my/plugin/path/mymojo.build.xml [my-target]: Failed to execute.
>>
>> my/project/path/build.xml (The system cannot find the file s
>> pecified)
>>
>> (of course in my project dir. there is no build.xml)
>>
>> ANT's documentation
>> (http://ant.apache.org/manual/CoreTasks/antcall.html) says that antcall
>> invokes targets in the same build file, namely in mymojo.build.xml -- so
>> why it tries to find build.xml in project's directory?
>>
>> Thanks for any hint,
>> Adrian.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to