Git Product home page Git Product logo

gulp-war's People

Contributors

antonkudris-triptop avatar domderen avatar greenkeeperio-bot avatar pdehaan avatar scottweinstein avatar typhlosaurus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gulp-war's Issues

Npm access

Hey, can you please add me to npm management of this package? I'd like to update it in npm repo as well, but I don't have sufficient permissions. My npm username is: tromax.

Web xml is always created

If you invoke gulp war to compress target folder to war file existing web.xml file if overriden by new web.xml.

I'm suggesting that in options there should be a option to skip creating web.xml.
Something like
options.skipWebXml which default would be false.

Creates an empty file called META-INF rather than an empty directory (with gulp-zip >= 1.0)

Currently the war contains an entry for META-INF but this creates a zero length file when piped to any recent version of gulp-zip. It is created by the line:

this.emit('data', new File({path: 'META-INF/', contents: new Buffer('')}));

gulp-zip currently only creates an empty directory if it is finds a file with null contents and stats.isDirectory() returning truthy. Changing the above line to:

this.emit('data', new File({
            path: './META-INF',
            stat: {
                isDirectory: function () {
                    return true;
                }
            }
        }));

resolves the issue.

N.B. this work with gulp-zip 2.x and 3.x but causes neither a file nor a directory to be created with gulp-zip 1.0.0,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.