I have got my trick, I am calling the target which should depend on me
using antcall, so:
ant custom_debug
{ .. do my stuff ..}
antcall target="debug"
:-)
On Wednesday, December 17, 2014 3:38:18 PM UTC, pedr0 wrote:
>
> Hi thanks,
>
> I think it is a good starting point nevertheless that helps me in
> configuring new targets withtout changing the build.xml file, what I would
> like to do is to create a new target where debug - created by default -
> depends on.
>
> So when I run
>
> ant debug
>
> My custom_target defined in the custom_rules.xml would be executed,
> suggestions ?
>
> On Wednesday, December 17, 2014 3:07:33 PM UTC, Gus wrote:
>>
>> Hello,
>>
>> I think you need to use custom_rules.xml file.
>>
>> Check
>> http://playaprogrammer.blogspot.com.br/2013/01/android-build-configuration-tutorial.html
>>
>> Regards,
>> Gustavo
>>
>> On Wed, Dec 17, 2014 at 12:20 PM, pedr0 <[email protected]> wrote:
>>>
>>> Hi everyone,
>>>
>>> I am working using the
>>>
>>> android android update project
>>>
>>> which, if I am not mistaking, creates the build.xml file which actually
>>> builds my project, as a part of the build process I do need to call
>>> another script before let ant compiling, this script copies a couple of .so
>>> file from another directory to my library/armebi folder.
>>>
>>> Right now I am doing this by hand everytime. I could modify the
>>> build.xml file and let it copies those files but before starting (I know
>>> little about ant) I am questioning if I will to lose all my job everytime I
>>> execute an
>>>
>>> android android update project
>>>
>>> command, which overwrites the build.xml, can I instruct the android tool
>>> to "attach" a script and execute it before compiling ?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.