You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/11/16 21:23:00 UTC

flex-typedefs git commit: add goog.DEBUG for debug-only code

Repository: flex-typedefs
Updated Branches:
  refs/heads/develop 0a40d0d75 -> bdab5281b


add goog.DEBUG for debug-only code


Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/bdab5281
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/bdab5281
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/bdab5281

Branch: refs/heads/develop
Commit: bdab5281bc0b535a1130d34d9c6c94c61958d023
Parents: 0a40d0d
Author: Alex Harui <ah...@apache.org>
Authored: Wed Nov 16 13:22:50 2016 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Nov 16 13:22:50 2016 -0800

----------------------------------------------------------------------
 GCL/src/main/flex/goog/DEBUG.as | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/bdab5281/GCL/src/main/flex/goog/DEBUG.as
----------------------------------------------------------------------
diff --git a/GCL/src/main/flex/goog/DEBUG.as b/GCL/src/main/flex/goog/DEBUG.as
new file mode 100644
index 0000000..17b230f
--- /dev/null
+++ b/GCL/src/main/flex/goog/DEBUG.as
@@ -0,0 +1,17 @@
+// Copyright 2005 The Closure Library Authors. All Rights Reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS-IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package goog {
+public var DEBUG:Boolean;
+}


Re: flex-typedefs git commit: add goog.DEBUG for debug-only code

Posted by Peter Ent <pe...@adobe.com>.
That did the trick. Thanks.
‹peter

On 11/21/16, 4:08 PM, "Alex Harui" <ah...@adobe.com> wrote:

>
>
>On 11/21/16, 12:01 PM, "Peter Ent" <pe...@adobe.com> wrote:
>
>>What are the requirements for getting flex-asjs to compile with
>>goog.DEBUG? Is there a new version of google closure required or an
>>environment var to be set?
>
>Did you pull the latest from flex-typedefs repo and build it?
>
>
>-Alex
>


Re: flex-typedefs git commit: add goog.DEBUG for debug-only code

Posted by Alex Harui <ah...@adobe.com>.

On 11/21/16, 12:01 PM, "Peter Ent" <pe...@adobe.com> wrote:

>What are the requirements for getting flex-asjs to compile with
>goog.DEBUG? Is there a new version of google closure required or an
>environment var to be set?

Did you pull the latest from flex-typedefs repo and build it?


-Alex


Re: flex-typedefs git commit: add goog.DEBUG for debug-only code

Posted by Alex Harui <ah...@adobe.com>.

On 11/21/16, 12:01 PM, "Peter Ent" <pe...@adobe.com> wrote:

>What are the requirements for getting flex-asjs to compile with
>goog.DEBUG? Is there a new version of google closure required or an
>environment var to be set?

Did you pull the latest from flex-typedefs repo and build it?


-Alex


Re: flex-typedefs git commit: add goog.DEBUG for debug-only code

Posted by Peter Ent <pe...@adobe.com>.
What are the requirements for getting flex-asjs to compile with
goog.DEBUG? Is there a new version of google closure required or an
environment var to be set?

When I do an ant build in flex-asjs I get this error:

[compc] 
/Users/pent/dev/flex-asjs/frameworks/projects/Language/src/main/flex/org/ap
ache/flex/utils/Language.as(327): col: 9 Error: Access of undefined
property DEBUG in package goog.
    [compc] 
    [compc] 			if (!goog.DEBUG) return;


I grabbed a new version of flex-falcon and built that before I updated
flex-asjs and tried to build it.

Thanks,
Peter

On 11/16/16, 4:23 PM, "aharui@apache.org" <ah...@apache.org> wrote:

>Repository: flex-typedefs
>Updated Branches:
>  refs/heads/develop 0a40d0d75 -> bdab5281b
>
>
>add goog.DEBUG for debug-only code
>
>
>Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
>Commit: 
>http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/bdab5281
>Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/bdab5281
>Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/bdab5281
>
>Branch: refs/heads/develop
>Commit: bdab5281bc0b535a1130d34d9c6c94c61958d023
>Parents: 0a40d0d
>Author: Alex Harui <ah...@apache.org>
>Authored: Wed Nov 16 13:22:50 2016 -0800
>Committer: Alex Harui <ah...@apache.org>
>Committed: Wed Nov 16 13:22:50 2016 -0800
>
>----------------------------------------------------------------------
> GCL/src/main/flex/goog/DEBUG.as | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>----------------------------------------------------------------------
>
>
>http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/bdab5281/GCL/src
>/main/flex/goog/DEBUG.as
>----------------------------------------------------------------------
>diff --git a/GCL/src/main/flex/goog/DEBUG.as
>b/GCL/src/main/flex/goog/DEBUG.as
>new file mode 100644
>index 0000000..17b230f
>--- /dev/null
>+++ b/GCL/src/main/flex/goog/DEBUG.as
>@@ -0,0 +1,17 @@
>+// Copyright 2005 The Closure Library Authors. All Rights Reserved.
>+//
>+// Licensed under the Apache License, Version 2.0 (the "License");
>+// you may not use this file except in compliance with the License.
>+// You may obtain a copy of the License at
>+//
>+//      http://www.apache.org/licenses/LICENSE-2.0
>+//
>+// Unless required by applicable law or agreed to in writing, software
>+// distributed under the License is distributed on an "AS-IS" BASIS,
>+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>implied.
>+// See the License for the specific language governing permissions and
>+// limitations under the License.
>+
>+package goog {
>+public var DEBUG:Boolean;
>+}
>


Re: flex-typedefs git commit: add goog.DEBUG for debug-only code

Posted by Peter Ent <pe...@adobe.com>.
What are the requirements for getting flex-asjs to compile with
goog.DEBUG? Is there a new version of google closure required or an
environment var to be set?

When I do an ant build in flex-asjs I get this error:

[compc] 
/Users/pent/dev/flex-asjs/frameworks/projects/Language/src/main/flex/org/ap
ache/flex/utils/Language.as(327): col: 9 Error: Access of undefined
property DEBUG in package goog.
    [compc] 
    [compc] 			if (!goog.DEBUG) return;


I grabbed a new version of flex-falcon and built that before I updated
flex-asjs and tried to build it.

Thanks,
Peter

On 11/16/16, 4:23 PM, "aharui@apache.org" <ah...@apache.org> wrote:

>Repository: flex-typedefs
>Updated Branches:
>  refs/heads/develop 0a40d0d75 -> bdab5281b
>
>
>add goog.DEBUG for debug-only code
>
>
>Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
>Commit: 
>http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/bdab5281
>Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/bdab5281
>Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/bdab5281
>
>Branch: refs/heads/develop
>Commit: bdab5281bc0b535a1130d34d9c6c94c61958d023
>Parents: 0a40d0d
>Author: Alex Harui <ah...@apache.org>
>Authored: Wed Nov 16 13:22:50 2016 -0800
>Committer: Alex Harui <ah...@apache.org>
>Committed: Wed Nov 16 13:22:50 2016 -0800
>
>----------------------------------------------------------------------
> GCL/src/main/flex/goog/DEBUG.as | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>----------------------------------------------------------------------
>
>
>http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/bdab5281/GCL/src
>/main/flex/goog/DEBUG.as
>----------------------------------------------------------------------
>diff --git a/GCL/src/main/flex/goog/DEBUG.as
>b/GCL/src/main/flex/goog/DEBUG.as
>new file mode 100644
>index 0000000..17b230f
>--- /dev/null
>+++ b/GCL/src/main/flex/goog/DEBUG.as
>@@ -0,0 +1,17 @@
>+// Copyright 2005 The Closure Library Authors. All Rights Reserved.
>+//
>+// Licensed under the Apache License, Version 2.0 (the "License");
>+// you may not use this file except in compliance with the License.
>+// You may obtain a copy of the License at
>+//
>+//      http://www.apache.org/licenses/LICENSE-2.0
>+//
>+// Unless required by applicable law or agreed to in writing, software
>+// distributed under the License is distributed on an "AS-IS" BASIS,
>+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>implied.
>+// See the License for the specific language governing permissions and
>+// limitations under the License.
>+
>+package goog {
>+public var DEBUG:Boolean;
>+}
>