forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: local-deploy on project-internal plugin
Date Tue, 24 Mar 2009 00:14:24 GMT
2009/3/23 Sjur Moshagen <sjurnm@mac.com>:
> Replying to myself:
>
> Den 23. mar. 2009 kl. 14.59 skrev Sjur Moshagen:
>
>> The action on line 117 in that build file reads:
>>
>>   <copy toDir="${forrest.plugins.localDeploy.dir}/${plugin-name}">
>>     <fileset dir="${forrest.plugins.dir}/${plugin-name}">
>>       <exclude name="lib/**"/>
>>       <exclude name="build/**"/>
>>     </fileset>
>>   </copy>
>
> If I change this to the following:
>
>    <copy toDir="${forrest.plugins.localDeploy.dir}/${plugin-name}">
>      <fileset dir="${forrest.plugins.dir}">
>        <exclude name="lib/**"/>
>        <exclude name="build/**"/>
>      </fileset>
>    </copy>
>
> it works ok (cf the second line, where I removed the ${plugin-name}
> variable). But this would probably break the regular plugin deployment. This
> file has not been touched since end of April 2007, and bugs here would
> certainly have been found much earlier.

The code to allow a customisable local directory is much newer than
that. So you probably want to look there.

Ross

-- 
Ross Gardler

OSS Watch - supporting open source in education and research
http://www.oss-watch.ac.uk

Mime
View raw message