Repository: flex-falcon Updated Branches: refs/heads/develop 6ee1ee16a -> c932239cf
suppress warnings in ASDoc copied to JSDoc Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/28a3bad7 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/28a3bad7 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/28a3bad7 Branch: refs/heads/develop Commit: 28a3bad762812c865aa917ac6661b62d48f41b2d Parents: 6ee1ee1 Author: Alex Harui <[email protected]> Authored: Thu Oct 16 22:40:36 2014 -0700 Committer: Alex Harui <[email protected]> Committed: Thu Oct 16 22:40:36 2014 -0700 ---------------------------------------------------------------------- .../apache/flex/compiler/utils/JSClosureCompilerWrapper.java | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/28a3bad7/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java ---------------------------------------------------------------------- diff --git a/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java b/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java index 05d46dc..5c5907e 100644 --- a/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java +++ b/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java @@ -22,6 +22,7 @@ package org.apache.flex.compiler.utils; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.logging.Level; @@ -131,6 +132,10 @@ public class JSClosureCompilerWrapper options_); WarningLevel.VERBOSE.setOptionsForWarningLevel(options_); + + String[] asdocTags = new String[] {"productversion", + "playerversion", "langversion", "copy"}; + options_.setExtraAnnotationNames(Arrays.asList(asdocTags)); } public void setOptions(String sourceMapPath, boolean useStrictPublishing)
