HoriSun / closure-compiler

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

Add entryPoints option to ant compile task #1217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ant task has manageClosureDependencies option.  

The next logical addition to make this functionality really helpful would be to 
able to specify entry point(s) as is possible from the command line. 

This would make ant output smaller and inputs easier to specify.

NOTE:
The AbstractCommandLineRunner uses setDependencyOptions, but the ant 
CompileTask uses setManageClosureDependencies.  Consider converting the ant 
task to use setDependencyOptions as part of this change, maybe making the 
createDependencyOption method part of the Compiler options so that logic is 
more widely available. 

https://code.google.com/p/closure-compiler/source/browse/src/com/google/javascri
pt/jscomp/AbstractCommandLineRunner.java#270
https://code.google.com/p/closure-compiler/source/browse/src/com/google/javascri
pt/jscomp/ant/CompileTask.java#334

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

GoogleCodeExporter commented 9 years ago
Here's an simple patch to enable this. 

Original comment by Bitwise...@gmail.com on 30 Jan 2014 at 11:41

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by concavel...@gmail.com on 3 Mar 2014 at 6:50

GoogleCodeExporter commented 9 years ago
This issue was closed by revision accab86f9240.

Original comment by Nicholas.J.Santos on 4 Mar 2014 at 2:54

GoogleCodeExporter commented 9 years ago
thanks!

Original comment by Nicholas.J.Santos on 4 Mar 2014 at 2:54

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 5a1ffbe7af5c.

Original comment by blic...@google.com on 5 Mar 2014 at 1:54