thx, ill try

Am 06.05.2010 um 18:53 schrieb Alex Boisvert:

> On Thu, May 6, 2010 at 9:51 AM, Alex Boisvert <[email protected]>wrote:
> 
>> As workaround you could create two wars in one go, e.g.,
>> 
>>  [project.name, "#{project.name}-test"].each do |id|
>>    package(:war, :id => id).tap do |war|
>>      war.path('META-INF').include(_(:src, :main, :resources,
>> "descriptor.xml"))
>>      war.path('WEB-INF/classes').exclude(_(:target, :classes,
>> "org/example/**.class"))
>>    end
>>  end
>> 
>> 
> ... and after,
> 
> package(:war, :id =>  "#{project.name}-test") do |test|
>  test.path(...).include whatever_else_needed_for_testing
> end
> 
> alex

Reply via email to