ant multiple basedir for jar or cab?

Discussion in 'Java' started by me, Jul 28, 2003.

  1. me

    me Guest

    how do i build a jar or cab using ant that
    has multiple basedirs? i have tried
    repeating the jar or cab task twice in the same
    target but that dosent seem to work. I would like
    to use variables like ${basedir1} and ${basedir2},
    but apparently u cant use those in the "includes"
    attribute which would otherwise have solved the problem.
     
    me, Jul 28, 2003
    #1
    1. Advertising

  2. me

    Sanjay Goel Guest

    me wrote:
    > how do i build a jar or cab using ant that
    > has multiple basedirs? i have tried
    > repeating the jar or cab task twice in the same
    > target but that dosent seem to work. I would like
    > to use variables like ${basedir1} and ${basedir2},
    > but apparently u cant use those in the "includes"
    > attribute which would otherwise have solved the problem.


    I would first move all the dirs to one common basedir and then making the
    jar.
    <copy/>
    <jar/>
    Sanjay
     
    Sanjay Goel, Jul 28, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Arnold Peters
    Replies:
    0
    Views:
    599
    Arnold Peters
    Jan 5, 2005
  2. muttley
    Replies:
    0
    Views:
    2,755
    muttley
    Oct 20, 2005
  3. Eric Bisson
    Replies:
    0
    Views:
    2,277
    Eric Bisson
    Oct 31, 2003
  4. cab files and jar files

    , May 12, 2006, in forum: Javascript
    Replies:
    1
    Views:
    119
  5. Greg
    Replies:
    8
    Views:
    476
    Arne Vajhøj
    Jul 6, 2012
Loading...

Share This Page