Updating single file in war file with Ant

Discussion in 'Java' started by ddog, Aug 5, 2007.

  1. ddog

    ddog Guest

    Is it possible to update a single file(s) in an existing war file
    using Ant? I don't want to have to do a complete build because the
    project is huge and I am just going to be working on a few files.

    There is no build script available for the war file - it's
    disappeared.

    Any help is greatly appreciated!
     
    ddog, Aug 5, 2007
    #1
    1. Advertising

  2. ddog wrote:
    > Is it possible to update a single file(s) in an existing war file
    > using Ant? I don't want to have to do a complete build because the
    > project is huge and I am just going to be working on a few files.


    The war task has an update attribute.

    Arne
     
    =?ISO-8859-1?Q?Arne_Vajh=F8j?=, Aug 12, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris Bedford
    Replies:
    6
    Views:
    2,251
  2. Werner Butscher
    Replies:
    2
    Views:
    1,244
    Werner Butscher
    Aug 2, 2004
  3. news.rcn.com
    Replies:
    2
    Views:
    1,135
    Roedy Green
    Dec 10, 2007
  4. harryos

    ant doubt using war task

    harryos, Dec 3, 2008, in forum: Java
    Replies:
    0
    Views:
    300
    harryos
    Dec 3, 2008
  5. Laura Schmidt

    problem creating WAR file with ant

    Laura Schmidt, Nov 18, 2012, in forum: Java
    Replies:
    4
    Views:
    489
    Arne Vajhøj
    Nov 19, 2012
Loading...

Share This Page