does Ant war switch "preserve" exists?

View: New views
5 Messages — Rating Filter:   Alert me  

does Ant war switch "preserve" exists?

by Narco :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello!
I`m using different filesets for building one war package. These filesets may contain different files with the same same depending on configuration. The goal is to ignore file in fileset if it was already added to archive in previous fileset. The Ant war task has property preserve which allowed me to accomplish this. How to do the same on gradle war plugin? I understand that I can make exploded war with copy tasks and then archive it but that will be unneeded write operations so I would like to avoid that.

Re: does Ant war switch "duplicate" exists?

by Narco :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I`m sorry, I meant property duplicate with value "preserve".

Narco wrote:
Hello!
I`m using different filesets for building one war package. These filesets may contain different files with the same same depending on configuration. The goal is to ignore file in fileset if it was already added to archive in previous fileset. The Ant war task has property preserve which allowed me to accomplish this. How to do the same on gradle war plugin? I understand that I can make exploded war with copy tasks and then archive it but that will be unneeded write operations so I would like to avoid that.

Re: does Ant war switch "duplicate" exists?

by Narco :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anybody?


I`m sorry, I meant property duplicate with value "preserve".

Narco wrote:
Hello!
I`m using different filesets for building one war package. These filesets may contain different files with the same same depending on configuration. The goal is to ignore file in fileset if it was already added to archive in previous fileset. The Ant war task has property preserve which allowed me to accomplish this. How to do the same on gradle war plugin? I understand that I can make exploded war with copy tasks and then archive it but that will be unneeded write operations so I would like to avoid that.


Re: does Ant war switch "duplicate" exists?

by Adam Murdoch-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Narco wrote:

> Anybody?
>
>
> Narco wrote:
>  
>> I`m sorry, I meant property duplicate with value "preserve".
>>
>>
>> Narco wrote:
>>    
>>> Hello!
>>> I`m using different filesets for building one war package. These filesets
>>> may contain different files with the same same depending on
>>> configuration. The goal is to ignore file in fileset if it was already
>>> added to archive in previous fileset. The Ant war task has property
>>> preserve which allowed me to accomplish this. How to do the same on
>>> gradle war plugin? I understand that I can make exploded war with copy
>>> tasks and then archive it but that will be unneeded write operations so I
>>> would like to avoid that.
>>>
>>>      

Sorry for the late reply.

Gradle doesn't have the equivalent of the duplicate flag yet. Could you
add a JIRA issue for this?


--
Adam Murdoch
Gradle Developer
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: does Ant war switch "duplicate" exists?

by Narco :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Added - http://jira.codehaus.org/browse/GRADLE-710

Adam Murdoch-2 wrote:

Narco wrote:
> Anybody?
>
>
> Narco wrote:
>  
>> I`m sorry, I meant property duplicate with value "preserve".
>>
>>
>> Narco wrote:
>>    
>>> Hello!
>>> I`m using different filesets for building one war package. These filesets
>>> may contain different files with the same same depending on
>>> configuration. The goal is to ignore file in fileset if it was already
>>> added to archive in previous fileset. The Ant war task has property
>>> preserve which allowed me to accomplish this. How to do the same on
>>> gradle war plugin? I understand that I can make exploded war with copy
>>> tasks and then archive it but that will be unneeded write operations so I
>>> would like to avoid that.
>>>
>>>      

Sorry for the late reply.

Gradle doesn't have the equivalent of the duplicate flag yet. Could you
add a JIRA issue for this?


--
Adam Murdoch
Gradle Developer
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email