HoriSun / closure-compiler

Automatically exported from code.google.com/p/closure-compiler
0 stars 0 forks source link

ant jscomp with manageDependencies and advanced compilation produces no output #1218

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run ant jscomp task with the following settings:
        <!-- Run jscomp for this module -->
        <jscomp warning="verbose"
                encoding="UTF-8"
                compilationLevel="advanced"
                customExternsOnly="false"
                generateExports="true"
                manageDependencies="true"
                debug="false"
                prettyprint="false"
                output=compiled.js">

        <!-- source file specifications -->

    </jscomp>

EXPECTED:
compiled output in compiled.js

ACTUAL: 
empty file with no output

NOTE: 
setting manageDependencies="false" causes compiled output to work.

VERSION:
v20140110

Original issue reported on code.google.com by Bitwise...@gmail.com on 29 Jan 2014 at 10:37

GoogleCodeExporter commented 9 years ago
This might be related to the differing code paths noted in 
https://code.google.com/p/closure-compiler/issues/detail?id=1217 .  Haven't 
tried stepping through it yet.

Original comment by Bitwise...@gmail.com on 29 Jan 2014 at 10:38

GoogleCodeExporter commented 9 years ago
i'm pretty sure this is expected? if you don't list any entry points, then you 
don't get any files. it's likely the api is just broken, per your comment in 
1217

Original comment by Nicholas.J.Santos on 30 Jan 2014 at 12:29