ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <>
Subject Re: Providing multiple jars for a given manifestclasspath
Date Sat, 20 Feb 2010 23:34:26 GMT
krats wrote:
> My question is, if I want to use the same manifestclasspath  for multiple
> jars, how do I specify multiple jars in the jarfile attribute of
> manifestclasspath .

You cannot specify multiple jars in the jarfile attribute of the
manifestclasspath task.
What really matters is the directory containing the jarfile. The
manifestclasspath reads the path of the jarfile and records the parent
directory of this jarfile.

The same manifestclasspath will be valid for several jars, if the
relative paths of the  classpath elements used remains the same.

Invoking the manifestclasspath only once will give you a property that
you can use for the Class-Path attribute of all  the jars  you are
> Thx
> KarthikR


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message