ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jussi Iinatti" <>
Subject Setting filenames in FileSet to value of Class-Path in MANIFEST.MF
Date Tue, 20 Aug 2002 09:41:33 GMT

I am creating a MANIFEST file and I want to add a Class-Path header
field into it - and have the names of files in a FileSet as a value.

E.g. 'Class-Path: servlet.jar infobus.jar acme/beans.jar'

Is there a way to set a list of files in a FileSet to the value
of the Class-Path header?

<fileset id = "path" dir="/lib">
    <include name="*.jar"/>

<property name  = "ClassPath"
          refid = "path"/>

<manifest file="MANIFEST.MF">
	<attribute name="Class-Path"

But the created manifest file includes something like an ID of an Object:

Manifest-Version: 1.0
Created-By: Apache Ant 1.5

It seems that it makes no sense to use reference of the FileSet here,
but is there a way to get the names of the files in a FileSet?

Any suggestions?

	- Jussi -

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

View raw message