Question : Rename a file while adding to a JAR

Using the following we are adding a file to an existing jar file


            websso == TRUE
                              update="true">
                  
                      
                  

            

      

      
this adds AuthenticationSchemes-websso.properties to the specified location in the jar.
But we want to add it by a different name. In other words, the file "AuthenticationSchemes-websso.properties" should be added as "AuthenticationSchemes.properties".

Can someone please let me know how to do this?

thank you

Answer : Rename a file while adding to a JAR

>>Based on some condition ...

In that case i'd use the copy task to copy to the temp directory
Random Solutions  
 
programming4us programming4us