The user specifies the version. If they specify 1.1, I need to get the directories of 1.0 and 1.1 but not 1.1.1 and 2.0. If they specify 1.1.1, I have to get 1.0, 1.1, and 1.1.1. So it's not as simple as just using the version they specify, I have to add some logic to figure out what versions are higher or lower than the specified version. For this, I need some kind of string manipulation.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 05, 2006 3:17 AM To: [email protected]; [EMAIL PROTECTED] Subject: AW: Parsing directory names >I have the following directory structure: > >2005_1.0 > filea > fileb >2005_1.1 > filec >2005_1.1.1 > filed >2005_2.0 > filee > > >My build needs to determine which files to zip based on the directory >name. >If the user specifies 1.1, I need to include all files in the Who specifies? The user or the build process? If the user does, the simplest way would be <fileset dir="2005_${version}"/> Jan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
