Compc and SWC dependencies

I'm having some trouble getting compc.exe to build my project
correctly. Basically, in the IDE, we have multiple individual
projects (SWCs) that are then used in creating the main SWF. This
works fine in the IDE.
My problem is using compc.exe, and compiling from the
command-line... which I'd like to do, so I can write a script to do
this and not have to build it manually.
If I try to compile any of the projects which rely on other
projects, they fail to build. Lets say ProjectA has a dependency on
B and C, both of which have no dependencies of their own. I can
compile B and C just fine, but A fails. How do I go about using
compc.exe so it pulls ProjectB.swc and ProjectC.swc properly when
making ProjectA.swc?
Thanks!

Hi Greg,
Thank you for your reply. First of all let me say that I'm
not a Flex developer myself, only trying to automate the builds of
Flex projects, so I apologize in advance if my terminology is
unclear or incorrect.
I have attempted to use external-library-path and
-library-path to designate where I am storing the build SWCs (lets
say C:\SWC). Perhaps I am using it incorrectly, though. Is there an
example of how it is used? The compc help itself is... sparse
:)

Similar Messages

  • Issueduring verifying logical and physical dependencies of tablespaces.

    I am facing below issue with Transportable Tablespace during verifying logical and physical dependencies of two tablespaces.
    Oracle 10.2.0.2.0
    RHEL 5
    [oracle@prolinoradb1 ~]$ export ORACLE_SID=prodb136
    [oracle@prolinoradb1 ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.2.0 - Production on Sat Oct 7 07:46:07 2006
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    SQL> connect / as sysdba
    Connected.
    SQL> exec DBMS_TTS.TRANSPORT_SET_CHECK('USER_DATA_TBS,USER_NDX_TBS',TRUE);
    BEGIN DBMS_TTS.TRANSPORT_SET_CHECK('USER_DATA_TBS,USER_NDX_TBS',TRUE); END;
    ERROR at line 1:
    ORA-01001: invalid cursor
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 899
    ORA-06512: at "SYS.DBMS_SQL", line 19
    ORA-06512: at "SYS.DBMS_TTS", line 838
    ORA-04063: view "SYS.DBA_XML_TABLES" has errors
    ORA-06512: at "SYS.DBMS_TTS", line 867
    ORA-06512: at line 1
    SQL>
    I think some data dictionary script like catpatch.sql need to be run to resolve this issue but i didn't try it.
    Plz share your thoughts..
    Thnx

    Here i face another issue relates to transporting tablespace.
    I moved the datafiles from source db to target database (AIX 5.3 ->Windows 2003)
    Now when i tried to convert the datafile endianness to windows failing with below error...
    RMAN> CONVERT DATAFILE
    2> 'C:\tmpdir\tmpdir\tw_01.dbf',
    3> 'C:\tmpdir\tmpdir\tw_02.dbf',
    4> 'C:\tmpdir\tmpdir\tw_03.dbf',
    5> 'C:\tmpdir\tmpdir\tw_04.dbf',
    6> 'C:\tmpdir\tmpdir\tw_05.dbf',
    7> 'C:\tmpdir\tmpdir\tw_06.dbf'
    8> TO PLATFORM="Microsoft Windows IA (32-bit)"
    9> FROM PLATFORM="AIX-Based Systems (64-bit)"
    10> DB_FILE_NAME_CONVERT=
    11> "C:\tmpdir\tmpdir\", "E:\oracle\product\10.1.0\oradata\orcl\"
    12> PARALLELISM=5;
    Starting backup at 24-JUN-08
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    using channel ORA_DISK_3
    using channel ORA_DISK_4
    using channel ORA_DISK_5
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 06/24/2008 17:19:27
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Any idea?
    Source database is 10.1.0.3.0 and target database is 10.1.0.2.0. Does it matter?
    Message was edited by:
    GK Joe

  • Another really easy one: Is there a way to compile a .vi and its dependenci​es into a standalone executable​?

    Hey, I'm using the Full Development System version 5.0.1, and I was wondering if I can take a VI and its dependencies and turn them into an executable which doesn't depend on Labview's being installed.
    Or if not, what is the minimum amount of Labview that needs to be installed in order to run a .Vi?
    Thanks,
    -Dobbs

    Use Application Builder to create an executable. I believe LV 5.0.1 is close to 5.1.1. You'd get a .exe file that you can distribute. Keep in mind that you need Run Time Engine installed in the machine that will run without the LabVIEW development system. I believe the run time engine is free. If you use the SQL toolkit, you'll need to get a run-time license for App Builder.
    In LV 5.1.1, under Project menu, select "Build Application".
    I'd generally build a single VI containing all the VIs but you can certainly link it to an external file. Both ways work.
    Under "Top Level VI", you'd need to specify the Top Level VI if you want the VI to execute automatically. Otherwise, it'll prompt you to select a VI to run.
    I hope that helps. Regards,
    Shan Pin Koh
    Systems Eng
    ineer
    Oakriver Technology

  • [svn:cairngorm3:] 21115: updating the md5 and metadata and swc release ( just in case, we missed anything in our last commit)

    Revision: 21115
    Revision: 21115
    Author:   [email protected]
    Date:     2011-04-21 09:13:29 -0700 (Thu, 21 Apr 2011)
    Log Message:
    updating the md5 and metadata and swc release (just in case, we missed anything in our last commit)
    Modified Paths:
        cairngorm3/maven-repository/com/adobe/cairngorm/cairngorm3/3.0.18/cairngorm3-3.0.18.pom
        cairngorm3/maven-repository/com/adobe/cairngorm/cairngorm3/3.0.18/cairngorm3-3.0.18.pom.m d5
        cairngorm3/maven-repository/com/adobe/cairngorm/cairngorm3/3.0.18/cairngorm3-3.0.18.pom.s ha1
        cairngorm3/maven-repository/com/adobe/cairngorm/cairngorm3/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/cairngorm3/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/cairngorm3/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/contract/1.4/contract-1.4.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/contract/1.4/contract-1.4.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/contract/1.4/contract-1.4.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/contract/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/contract/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/contract/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/integration/0.16/integration-0.16.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/integration/0.16/integration-0.16.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/integration/0.16/integration-0.16.swc.sha 1
        cairngorm3/maven-repository/com/adobe/cairngorm/integration/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/integration/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/integration/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/integrationParsley/0.16/integrationParsle y-0.16.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/integrationParsley/0.16/integrationParsle y-0.16.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/integrationParsley/0.16/integrationParsle y-0.16.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/integrationParsley/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/integrationParsley/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/integrationParsley/maven-metadata.xml.sha 1
        cairngorm3/maven-repository/com/adobe/cairngorm/libraries/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/libraries/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/libraries/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/module/0.15/module-0.15.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/module/0.15/module-0.15.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/module/0.15/module-0.15.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/module/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/module/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/module/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigation/1.4/navigation-1.4.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/navigation/1.4/navigation-1.4.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigation/1.4/navigation-1.4.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigation/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/navigation/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigation/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationParsley/1.4/navigationParsley-1 .4.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationParsley/1.4/navigationParsley-1 .4.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationParsley/1.4/navigationParsley-1 .4.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationParsley/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationParsley/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationParsley/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSpringAS/1.4/navigationSpringAS -1.4.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSpringAS/1.4/navigationSpringAS -1.4.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSpringAS/1.4/navigationSpringAS -1.4.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSpringAS/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSpringAS/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSpringAS/maven-metadata.xml.sha 1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSwiz/1.4/navigationSwiz-1.4.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSwiz/1.4/navigationSwiz-1.4.swc .md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSwiz/1.4/navigationSwiz-1.4.swc .sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSwiz/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSwiz/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/navigationSwiz/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/observer/1.14/observer-1.14.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/observer/1.14/observer-1.14.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/observer/1.14/observer-1.14.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/observer/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/observer/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/observer/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/observerParsley/1.14/observerParsley-1.14 .swc
        cairngorm3/maven-repository/com/adobe/cairngorm/observerParsley/1.14/observerParsley-1.14 .swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/observerParsley/1.14/observerParsley-1.14 .swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/observerParsley/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/observerParsley/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/observerParsley/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/popup/1.13/popup-1.13.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/popup/1.13/popup-1.13.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/popup/1.13/popup-1.13.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/popup/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/popup/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/popup/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/popupParsley/1.13/popupParsley-1.13.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/popupParsley/1.13/popupParsley-1.13.swc.m d5
        cairngorm3/maven-repository/com/adobe/cairngorm/popupParsley/1.13/popupParsley-1.13.swc.s ha1
        cairngorm3/maven-repository/com/adobe/cairngorm/popupParsley/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/popupParsley/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/popupParsley/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/task/1.10/task-1.10.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/task/1.10/task-1.10.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/task/1.10/task-1.10.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/task/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/task/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/task/maven-metadata.xml.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/validation/1.13/validation-1.13.swc
        cairngorm3/maven-repository/com/adobe/cairngorm/validation/1.13/validation-1.13.swc.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/validation/1.13/validation-1.13.swc.sha1
        cairngorm3/maven-repository/com/adobe/cairngorm/validation/maven-metadata.xml
        cairngorm3/maven-repository/com/adobe/cairngorm/validation/maven-metadata.xml.md5
        cairngorm3/maven-repository/com/adobe/cairngorm/validation/maven-metadata.xml.sha1

    word!
    second that.
    This is really hard to follow, even for us who keep an eye on every update and read every single post and have an imagination of update problems out there.
    You tried to make digitalpublishing.acrobat.com (the "dashboard") the one-stop place for downloading and updating all necessary tools. good idea to make this the central point, because adobe.com download sections is a pain in the arse when trying to find updates for secondary tools like the DPS.
    also, make it super-duper clear what version is the current and what versio are currently available. I already wrote about lining up version numbers months ago and you seem to get this working — but it is still a mess. 1.7 vs 1.1.7 vs. 2.0 vs. drop17 vs. 11.4.2.201111104_m_670635 7.5.5.16 (you can imagine where I took the latter from)
    Peter: The bold line in the sticky forum message was added later, as I recall.
    —Johannes

  • JDeveloper project libraries and Maven dependencies

    hi
    Using the Apache Trinidad Maven JDev Plugin, I am wondering how JDeveloper project libraries and Maven dependencies are supposed to be related (or "matched", or "kept in sync", or "work together", or ...).
    With the Maven settings.xml configured like this ...
    <settings>
      <!-- ... -->
      <localRepository>C:\my-maven-repository</localRepository>
      <!-- ... -->
    </settings>... I tried this ...
    C:\projects>mvn -v
    Maven version: 2.0.9
    Java version: 1.6.0_05
    OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
    C:\projects>mvn archetype:create -DgroupId=com.oracle.forums.mvnfirstproj -DartifactId=mvn-first-proj
    [INFO] OldArchetype created in dir: C:\projects\mvn-first-proj
    C:\projects>cd mvn-first-proj
    C:\projects\mvn-first-proj>mvn org.apache.myfaces.trinidadbuild:maven-jdev-plugin:jdev
    [INFO] Scanning for projects...
    [INFO] artifact org.apache.myfaces.trinidadbuild:maven-jdev-plugin: checking for updates from central
    Downloading: http://repo1.maven.org/maven2/org/apache/myfaces/trinidadbuild/maven-jdev-plugin/1.2.7/maven-jdev-plugin-1.2.7.pom
    2K downloaded
    [INFO] [jdev:jdev]
    [INFO] Generating JDeveloper 10.1.3.0.4 Project mvn-first-proj
    [INFO] Generating JDeveloper 10.1.3.0.4 Project mvn-first-proj-test
    ...After this, the file C:\projects\mvn-first-proj\mvn-first-proj-test.jpr contains
          <!-- ... -->
          <list n="libraryDefinitions">
            <hash>
              <list n="classPath">
                <url path="../../my-maven-repository/junit/junit/3.8.1/junit-3.8.1.jar" jar-entry=""/>
              </list>
              <value v="true" n="deployedByDefault"/>
              <value v="junit:junit:jar:3.8.1" n="description"/>
              <value v="junit:junit:jar:3.8.1" n="id"/>
            </hash>
          </list>
          <!-- ... -->Notice the path for the JAR file in my specific Maven repository, to be relative to my specific project location.
    questions:
    (1) This seems to severely limit the options to share such a JDeveloper project file between developers in a team (e.g. using Subversion), because they would need their Maven repository and their JDeveloper project to be in the same (relative) location. Is this intended? Are there any options to work around these limitations?
    (2) If a project evolves, and additional libraries need to be configured in a JDeveloper project, what would be the preferred approach to keep these in sync with Maven dependency configurations?
    many thanks
    Jan Vervecken

    Hi Jan,
    Yes, some of the current approach is not ideal.
    +"Maven's primary goal is to allow a developer to comprehend the complete state of a development effort in the shortest period of time."+ - By having the pom.xml define for the project, I get the ability to run site goals, junit tests and other maven reports - get a feel for the project state. Even with a very basic pom.xml file containing the groupId, ArtifactId, version, SVN repository definition and the release plugin you gain the ability to use "mvn release:clean release:prepare" to help with tagging the source in SVN. These represent progress as up to this point the team has not had access to this.
    +"Making the build process easy".+ - The approach does make the build part easier for JDeveloper 10.1.2. As a maven build, it is now possible to check the project into SVN and have it built by Bamboo, without having to include an installation of JDeveloper 10.1.2 (for library access) on the CI server.
    +"If I understand correctly, in your approach, you are trying to keep both pom.xml and JDeveloper project files up-to-date manually?"+ - The only reason for keeping the JPR in sync with the pom.xml file is to allow the developers to still make use of features such as selecting run from the right click menu. At present, I am still slowly getting up to speed on how JDeveloper works and interacts with OC4J. Ultimately, you would want a maven plugin that will deploy the packaged WAR or EAR to the OC4J stand-alone or remote instance. This plugin would probably wrap the commands that the IDE uses, e.g.
    If you right click on the deployment profile for a project (JDeveloper 10.1.2) and select the Platform > Standalone OC4J options, you find:
    Deploying Ear+
    ${java} ${jvm.max.heap.size} -jar ${admin.jar}
    ${oc4j.url} ${username} ${password}
    -deploy -file ${ear.file}
    -deploymentName ${j2ee.app.name}
    Binding Web Apps+
    ${java} -jar ${admin.jar}
    ${oc4j.url} ${username} ${password}
    -bindWebApp ${j2ee.app.name} ${j2ee.web.app.name}
    ${oc4j.web.site} ${j2ee.context.root}
    And for Platform > OracleAS Remote DCM:
    ${java} -Djava.protocol.handler.pkgs=HTTPClient
    -jar ${Oc4jDcmClient.jar}
    ${dcm.servlet.url} ${username} ${password}
    redeploy ${remote.oracle.home}
    ${ear.file} ${j2ee.app.name} ${oc4j.instance.name}
    With a maven plugin- wrapping the deployment (possible even to the embedded OC4J) you could then look at get away without maintaining the libraries in the JPR. The JPR the becomes the configuration file for the IDE interaction only without affecting the build. For debugging, you can deploy to a standalone instance and start it using:
    java -server -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000 -jar oc4j.jar
    Then connect to the port specified. The primary project I was working on was developed in Netbeans and deployed to SJSAS. I have since switch this project to working with JDeveloper 11.1.1 as the IDE and doing remote debugging from the IDE connecting to the SJSAS debug port.
    Note, that the maven plugin development for the managing of these aspects should be easier with JDeveloper 11.1.1 and the integrated WLS.
    Have you used this approach in a project that uses ADF Business Components? - Yes, I have used it on one of the smaller ADF projects that had already been produced by the team. This project has all the maven features and ability to deploy to the remotes AS via ant scripts. The approach worked in both the dev and test environments. However, for final deployment, I still used the deployment profile to be consistent with the rest of the team.
    Regards,
    Graeme.

  • I need a Sample Code about flash++.h and swc.

    hi,help me !
    i need a Sample Code about flash++.h and swc.
    my Sample Code bitmapdata.cpp:
    #include <AS3/AS3.h>
    #include <Flash++.h>
    using namespace AS3::ui;
    void gettpoint() __attribute__((used,
    annotate(“as3sig:public function gettpoint(x:Number,y:Number):uint”),
    annotate(“as3package:MyLibrary”)));
    void gettpoint()
    double xx;
    double yy;
    inline_as3( “%0 = x;%1 = y\n” : “=r”(xx) : “r”(yy) );
    flash::geom::Point p=flash::geom::Point::_new();
    AS3_Return(xx);
    int main()
    AS3_GoAsync();
    return 0;
    the compile command is “$(FLASCC)/usr/bin/g++” $(BASE_CFLAGS) -O4 bitmapdata.cpp -emit-swc=MyLibrary -o bitmapdata.swc -lFlash++ -lAS3++
    It took me ten minutes to compile,but it can’t work.why?

    Compiling a SWC using Flash++ will result in poor compiler performance if you are using the Flex SDK to compile that SWC into a SWF.
    To get better performance try using the new version of mxmlc that is shipped in the Adobe Gaming SDK.  (Note that this new version of mxmlc doesn't support Flex)
    You will need to install the Gaming SDK and then extract the archive in the "AIR SDK" folder.  Once that archive is extracted you'll notice the new mxmlc compiler in the bin folder.
    Unfortunately compiling a SWF seems to be a little tricky.  You'll notice in the sample Makefile below project that it changes directory into the bin folder before calling ./mxmlc.  Ideally you wouldn't need to do this (like how it worked with the Flex mxmlc).  I'll investigate why that is the case.
    Makefile:
    # Path to your FlasCC SDK folder
    $?FLASCC=/Users/stshongr/builds/alchemy/1.0.0/sdk
    $?GAMINGSDK="/Applications/Adobe Gaming SDK 1.0/AIR SDK/air3-5_p4_sdk_asc2_mac_112112/bin"
    # The folder the source files are in
    $?SRC_FOLDER=$(PWD)
    all:
              "$(FLASCC)/usr/bin/g++" MyLibrary.c -emit-swc=MyLibrary -o MyLibrary.swc -lFlash++ -lAS3++
              cd $(GAMINGSDK) && ./mxmlc -library-path=$(SRC_FOLDER)/MyLibrary.swc $(SRC_FOLDER)/demo.as -o $(SRC_FOLDER)/demo.swf
    clean:
              rm -f *.swf *.swc *.bc *.exe
    MyLibrary.c:
    #include <AS3/AS3.h>
    #include <Flash++.h>
    using namespace AS3::ui;
    void gettpoint() __attribute__((used,
                                    annotate("as3sig:public function gettpoint(x:Number,y:Number):uint"),
                                    annotate("as3package:MyLibrary")));
    void gettpoint()
        double xx;
        double yy;
        inline_as3( "%0 = x;%1 = y\n" : "=r"(xx) : "r"(yy) );
        flash::geom::Point p=flash::geom::Point::_new();
        AS3_Return(xx);
    int main()
        AS3_GoAsync();   
        return 0;
    demo.as:
    package {
        import flash.display.Sprite;
        import flash.text.TextField;
              import flash.events.Event;
        import MyLibrary.CModule;
        public class demo extends Sprite {
                        private var tf:TextField;
            public function demo() {
                addEventListener(Event.ADDED_TO_STAGE, initCode);
            private function initCode(e:Event):void {
                tf = new TextField();
                addChild(tf);
                // start the FlasCC library
                MyLibrary.CModule.startAsync(this);
                // call the function
                                  tf.appendText("OUTPUT:" + MyLibrary.gettpoint(2,2));

  • [svn:cairngorm3:] 19067: Simplification of the builds and the dependencies management

    Revision: 19067
    Revision: 19067
    Author:   [email protected]
    Date:     2010-12-06 11:21:09 -0800 (Mon, 06 Dec 2010)
    Log Message:
    Simplification of the builds and the dependencies management
    Modified Paths:
        cairngorm3/trunk/libraries/Contract/pom.xml
        cairngorm3/trunk/libraries/Integration/pom.xml
        cairngorm3/trunk/libraries/IntegrationDMS/.actionScriptProperties
        cairngorm3/trunk/libraries/IntegrationDMS/pom.xml
        cairngorm3/trunk/libraries/IntegrationParsley/pom.xml
        cairngorm3/trunk/libraries/Module/pom.xml
        cairngorm3/trunk/libraries/Navigation/pom.xml
        cairngorm3/trunk/libraries/NavigationParsley/pom.xml
        cairngorm3/trunk/libraries/Observer/pom.xml
        cairngorm3/trunk/libraries/ObserverParsley/pom.xml
        cairngorm3/trunk/libraries/Persistence/pom.xml
        cairngorm3/trunk/libraries/PopupParsley/pom.xml
        cairngorm3/trunk/libraries/lib-parent/pom.xml
        cairngorm3/trunk/pom.xml
    Added Paths:
        cairngorm3/trunk/libraries/pom.xml
    Property Changed:
        cairngorm3/trunk/samples/todo/todo_flex/todo_flex_core/
        cairngorm3/trunk/samples/todo/todo_flex/todo_flex_shell/
        cairngorm3/trunk/samples/todo/todo_flex/todo_flex_todolist/
        cairngorm3/trunk/samples/todo/todo_flex/todo_flex_todolist_lib/
        cairngorm3/trunk/samples/todo/todo_java/todo_webapp/

    check the server log;
    /app/oracle/product/fwm11g/user_projects/domains/fwm_domain/servers/AdminServer/logs/AdminServer.log
    you can launch the console and see if it is running; http://<server>:<port>/console

  • Virtual environment license for sql and other dependencies of sharepoint in Azure

    We have Microsoft ActionPack. And we use Sharepoit 2013 from ActionPack , which is installed on our server.
    But our on premise server doesn't satisfy the hardware requirement for sharepoint, and thus it is too slow to use.
    So we decided to move sharepoint 2013 to Microsoft azure. 
    But we don't have any idea of virtual environment license for sql and other dependencies of sharepoint in Azure.
    Do we have to purchase separate license for sql server and other dependencies.?

    Hi BabeeshC,
    Before you deploy SharePoint 2013 on the Azure platform, you must ensure that your Azure virtualization solution meets all the licensing requirements.
    Every element of a SharePoint 2013 farm that is installed on Azure virtual machines must comply with the licensing requirements for SharePoint 2013 and related and supporting technologies.
     SharePoint 2010 and SQL Server licenses should be purchased separately.
    More information, please refer to the links:
    https://technet.microsoft.com/en-us/library/jj154957(v=office.15).aspx
    http://www.pointbeyond.com/2012/07/06/building-multi-server-sharepoint-farm-in-windows-azure
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • [SOLVED] Problem with Kate and his dependencies

    hi, I just read the post which explains how to install kate from other packages of kde.
    http://bbs.archlinux.org/viewtopic.php?id=51748
    I've done what we said last answer, but my problem is that when I try to install kdesdmod with its dependencies, the package apr and apr-util I fail to install. I leave the error code that is displayed.
    resolving dependencies...
    looking for inter-conflicts...
    Targets (4): apr-1.3.3-1 apr-util-1.3.4-1 subversion-1.5.4-1 kdesdk-4.1.3-1
    Total Download Size: 0.00 MB
    Total Installed Size: 45.68 MB
    Proceed with installation? [Y/n] y
    checking package integrity...
    (4/4) checking for file conflicts [#####################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    apr: /usr/bin/apr-1-config exists in filesystem
    apr: /usr/lib/apr.exp exists in filesystem
    apr: /usr/lib/libapr-1.a exists in filesystem
    apr: /usr/lib/libapr-1.so exists in filesystem
    apr: /usr/lib/libapr-1.so.0 exists in filesystem
    apr: /usr/lib/libapr-1.so.0.3.3 exists in filesystem
    apr: /usr/lib/pkgconfig/apr-1.pc exists in filesystem
    apr-util: /usr/bin/apu-1-config exists in filesystem
    apr-util: /usr/lib/aprutil.exp exists in filesystem
    apr-util: /usr/lib/libaprutil-1.a exists in filesystem
    apr-util: /usr/lib/libaprutil-1.so exists in filesystem
    apr-util: /usr/lib/libaprutil-1.so.0 exists in filesystem
    apr-util: /usr/lib/libaprutil-1.so.0.3.4 exists in filesystem
    apr-util: /usr/lib/pkgconfig/apr-util-1.pc exists in filesystem
    Errors occurred, no packages were upgraded.
    I do not know if I delete the files by hand, because maybe libraries can depend on them ...
    thanks
    Last edited by trancos83 (2008-11-21 18:29:23)

    I find a solution, which is perhaps the most logical, I have made a backup of all files that were in conflict at the time of installation, I saved your previous paths and I've erased, because if some program dependeds of apr-util, to be reinstalled when this was installed kdesdk, there should be no conflict.
    In this way, I've installed the package kdesdk with the dependencies that were missing. Finally, I already have installed kate.

  • How can I configure the save page mode (to save DEFAULT WITH OR WITHOUT images and other dependencies in a folder)?

    I like it that I can save webpages with or without dependencies in a separated folder. And its implementation in Firefox (e.g. it remembers how I saved something before, and that way becomes the default) can also be good sometimes. But usually it is not.
    Usually I want to save pages as HTML-only. Sometimes, but only sometimes I have to save a page as a whole (I don't know the name of the feature). But after I save something with dependencies, I often forget that, and don't care about this option. Firefox, however, doesn't forget it, and saves thousands of unimportant images, until I notice it and switch it off again.
    This is not good.
    I tried Google Chrome, which simply don't remember how I saves something before, and always select the complete page option for default. It is exactly the opposite of the perfect solution (in my opinion). The best would be if the browser would save everything as HTML only, if I don't change it. Or it would be even better if I could configure it manually (turn this remembering feature on/off).
    This is not a beginner's problem, so it would be good if only a config option solved this. I imagine that already exists a config option for this, but I could not find it. I found only the "browser.download.save_converter_index" option, which depends on how I used it last time.
    Is there a config option for this? Or should I report this in the Firefox brainstorm page?
    Thank you for your time
    D. J. S.

    That choice is remembered in the Integer pref <b>browser.download.save_converter_index</b>
    0: Web Page, complete (default)
    1: Web Page, HTML only
    2: Text files
    If you want to reset that choice to HTML only on every start of Firefox then you can use this line in the file [http://kb.mozillazine.org/user.js_file user.js]
    <pre><nowiki>user_pref("browser.download.save_converter_index", 1);
    </nowiki></pre>
    See also http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

  • JDeveloper 12c and Maven Dependencies

    I am facing issues with using Maven in JDeveloper 12c (12.1.2.0.0)
    I am trying to use Maven as a build tool. When I add a dependency to pom.xml (either directly in the source or using the gui) JDeveloper generates a library in the project (.jpr) file which seem to reference only the one dependency (one .jar file) I added but not other libraries the new dependency needs and references in it's pom file.
    If I build using maven all my dependencies (and the depencies of them etc...) are fetched  to my local repository but the JDeveloper project and IDE does not know of the extra libraries that were fetched. Do I really need to manually download any depencies and manually build a library for the JDev project to use for compilation?
    When I do the same in for example Netbeans the IDE resolves all the depencies and all classes end up in the IDE's classpath.

    Tried this again in a "clean" custom project, same errors.
    I added depency to drools-compiler to the pom (needs also reference to jboss repository, https://repository.jboss.org/nexus/content/repositories/releases)
    created a simple class which imports org.drools.builder.KnowledgeBuilder which is present in the depency tree of drools-compiler but not in the base jar that JDeveloper references.
    I get comilation error on the line:
    KnowledgeBuilder kbuilder = KnowledgeBuilder.newKnowledgeBuilder();
    I get the error both by compiling using JDeveloper and by running maven compile (error: cannot find symbol).
    The same code and pom works fine in Netbeans, haven't tried other IDE's.

  • Flash Builder and SWC hell!

    So there must be an easier way to get Flash Builder to see the updates in a SWC library other than; project clean, refresh, restart FB, refresh, clean.. hope for the best.. repeat.. hope for the best... might work this time...
    Other than cancelling my subscription to CC and moving back over to FlashDevelop (which updates INSTANTANEOUSLY) ....or maybe throwing my computer out the window I don't know what else to do...

    Honestly not sure why these solutions don't work for you.
    I have literally seen this problem vanish in front of my eyes on at least 7 different PCs/Macs with Flash Builder 4.7.
    Right-click the Project > Properties > Build Path > Expand the folder you linked to your project that has the swcs > double click the "Link Type: Merged into code" > Hit Ok > Then Ok. (You'll momentarily see a window appear that says "Updating Compiler Settings"
    I have litearlly done this "refresh" process thousands of times over the last year or so.... so often I even do it without reading what Im clicking on. Takes me 5 seconds.

  • Flash Pro CS5  Convert to Flex Component and SWC export

    Hi,
    my question is about the Flash Pro CS5 and Flash Builder 4 (Flex 4) integration.
    My goal is simple - to make a simple graphic in a MovieClip and then export that for use in Flash Builder 4. I found out I have 2 ways of doing that:
    1) -> create the MovieClip with the graphic
        -> export it for ActionScript with a name of the class
        -> select the symbol in the library again and export SWC file. Total size of this SWC in my example is 24kb.
        -> put the SWC in the libs folder and use the class/component which should be put inside SpriteVisualContainer or UIMovieClip
    2) -> create the MovieClip with the graphic
        -> export it for ActionScript with a name of the class
        -> select it in the libraly and then select Commands -> Convert Symbol to Flex Component
    Now here we can do 2 things:
        -> select the symbol in the library and export SWC file. Total size here is 104kb.
        -> publish the whole project and use its SWC file.
    And last:
        -> put the SWC in the libs folder and use the class/component wherever you want because it's already extending UIMovieClip.
    So My point is that with the first way I need to use just one simple container to put my component into and I save like 80 kb. Why would I want to use the second way, just to be more comfortable or there are other reasons too?
    I was thinking that maybe I could put more flex converted components in the fla file so I would then export the swc with all of them being already flex components and that 80kb will be shared for all of them, which makes sense of using this feature, but if someone could confirm my thinking is right or there was some other better purpose or way of doing things in an optimised way, I will be glad to hear them. Thanks!

    Hi,
    I am using the first option while converting from flash to flex. Its easy and it saves lots of memory.

  • Product launch and feature dependencies

    I'm reorganizing my e4-application to use feature-based product definitions. I encountered the following behavior:
    Setting:
    Let P be a feature-based product definition containing a feature F.
    F contains just one plugin, say A. A imports a package, that is provided by another plugin B of the target platform. Hence, F contains B as a dependency (using <requires><import plugin> in feature.xml).
    Behaviour:
    If P is launched or exported, the plugin B is neither included in launch configuration nor in export, clearly yielding a
    Could not resolve module: A
    Unresolved requirement: Import-Package: B;
    Sure, this can be solved by adding B to F directly (and not as dependency).
    My question is:
    Did I get something wrong?
    What is the purpose of the Dependency configuration of a feature?
    Do I have to include all required plug-ins into the feature by hand?
    Is there an automated way to do this (like "Add required" for plugin-based products)?
    Regards, Ragnar

    Hi Ragnar
    no, I do not think you are doing something wrong.
    A large product might consist of multiple features. So if B is a library you are using it might make sense to put it in a separate library feature you can add to your product definition. Or you might want to have it in the same feature as A. It depends on what you want to accomplish. We use features to group bundles that are shared by multiple products (like libraries and core components).
    Afaik the editor for feature.xml does not offer any help to add dependencies automatically. We manage our features manualy. As soon as a product is stable it usualy isn't a lot of work. Before that, when the dependencies still change a lot, I like to use plugin based product configuration and switch to features later. You could check if another build technology like Tycho or Bndtools works better for you, but I don't know. You should be wary of "Add required" anyway, because it might add something you do not want to have (i.e. all fragments in your target get added as soon as their host is present which is not always what you want).
    Cheers
    Christoph

  • Remote portlets and their dependencies

    Can we access dependencies in remote portlets which are deployed onto a simple producer?
    How CSS and JS are sent to the consumer?
    Thanks

    Simple producers cannot use any WebLogic Portal specific features, like look and feel. See the document "Simple Producers": http://download-llnw.oracle.com/docs/cd/E13155_01/wlp/docs103/federation/Chap-Details.html#wp1028331
    A complex producer knows what WebLogic Portal look and feels are. See the document "Complex Producers": http://download-llnw.oracle.com/docs/cd/E13155_01/wlp/docs103/federation/Chap-Details.html#wp1021335
    I'm no WSRP expert but I have used render dependencies on a remote portlet. If I remember correctly, the URL for the dependencies that the consumer ends up using is a resource URL that is proxied back to the producer. I looks like any other WSRP resource URL.

Maybe you are looking for