Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #15797

Re: ant task keep basedir on include

Path csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: ant task keep basedir on include
Date Mon, 02 Jul 2012 19:53:07 -0700
Organization A noiseless patient Spider
Lines 16
Message-ID <jstmqk$c6o$1@dont-email.me> (permalink)
References <a641d58a-792c-4e5c-a777-c41e501eff22@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 3 Jul 2012 02:53:09 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="12504"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZRCb8aZ5J55QujH/tMDvnenK7DCfVz74="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
In-Reply-To <a641d58a-792c-4e5c-a777-c41e501eff22@googlegroups.com>
Cancel-Lock sha1:gKcl0rjybAgszHYHJ9LtftwJwuI=
Xref csiph.com comp.lang.java.programmer:15797

Show key headers only | View raw


On 7/2/2012 5:24 PM, Greg wrote:
> I am trying to maintain my dependencies in an ant build system across
> multiple files.  I would like each task to be able to use their own
> respective build files that are in their directory when they are
> called upon.  How do I tell an imported task that I have put in a
> "depends" to use it's own basedir and not the one of the importer?


I think "it depends," but it sounds like you might want the subant task:

<http://ant.apache.org/manual/Tasks/subant.html>

Note especially the second example at the bottom of that page.  Is that 
like what you are looking for?

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ant task keep basedir on include Greg <shireyg@gmail.com> - 2012-07-02 17:24 -0700
  Re: ant task keep basedir on include markspace <-@.> - 2012-07-02 19:53 -0700
  Re: ant task keep basedir on include Roedy Green <see_website@mindprod.com.invalid> - 2012-07-03 05:18 -0700
    Re: ant task keep basedir on include Gene Wirchenko <genew@ocis.net> - 2012-07-03 09:04 -0700
      Re: ant task keep basedir on include Roedy Green <see_website@mindprod.com.invalid> - 2012-07-03 14:10 -0700
        Re: ant task keep basedir on include Gene Wirchenko <genew@ocis.net> - 2012-07-03 14:38 -0700
          Re: ant task keep basedir on include Roedy Green <see_website@mindprod.com.invalid> - 2012-07-04 05:20 -0700
            Re: ant task keep basedir on include Gene Wirchenko <genew@ocis.net> - 2012-07-04 12:58 -0700
    Re: ant task keep basedir on include Arne Vajhøj <arne@vajhoej.dk> - 2012-07-05 20:25 -0400

csiph-web