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

From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: ant task keep basedir on include
Date 2012-07-02 19:53 -0700
Organization A noiseless patient Spider
Message-ID <jstmqk$c6o$1@dont-email.me> (permalink)
References <a641d58a-792c-4e5c-a777-c41e501eff22@googlegroups.com>

Show all headers | 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