Daniel, Thanks for the information. Yes, I tried that but the "c:\blahblah" is built using a <path> and is missing the trailing "\". I can't add it manually because the script wouldn't run on a Unix box. I also tried:
<map from="c:\blahblah\" to=""/> <map from="\" to=""/> <map from="/" to=""/> but, Ant doesn't seem to chain the map commands together anymore (I thought it used to) so that didn't work either. I was able to get it to work with the <foreach> task from SourceForge but, that is an ugly solution compared to just using <mapper type="flatten"/>. Tony >>> [EMAIL PROTECTED] 07/15/03 01:41AM >>> Tony, Have you tried to add this: <map from="c:\blahblah\" to=""/> Regards, Daniel -----Original Message----- From: Tony Thompson [mailto:[EMAIL PROTECTED] Sent: Tuesday, 15 July, 2003 12:11 AM To: [EMAIL PROTECTED] Subject: Building a manifest I am attempting to build a manifest with the <manifest> task and I am trying to add a "Class-Path" attribute into the manifest. I already have a list of JAR files but I need to remove the path information. I need to do something like the following (which Ant won't let me do): <pathconvert pathsep=" " property="fred" refid="compile.class.path"> <mapper type="flatten"/> </pathconvert> I am trying to get the list of JAR files into a property so that I can use it in the <manifest> task: <manifest file="mainfest.mf"> <attribute name="Class-Path" value="${fred}"/> </manifest> Is there a way to do this? Thanks. Tony --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
