[Scons-users] Scons and ant
Russel Winder
russel at winder.org.uk
Mon Mar 2 12:08:36 EST 2015
On Mon, 2015-03-02 at 17:34 +0800, Owen Alanzo Hogarth wrote:
> […]
>
> env.Command('/usr/local/bin/ant release -f',
> ['/Users/dev/pic/src/platform/android/java/build.xml'],
> ['/Users/dev/pic/src/platform/android/java/bin'])
[…]
I think you misread the Command section of the manual. The first
parameter is the targets to be made, the second the sources, and the
third the command template string. Something more along the lines of:
env.Command('/Users/dev/pic/src/platform/android/java/bin/thing',
['/Users/dev/pic/src/platform/android/java/build.xml'] + Glob('sources_pattern'),
'/usr/local/bin/ant release -f')
which would need a lot of doctoring for your situation, I have just
shown something that will fail but hopefully guides you to the right
thing.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150302/5d16891d/attachment.pgp>
More information about the Scons-users
mailing list