ant multiple basedir for jar or cab?

M

me

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.
 
S

Sanjay Goel

me said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top