[Scons-users] Scons and ant
wblevins001 at gmail.com
Mon Mar 2 21:57:05 EST 2015
Can you give a concrete example?
I don't know the context for "It tacks on the install location at the end
of my current directory".
Please define Install command source X and target Y, plus said directory Z,
or better yet, paste your SConscript?
If I do, Install('/usr/bin', hello) then the target "hello" will be
installed in "/usr/bin".
On Mon, Mar 2, 2015 at 9:45 PM, Owen Alanzo Hogarth <gurenchan at gmail.com>
> Hi Russel
> That was it, I ended up doing:
> action='/usr/local/bin/ant release -f $SOURCE')
> for anyone who might have issues in the future.
> One more question, when using the install builder I'll get my project
> installed like:
> It tacks on the install location at the end of my current directory.
> The only thing that I can think of is that I am not building a Program but
> a SharedLibrary, but I don't see why that should make a difference.
> On Tue, Mar 3, 2015 at 1:08 AM, Russel Winder <russel at winder.org.uk>
>> 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:
>> ['/Users/dev/pic/src/platform/android/java/build.xml'] +
>> '/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
>> 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
>> Scons-users mailing list
>> Scons-users at scons.org
> Scons-users mailing list
> Scons-users at scons.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scons-users