// allow absolute paths in componentDescriptor... MASSEMBLY-486
locator.addStrategy( new RelativeFileLocatorStrategy( configSource.getBasedir() ) );
locator.addStrategy( new FileLocatorStrategy() );
locator.addStrategy( new ClasspathResourceLocatorStrategy() );
final AssemblyExpressionEvaluator aee = new AssemblyExpressionEvaluator( configSource );
final List<String> componentLocations = assembly.getComponentDescriptors();
for ( final Iterator<String> it = componentLocations.iterator(); it.hasNext(); )
{
String location = it.next();
// allow expressions in path to component descriptor... MASSEMBLY-486
try
{
location = aee.evaluate( location ).toString();
}
catch ( final Exception eee )
{
getLogger().error( "Error interpolating componentDescriptor: " + location, eee );
}