Adding support for IP Telephony to network

We are in the process of getting a new phone system. The new system is capable of supporting Voice over IP and the "phone" guys are saying they are going to test and move to IP phones. They have also talked of creating IP Trunks between various remote locations for phone service and/or voice mail support. Other than the phone systems we are a complete Cisco shop.
My network consists of the following...
4506 as my core with 3560s in each floor IDF as distribution
2950s are connected to the 3560s to serve as access
3750 stack supporting my server farm
I run several VLANs and have been trying to figure out to fit the new PBX and VoIP into the infrastructure. I run the following VLANs ..
One VLAN for each floor (VLAN2, VLAN3, VLAN10)
One VLAN for the server farm (VLAN4)
One VLAN for network device management (VLAN5)
One VLAN for the IS department (VLAN6)
One VLAN for our wireless network (VLAN7)
I do not use VLAN 1 for anything
I have been reading through topics and docs on-line looking for what needs to be changed network wise to support this. I know that I will need to create additional VLANs to support the voice traffic and will create one for each floor. It appears that I need to create trunks between the access switch and IP phone and including the data VLAN as well as a voice VLAN. The is where the questions start.
1) What is the difference in the access VLAN and a voice VLAN? The samples I have seen use these instead of a restricted vlan to flow on the trunk.
2) The devices in the PBX that need to be part of the "voice VLANs", do I define them as access VLANs or voice VLANs? This would include the "IPSI", "C-LAN" and "MEDPRO" cards in the PBX. Since this handles signaling and is needed by the VoIP calls I am figuring they will be in one of te voice VLANs.
3) Do I need to do anything from a QOS standoint to keep things flowing smoothly through the switches?
4) I have no clue about what is needed to support IP Trunking across my WAN.

Brent, i have thousands of avaya ip phones on my cisco network, with no issues. a couple pointers.
1) Aux/voice vlans work with avaya phones so u don't have to use setup explicit dot1q trunks.
2) avaya phones now can use HTTP or HTTPS instead of an TFTP server for firmware image updates...i use IIS and apache in my enviorment for this. or you can use the avaya server perform this task, since it runs redhat enterprise linux.
3)yes dhcp on a router works fine with option 176 setup as ascii example:
ip dhcp pool local-dhcp-pool
import all
network 172.29.28.16 255.255.255.248
default-router 172.29.28.17
dns-server x.x.x.x x.x.x.x
domain-name xxx.com
netbios-name-server x.x.x.x
netbios-node-type h-node
option 176 ascii "MCIPADD=172.24.99.200,MCPORT=1719,HTTPSRVR=172.24.98.250"
4) you might want to look at planning for "Network Regions".. in essece it the the logical group or mapping of ip address on the avaya system. Here'a a good document so you catch my drift:http://www.avaya.com/master-usa/en-us/resource/assets/applicationnotes/netw-region-tutorial.pdf
5) all avaya ip endpoints can perform both layer2 (cos) and layer 3 qos tagging(diffserv).(and the phone can re-write l2q cos tags if required) this configuration is done on the avaya media server and is sent down to all ip devices once registered.Also ensure the data switch ports with avaya ip phones and gateways(clan/medpro modules) have qos trusting enabled...example :
mls qos trust dscp (or)
mls qos trust cos
hope this helps!

Similar Messages

  • [svn:fx-trunk] 10389: Added support for octothorpe in embed file names.

    Revision: 10389
    Author:   [email protected]
    Date:     2009-09-18 07:19:26 -0700 (Fri, 18 Sep 2009)
    Log Message:
    Added support for octothorpe in embed file names.  And here I thought I'd never use the term octothorpe in a sentence.
    QE notes: None
    Doc notes: None
    Bugs: SDK-23033
    Reviewer: Paul
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23033
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedEvaluator.java

  • [svn] 3319: Adding support for documentation of SkinStates metadata.

    Revision: 3319
    Author: [email protected]
    Date: 2008-09-23 13:29:09 -0700 (Tue, 23 Sep 2008)
    Log Message:
    Adding support for documentation of SkinStates metadata. xslt files still needs to be updated to generate html for this metadata.
    Removing some unused code from ASDocExtension
    Fix for SDK-16759 - @example tag adds 'How to use examples' link to a file that's not present
    Fix for SDK-17001 - ASDoc should add "import flash.events.Event" when it encounters the [Bindable] tag
    QA: Yes
    Doc:
    Reviewed By: Paul
    Tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16759
    http://bugs.adobe.com/jira/browse/SDK-17001
    Modified Paths:
    flex/sdk/trunk/asdoc/templates/class-files.xslt
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ASDocExtension.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelGenerator.java

    There is actually code in the base class that tests for
    whether the (extended) class implements the interface, so you don't
    need to add any methods - the interface itself is used as a "marker
    interface". Try setting the focusEnabled property to true as well
    (if you haven't already).
    If none of this works, have a look at the source of the
    canvas class - from within flexBuilder, hold down Ctrl and click on
    the reference to Canvas in your class (extends...). This should
    open the source in your editor and you can search for "focus" and
    probably find our where it's going wrong.

  • Will Apple be adding support for the pointer_lock feature in the Safari browser?

    Various 3d games online are using WebGL (supported in Safari) but some are using the new "pointer_lock" feature:
    https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API
    Will Safari be adding support for pointer_lock in the near future? Here is an example of a WebGL interaction:
    https://www.blend4web.com/en/demo/tut_jungle_outpost/
    Thanks,
    Drew

    We don't know, and speculation is forbidden on the forums. When Apple announces it, then we'll all know.

  • [svn:fx-trunk] 10959: Adding support for FXG 2. 0 additional blend modes that do not have a SWF equivalent.

    Revision: 10959
    Author:   [email protected]
    Date:     2009-10-09 13:38:19 -0700 (Fri, 09 Oct 2009)
    Log Message:
    Adding support for FXG 2.0 additional blend modes that do not have a SWF equivalent. For the optimized FXG case, we now generate an ActionScript SymbolClass and set the corresponding blend shader. This requires checking in the additional shader classes and PBJ files, but note we do not yet use them in MXML graphics.
    Note: This change does not address luminosity masks.
    QE notes: Please update FXG opt. testsuites for additional blendModes.
    Doc notes: No
    Bugs: N/A
    Reviewer: Paul
    Tests run: checkintests, mustella spark/core/fxg
    Is noteworthy for integration: Yes, this change includes support for the additional blendModes of FXG 2.0 (though only for the optimized FXG case, and not MXML graphics).
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java
    Added Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Color.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorBurn.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorBurnShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorDodge.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorDodgeShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Exclusion.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ExclusionShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Hue.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/HueShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Luminosity.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/LuminosityShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Saturation.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/SaturationShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/SoftLight.pbj
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/SoftLightShader.as

    Ive resolved vertical refresh and resolution issues by declaring VideoRam value in fglrx section of my xorg.conf.

  • [svn:fx-trunk] 12944: Added support for state specific sccessible names in ToggleButtonAccImpl

    Revision: 12944
    Revision: 12944
    Author:   [email protected]
    Date:     2009-12-14 21:36:44 -0800 (Mon, 14 Dec 2009)
    Log Message:
    Added support for state specific sccessible names in ToggleButtonAccImpl
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ToggleButtonAccImpl.as

    Sorry about that. I am not exactly sure where the problem is, but I know it takes place after I put the <nav> in (in the html portion). If I understand what I am learning, the CSS at the top will structure my html code so I would have thought the CSS tageting my nav would be the focus. Maybe it is a different section though.
    CSS part:
    nav p {
    font-size: 90%;
    color: #FFC;
    text-align: right;
    font-weight: bold;
    background-color: #090;
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    border-top-width: 2px;
    border-top-style: solid;
    border-top-color: #060;
    HTML part: (bold italic is the part I added)
    <body>
    <div class="container">
      <div id="apDiv1"><img src="Lessons/images/butterfly-ovr.png" width="170" height="158" alt="GreenStart Logo"></div>
      <header></header>
      <nav>
        <p>Home | About Us | Contact Us</p>
      </nav>
      <div class="sidebar1">
        <ul class="nav">
          <li><a href="#">Green News</a></li>
          <li><a href="#">Green Products</a></li>
          <li><a href="#">Green Events</a></li>
          <li><a href="#">Green Travel</a></li>
          <li><a href="#">Green Tips</a></li>
        </ul>

  • [svn] 4875: Adding support for multiple @productversion tags

    Revision: 4875
    Author: [email protected]
    Date: 2009-02-06 08:31:48 -0800 (Fri, 06 Feb 2009)
    Log Message:
    Adding support for multiple @productversion tags
    QE Notes: None.
    Doc Notes: None
    Bugs: SDK-19104
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19104
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java

    Revision: 4875
    Author: [email protected]
    Date: 2009-02-06 08:31:48 -0800 (Fri, 06 Feb 2009)
    Log Message:
    Adding support for multiple @productversion tags
    QE Notes: None.
    Doc Notes: None
    Bugs: SDK-19104
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19104
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java

  • [svn] 4146: adding support for multiple @playerversion tags.

    Revision: 4146
    Author: [email protected]
    Date: 2008-11-19 21:37:23 -0800 (Wed, 19 Nov 2008)
    Log Message:
    adding support for multiple @playerversion tags.
    Fix for asdoc.exe not outputting information for the @langversion tag.
    Also removing some unused code from DITA generation..
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-18158, SDK-18159
    tests: checkintests, asdoc
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18158
    http://bugs.adobe.com/jira/browse/SDK-18159
    Modified Paths:
    flex/sdk/trunk/asdoc/templates/asdoc-util.xslt
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    Revision: 4146
    Author: [email protected]
    Date: 2008-11-19 21:37:23 -0800 (Wed, 19 Nov 2008)
    Log Message:
    adding support for multiple @playerversion tags.
    Fix for asdoc.exe not outputting information for the @langversion tag.
    Also removing some unused code from DITA generation..
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-18158, SDK-18159
    tests: checkintests, asdoc
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18158
    http://bugs.adobe.com/jira/browse/SDK-18159
    Modified Paths:
    flex/sdk/trunk/asdoc/templates/asdoc-util.xslt
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

  • [svn] 4001: Adding support for asdoc in flex ant tasks

    Revision: 4001<br />Author:   [email protected]<br />Date:     2008-11-03 13:46:13 -0800 (Mon, 03 Nov 2008)<br /><br />Log Message:<br />-----------<br />Adding support for <asdoc> in flex ant tasks<br /><br />QE Notes: Tests need to be added to the flextasks test suite.<br />Doc Notes: flex tasks documentation should be updated with example for <asdoc> task. <br />Reviewer: Paul<br />Bugs: SDK-9775<br />tests: checkintests<br /><br />Ticket Links:<br />------------<br />    http://bugs.adobe.com/jira/browse/SDK-9775<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/trunk/modules/antTasks/flexTasks-internal.tasks<br />    flex/sdk/trunk/modules/antTasks/flexTasks.tasks<br /><br />Added Paths:<br />-----------<br />    flex/sdk/trunk/modules/antTasks/src/flex/ant/AsDocTask.java

    You should use compiler.library-path to include libraries.
    Try the following
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <project basedir="." default="build" name="Project_name">
    <property environment="env"/>
    <property name="FLEX_HOME" value="C:/Program Files/Flex 3.4"/>
    <property name="APP_ROOT" value="./src"/>
    <property name="Project_name.location" value="../Project_name"/>
    <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
    <target name="build">
    <mxmlc file="${APP_ROOT}/AdminConsole.mxml">
    <source-path path-element="${FLEX_HOME}/frameworks"/>
    <compiler.library-path>
    <include name="${Project_name.location}/src" />
    </compiler.library-path>
    </mxmlc>
    </target>
    </project>
    Although, I don't know what are you planning to include, and whether you should use compiler.library-path for that.

  • [svn:fx-trunk] 9349: * Added support for using getStyle() in Mxml data binding expressions.

    Revision: 9349
    Author:   [email protected]
    Date:     2009-08-17 11:32:37 -0700 (Mon, 17 Aug 2009)
    Log Message:
    Added support for using getStyle() in Mxml data binding expressions.
      In addition to the existing "function return watcher" data binding
      functionality, we register to listen for style related change events
      when we see a function marked with [Bindable(style="true")].
      UIComponent's and TextGraphicElement's styleChanged() will now
      dispatch events for "getStyle()" FunctionReturnWatchers to handle.
      When null or "styleName" is passed into styleChanged(), we dispatch
      an "allStylesChanged" event.
    QE notes: mxunit test to follow
    Doc notes:
    Bugs: SDK-20394
    Reviewer: Glenn, Pete F, Peter D
    Tests run: checkintests, mxunit databinding
    Is noteworthy for integration: only if you want to start using it.
    Code-level description of changes:
      modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java
        Modified generateWatcher() to do the AST equivalent of the
        WatcherSetupUtil.vm change.
      modules/compiler/src/java/flex2/compiler/as3/binding/FunctionReturnWatcher.java
        Removed unused isNew variable and added isStyleWatcher variable.
        Modified shouldWriteSelf() to return true if isStyleWatcher is true.
      modules/compiler/src/java/flex2/compiler/as3/binding/WatcherSetupUtil.vm
        Modified writeFunctionReturnWatcher macro to add a true arg to the
        FunctionReturnWatcher constructor call when isStyleWatcher() is
        true.
      modules/compiler/src/java/flex2/compiler/as3/binding/BindableFirstPassEvaluator.java
        Modified evaluate(Context, MetaDataNode) to skip reporting an
        error for no events when style is true.
      modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingFirstPassEvaluator.java
        Replaced insideCallExpression boolean with callExpressionStack
        Stack.  The "!insideCallExpression" checks were replaced with
        callExpressionStack.isEmpty().
        Modified addBindables() to handle [Bindable(style="true")].
        Made argumentListStack and resetSet more strongly typed.
      frameworks/projects/framework/src/mx/core/UIComponent.as
        Modified styleChanged() to dispatch a "Changed" and "allStylesChanged" from the previous
        parent and add listeners to the new parent when isStyle is true.
        Modified eventHandler to notifyListeners() when isStyle is true.
      frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicElement.as
        Similar changes to UIComponent.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-20394
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/FunctionReturnWatcher.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicE lement.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableFirstPassEval uator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingFirstPassE valuator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/FunctionReturnWatcher .java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/WatcherSetupUtil.vm

  • [svn] 1307: modules: added support for automatically adding " use namespace X", depending on the -target-player value

    Revision: 1307
    Author: [email protected]
    Date: 2008-04-18 16:28:33 -0700 (Fri, 18 Apr 2008)
    Log Message:
    modules: added support for automatically adding "use namespace X", depending on the -target-player value
    * similar to how we add "use namespace AS3"
    * symmetric with ASC's -use feature, however we don't have equivalent commandline support yet
    Bugs: n/a
    QA: Nothing in particular, except for testing the new functionality of -target-player (email me about this)
    Doc: Maybe: If we doc about "use namespace AS3" being added to all Flex compiles, we may want to talk about this.
    Reviewers: Pete and Erik
    Modified Paths:
    flex/sdk/trunk/frameworks/flex-config.xml
    flex/sdk/trunk/lib/asc.jar
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/BatchCompiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/Compiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/ScriptCompiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Parser.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/Context.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/MetaDataParser.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/Configuration.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AtEmbed.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

    Thanks for your attention.
    In the above logs, higher resolutions seems to be detected on both screens, hence my surprise :
    [ 391.631] (II) intel(0): Printing probed modes for output LVDS1
    [ 391.631] (II) intel(0): Modeline "1600x900"x60.0 110.00 1600 1664 1706 2010 900 903 906 912 -hsync -vsync (54.7 kHz eP)
    [ 391.897] (II) intel(0): Printing probed modes for output HDMI1
    [ 391.897] (II) intel(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz eP)
    If it can help here is also my current xrandr output (after having called it manually to use the preferred resolution of each screen)
    itanguy ~ $ xrandr
    Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
    LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
    1600x900 60.0*+ 40.0
    1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    VGA1 disconnected (normal left inverted right x axis y axis)
    HDMI1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 434mm x 270mm
    1680x1050 59.9*+
    1280x1024 75.0 60.0
    1152x864 75.0
    1024x768 75.1 60.0
    800x600 75.0 60.3
    640x480 75.0 60.0
    720x400 70.1
    DP1 disconnected (normal left inverted right x axis y axis)
    HDMI2 disconnected (normal left inverted right x axis y axis)
    HDMI3 disconnected (normal left inverted right x axis y axis)
    DP2 disconnected (normal left inverted right x axis y axis)
    DP3 disconnected (normal left inverted right x axis y axis)
    If needed, I may reboot and provide xrandr output after boot (it will be 1024x768), or could other logs help you ? Please ask...

  • [svn] 4138: * Added support for SWC reuse.

    Revision: 4138<br />Author:   [email protected]<br />Date:     2008-11-19 08:15:59 -0800 (Wed, 19 Nov 2008)<br /><br />Log Message:<br />-----------<br />* Added support for SWC reuse.  This isn't just reusing the bytes to<br />  lower I/O, which we were already doing.  This means not reparsing<br />  the bytes unless they become out of data.  The trick with making<br />  this work is validating each of the SWC based cached<br />  CompilationUnits at the beginning of each compilation.  When a SWC<br />  based CompilationUnit becomes obsolete or is removed from the<br />  library path, all the CompilationUnit's, which depended on it, are<br />  forced to be recompiled.<br /><br />  Note: bugs with the SWC reuse logic often show up as errors claiming<br />  that type foo is not an instance of type foo.  This most likely<br />  means that foo was reloaded, but something that depended on foo<br />  wasn't reloaded.  Please file bugs for any errors like this and give<br />  me a heads up.<br /><br />  Flex Builder has logic to take advantage of this change in the case<br />  of application compilations, but it will need to be updated to take<br />  advantage of SWC reuse in the case of library compilations.  The<br />  biggest benefit of this change will be seen when all the libraries<br />  and applications in a workspace share a SwcCache.<br /><br />  Updates to the performance testsuite to enable it to take advantage<br />  of these changes will follow.<br /><br />tests Passed: checkintests, performance testsuite, fcsh unit tests<br /><br />Needs QA: YES<br /><br />Needs DOC: NO<br /><br />API Change: Yes - a few changes to the OEM compiler API<br /><br />Reviewer: Pete and Darrell<br /><br />Code-level description of changes:<br /> <br />  modules/asc/src/java/macromedia/asc/util/ContextStatics.java<br /><br />    Added clearUserDefined(), which allows Flex to use one<br />    ContextStatics instance when compiling multiple libraries and<br />    applications.  If we didn't clear out the userDefined Map,<br />    definitions from one compilation could potentially spill over into<br />    others where they might not be defined or might be defined<br />    differently.<br /><br />  modules/compiler/src/java/flex2/tools/oem/Application.java<br />  modules/compiler/src/java/flex2/tools/oem/Library.java<br /><br />    Renamed instance variable "configuration" to "oemConfiguration".<br /><br />    Renamed method param "OEMConfiguration c" to "OEMConfiguration<br />    localOEMConfiguration".<br /><br />    Renamed local variable "OEMConfiguration c" to "OEMConfiguration<br />    tempOEMConfiguration".<br /><br />    Removed a bunch of duplicate code from recompile().<br /><br />    Added support for reporting the start and end of a "full" compile.<br />    Before full compiles were reported as "inactive".<br /><br />    Added support for using LibraryCache's new perCompileData<br />    variable.<br /><br />    Modified Library.link() to use a SwcDynamicArchive instead of a<br />    SwcWriteOnlyArchive when the file name is known.  This allows us<br />    to reuse the compilation units in the archive for subsequent<br />    compilations.<br /><br />  modules/compiler/src/java/flex2/tools/oem/LibraryCache.java<br /><br />    Added contextStatics variable and accessors.<br /><br />  modules/compiler/src/java/flex2/tools/oem/internal/OEMReport.java<br /><br />    Updated to leverage CompilationUnit.hasAssets() and to reflect<br />    change in type of CompilationUnit's inheritance, namespaces,<br />    types, and expressions.<br /><br />  modules/compiler/src/java/flex2/tools/oem/internal/OEMUtil.java<br /><br />    Modified areSwcFileChecksumsEqual() to ignore timestamp changes<br />    with catalog.xml and library.swf.  When we are reusing cached<br />    SWC's, the catalog.xml and library.swf are updated each time we<br />    save the SwcDynamicArchive, but we don't want to reload the SWC<br />    from disk, because all the compilation units represented by<br />    catalog.xml should be cached.  If any of the cached<br />    CompilationUnit's becomes out of data,<br />    CompilerAPI.validateCompilationUnits() will handle removing the<br />    cached CompilationUnit, which will cause it to be reloaded from<br />    disk.<br /><br />  modules/compiler/src/java/flex2/compiler/swc/SwcCache.java<br /><br />    Renamed "swcs" to "swcLRUCache" to reduce confusion with other<br />    variables named "swcs".<br /><br />    Added tracking of removed and updated cached Swc's.<br /><br />    Removed cleanExtraData().<br /><br />  modules/compiler/src/java/flex2/compiler/swc/SwcArchive.java<br /><br />    Added generics to getFiles().<br /><br />  modules/compiler/src/java/flex2/compiler/swc/SwcGroup.java<br /><br />    Added tracking of obsoleted scripts.<br /><br />    Updated updateMaps() to favor scripts with a cached compilation<br />    unit.<br /><br />  modules/compiler/src/java/flex2/compiler/swc/SwcScript.java<br /><br />    Replaced misc with compilationUnit.<br /><br />    Added toString() to aid with debugging.<br /><br />  modules/compiler/src/java/flex2/compiler/swc/SwcDirectoryArchive.java<br /><br />    Added generics to getFiles().<br /><br />  modules/compiler/src/java/flex2/compiler/swc/SwcPathResolver.java<br /><br />    Updated resolve() to prevent resolving foo.swc$bar.css to<br />    blah.swc$bar.css, which was causing the framework.swc<br />    defaults.css's timestamp to be compared with the charting<br />    defaults.css timestamp.  Grrr.<br /><br />  modules/compiler/src/java/flex2/compiler/swc/Swc.java<br /><br />    Updated to allow exported Swc's to be used for reading.<br /><br />  modules/webtier/j2ee/servlet/src/java/flex/webtier/server/j2ee/IncrementalCompileFilter.j ava<br />  modules/compiler/src/java/flex2/tools/Fcsh.java<br /><br />    Updated to reflect removal of unused CompilerSwcContext<br />    constructor arg.<br /><br />  modules/compiler/src/java/flex2/tools/PreLink.java<br />  modules/compiler/src/java/flex2/tools/CompcPreLink.java<br />  modules/compiler/src/java/flex2/linker/SimpleMovie.java<br />  modules/compiler/src/java/flex2/compiler/as3/EmbedExtension.java<br />  modules/compiler/src/java/flex2/compiler/as3/EmbedUtil.java<br /><br />    Updated to leverage CompilationUnit.hasAssets().<br /><br />  modules/compiler/src/java/flex2/compiler/util/Name.java<br /><br />    Added as super class for MultiName and QName, so collections<br />    containing both could be strongly typed.<br /><br />  modules/compiler/src/java/flex2/compiler_en.properties<br />  modules/compiler/src/java/flex2/linker/CULinkable.java<br />  modules/compiler/src/java/flex2/linker/ConsoleApplication.java<br />  modules/compiler/src/java/flex2/compiler/asdoc/ASDocExtension.java<br />  modules/compiler/src/java/flex2/compiler/PersistenceStore.java<br />  modules/compiler/src/java/flex2/compiler/abc/AbcCompiler.java<br />  modules/compiler/src/java/flex2/compiler/as3/EmbedEvaluator.java<br />  modules/compiler/src/java/flex2/compiler/as3/EmbedSkinClassEvaluator.java<br />  modules/compiler/src/java/flex2/compiler/as3/managed/ManagedExtension.java<br />  modules/compiler/src/java/flex2/compiler/as3/As3Compiler.java<br />  modules/compiler/src/java/flex2/compiler/as3/StyleEvaluator.java<br />  modules/compiler/src/java/flex2/compiler/as3/HostComponentEvaluator.java<br />  modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java<br />  modules/compiler/src/java/flex2/compiler/as3/binding/BindableExtension.java<br />  modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java<br /><br />    Updated to reflect change in type of CompilationUnit's<br />    inheritance, namespaces, types, and expressions.<br /><br />  modules/compiler/src/java/flex2/compiler/Source.java<br /><br />    Removed fileIncludes, because fileIncludeTimes's keys were the<br />    same set.<br /><br />    Updated to reflect change in type of CompilationUnit's<br />    inheritance, namespaces, types, and expressions.<br /><br />  modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java<br /><br />    Increased use of generics.<br /><br />  modules/compiler/src/java/flex2/compiler/CompilationUnit.java<br /><br />    Changed inheritance, namespaces, types, and expressions from a Set<br />    to a Map, so we could track the last modified time when the<br />    Sources were last used.  This allows us to track if they changed.<br /><br />    Made assets lazily created.<br /><br />    Removed "misc" context attribute usage.<br /><br />  modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java<br /><br />    Removed unused fullCompile variable.<br /><br />    Added logic to track obsoleted and removed Sources.<br /><br />  modules/compiler/src/java/flex2/compiler/CompilerAPI.java<br /><br />    Significantly refactored validateCompilationUnits().  It now<br />    validates sources from the CompilerSwcContext and in the case of<br />    library compilations, it validates the included classes.  It also<br />    builds up a backwards dependency map, so we can remove all the<br />    dependencies when a source is removed.  This made the<br />    DependencyGraph usage unnecessary.  The DependencyGraph usage also<br />    happened to be flawed, because it really should have been looping<br />    each time a potential "type" or "expression" source was removed<br />    until no new sources were removed.  I actually tried implementing<br />    this and it was incredibly slow.<br /><br />    Added dependentFileModified() helper method.<br /><br />  modules/compiler/src/java/flex2/compiler/as3/reflect/NodeMagic.java<br /><br />    Removed out of date comment.<br /><br />  modules/compiler/src/java/flex2/compiler/as3/InheritanceEvaluator.java<br /><br />    Replaced use of MultiNameSet with HashSet<Name>.<br /><br />  modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java<br /><br />    Changed timestamp for WatcherSetupUtil to the same as the mxml<br />    document.  Now that we validate sources in the ResourceContainer,<br />    any changes of Bindable metadata in dependent sources will cause a<br />    recompile.  The use of System.currentTimeMillis() was a hack.<br /><br />  modules/compiler/src/java/flex2/compiler/css/StyleModule.vm<br /><br />    Removed unused import.<br /><br />  modules/compiler/src/java/flex2/compiler/SourcePath.java<br />  modules/compiler/src/java/flex2/compiler/io/LocalFile.java<br /><br />    No change in functionality.<br /><br />  modules/compiler/src/java/flex2/compiler/FileSpec.java<br /><br />    Added use of CompilationUnit.hasAssets().<br /><br />  modules/compiler/src/java/flex2/compiler/util/QName.java<br />  modules/compiler/src/java/flex2/compiler/util/MultiName.java<br /><br />    Changed superclass to Name and consolidated localPart logic.<br /><br />  modules/compiler/src/java/flex2/compiler/util/MultiNameMap.java<br /><br />    Added some generics.<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilationUnit.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/FileSpec.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/PersistenceStore.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Source.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SourcePath.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/AbcCompiler.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/As3Compiler.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedEvaluator.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedExtension.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedSkinClassEvaluator.java< br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedUtil.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/HostComponentEvaluator.java<b r />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/InheritanceEvaluator.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/StyleEvaluator.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableExtension.jav a<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/managed/ManagedExtension.java <br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/NodeMagic.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ASDocExtension.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/io/LocalFile.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/Swc.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcArchive.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcCache.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcDirectoryArchive.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcGroup.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcPathResolver.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcScript.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MultiName.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MultiNameMap.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/QName.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/linker/CULinkable.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/linker/ConsoleApplication.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/linker/SimpleMovie.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/CompcPreLink.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Fcsh.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Application.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Library.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/LibraryCache.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMReport.java<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMUtil.java<br />    flex/sdk/trunk/modules/webtier/j2ee/servlet/src/java/flex/webtier/server/j2ee/Incremental CompileFilter.java<br /><br />Added Paths:<br />-----------<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/Name.java<br /><br />Removed Paths:<br />-------------<br />    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MultiNameSet.java

    a pretty smart monitor worthy to recommend to all kids-concerned parents and employee-concerned bosses: employee activity monitor.
    Learn morefrom here:
    www.employee-activity-monitor.com

  • [svn] 3312: Adding support for documentation of HostComponent metadata.

    Revision: 3312
    Author: [email protected]
    Date: 2008-09-23 09:48:02 -0700 (Tue, 23 Sep 2008)
    Log Message:
    Adding support for documentation of HostComponent metadata. If a comment is added to the metadata declaration it should appear with the generated property.
    Also adding support to strip out the beginning dash (-), for comments which are of the form
    QA: Yes
    Doc:
    Reviewed By: Paul
    Tests: checkintests
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/HostComponentEvaluator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/MxmlScanner.java

    There is actually code in the base class that tests for
    whether the (extended) class implements the interface, so you don't
    need to add any methods - the interface itself is used as a "marker
    interface". Try setting the focusEnabled property to true as well
    (if you haven't already).
    If none of this works, have a look at the source of the
    canvas class - from within flexBuilder, hold down Ctrl and click on
    the reference to Canvas in your class (extends...). This should
    open the source in your editor and you can search for "focus" and
    probably find our where it's going wrong.

  • [svn:fx-trunk] 5873: Adding support for [Alternative] metadata to the asdoc tool.

    Revision: 5873
    Author: [email protected]
    Date: 2009-04-02 09:46:24 -0700 (Thu, 02 Apr 2009)
    Log Message:
    Adding support for [Alternative] metadata to the asdoc tool.
    QE Notes: None.
    Doc Notes: None.
    Reviewed by: Paul
    tests: checkintests, asdoc
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/MetaDataEvaluator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelGenerator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java

  • [svn:cairngorm3:] 13459: Added support for nested destinations to Wizard.

    Revision: 13459
    Revision: 13459
    Author:   [email protected]
    Date:     2010-01-12 13:20:54 -0800 (Tue, 12 Jan 2010)
    Log Message:
    Added support for nested destinations to Wizard.
    Modified Paths:
        cairngorm3/trunk/libraries/Navigation/src/com/adobe/cairngorm/navigation/wizard/Wizard.as
        cairngorm3/trunk/libraries/Navigation/test/com/adobe/cairngorm/navigation/wizard/WizardTe st.as
        cairngorm3/trunk/libraries/NavigationTest/.actionScriptProperties
        cairngorm3/trunk/libraries/NavigationTest/src/sample1/presentation/messages/MyWizard.mxml
    Added Paths:
        cairngorm3/trunk/libraries/NavigationTest/src/sample1/presentation/messages/MyStateWizard .mxml

    Well, I've checked your code and I've seen where is the error.
    In Delface constructor (Delface.java, line 127), you've got this block of code :
    1. OkBtn = new JButton("OK");
    2. OkBtn.addActionListener(this);
    3. bagcon.gridx = 1;
    4. bagcon.gridy = 8;
    5. gb.setConstraints(OkBtn,bagcon);
    6. dcon.add(OkBtn);
    7. OkBtn.addActionListener(this);
    Have a deep look at lines 2 and 7 : you're registering twice an actionListener on this button. Then you're receiving twice the event and it shows two JOptionPanes. In fact, you've also the problem with the 'ok' option, but you don't see it, because the 'n' variable in your event handler is global to your class, then it's shared between the two calls to the event handlers.

Maybe you are looking for

  • How to omit color cartridge and yet be able to print on an HP Officejet 6110 all-in-one

    I rarely print in color, but after a while, the color cartridge has to be replaced because, I suppose, the ink dries up. Without the color cartridge in place, the machine says I have to insert a cartridge and will not allow me to print with only the

  • Reflection in ABAP OO

    Is there something similar to reflection what we have in Java. Can we create an object of a class given class name only.

  • Invoice using dtw

    I used DTW to invoice 100,000 serial numbers it worked perfectly. But the AR-Invoice status shows open and printed how can i close that invoice. Sri

  • How to raise create role request in OIM 11gR2?

    How can I let a user to raise a create role request in OIM 11gR2? If I assigned the Role Viewer or Role Authorizer admin role to the user, the create button for role is disabled. If I assign the user as Role Administrator, the role will be directly c

  • Help with adobe flash player download

    I have a macbook OS X 10.5.8 and I am unable to download adobe flash player