Compiling AIR Dynamically

Hi,
I am setting up a Dynamic Website, that users can signup for and configure their AIR application. They can upload files, add text and change the appearance. All of the files will be stored in a Directory. What I need to do, however, is recompile the Root AIR File using their directory, thus creating an AIR Package with my generic Application configured by their files.
Is this possible? Do I have to install the compiler on the Server somehow, and use PHP to send commands to the compiler, using the MXML files and the directory using the user's custom data?
Basically, when the User clicks 'Compile', I will need to send a variable to PHP containing the directory of the User's information. Then, I would need to pass this value and any other compiler arguments to the compiler and initiate the compilation, and output the file. I am not too familiar with compilers, so any advice or resources would be very helpful!!
Thanks much,
Jesse

SWF-based AIR apps require compilation (for the SWF resources). HTML-based AIR apps don't require compilation.
Creating an AIR package is not the same thing as compiling it. The packager does two things. It creates a zip-like file containing the application files and it signs the package with a digital signature. The packager, ADT, is a Java program. You could conceivably run it on a server.

Similar Messages

  • RoboHelp 9/10 Java Error Trying to Compile AIR Help Skin

    I'm trying to save a custom skin for a RoboHelp 9 project on a Windows 7 64-bit PC using AIR Browser Based Help. When I try to save the skin, or compile it into a SWF, I get the following error:
    Error loading: C:\Program Files\Java\jdk1.7.0_09\jre\bin\jvm.dll
    The dll is located at that path. I tried running RoboHelp as Administrator. I tried editing a new skin with a new clean project and also with a downloaded trial of RoboHelp 10, and I got the same results. Has anyone seen this, or can anyone think of a fix?

    Hello hypericon_0090001,
    Have you found any fix for this, as I am having the same problem.

  • Compilling Air Apps on Mobile Platforms

    Hello world!
    Sorry to ask this question (maybe because i will be stupid)
    But I am making a app in HTML and JS (With Adobe Air),
    But i didn't anderstand who can it be compile on mobile platforms ?
    like:
    -Androïd
    -IOS
    -Blackberry tablet
    -TV ?!?
    Please help ME !, thank you

    The JavaFX on iOS using Maven and RoboVM article of Aug 1st 2013 is a good article of where the technology currently stands today with regards to JavaFX and mobile platforms (at least iOS anyway).
    http://www.zenjava.com/2013/08/01/javafx-on-ios-using-robovm-and-maven/

  • Can I de-compile Air to work on an Android phone without installing the Adobe Air player?

    I have created an android app in FLASH, I would like to test it on my phone however, it does not support the Air player! Is there a way to de-compile the files so that the app will work on an android phone without having to run Adobes Air player?
    thanks
    steve
    Message was edited by: SportsHypnosis

    Thanks for your response.

  • Compile AIR application with Ant (WindowedApplication could not be found)

    I'm trying to compile my AIR application with Ant, using the mxmlc Ant Task. It seems to compile fine, and I get a .swf, but when I try to run it with ADL, I get the message "Class mx.core::WindowedApplication could not be found." It looks like the AIR libraries aren't being included properly.
    Here's my mxmlc task:
    Class mx.core::WindowedApplication could not be found.
    <mxmlc
         file="${MAIN_MXML}"
         output="${DEPLOY_DIR}/MyApp.swf"
         compatibility-version="3"
         locale="en_US"
         static-rsls="true"
         debug="${DEBUG_FLAG}"
         optimize="true"
         link-report="${DEPLOY_DIR}/report.xml"
         configname="air">
         <load-config filename="${FLEX_HOME}/frameworks/air-config.xml" />
         <library-path dir="${FLEX_HOME}/frameworks/libs" append="true">
              <include name="*.swc" />
         </library-path>
         <library-path dir="${FLEX_HOME}/frameworks/libs/air" append="true">
              <include name="*.swc" />
         </library-path>
         <library-path dir="${FLEX_HOME}/frameworks/locale" append="true">
              <include name="{locale}" />
         </library-path>
         <source-path path-element="${SRC_DIR}" />
    </mxmlc>
    Any idea why this is happening? I've tried not including the load-config section and not including the library paths, but it's always the same result - it can't find WindowedApplication.
    Thanks!

    Hi, Guys!
    I ran into the same problem when i tried to write an ant-script to compile the asDocs for my project.
    After reading shades post i added the air-config (This resolved the WindowApplication couldn't be found error, because it adds all the air libs i guess)
    but lead to the problem that the flex vector-class wasn't found. As Vector is flashplayer 10.0.0 i also
    used the target-player parameter (This fixed that nicely).
    But now i got the problem that i get lots of this error msgs: DepartmentItemRendererClass.as(11):
    Error: The private attribute may be used only on class property definitions.
    I guess the problem now is that ant doesn't understand that the AS-Classes producing that errors are not used as
    standalone-classes. To divide my mxml and AS-Code i import external AS-Classes to my MXML
    like that <mx:Script source="ascodeClass.as" />
    Is there a solution allowing me to use this pattern and still compile my asDoc with ant?
    It confuses me a little, because Ant-Scripts worked to compile the project.
    Thanks in advance!
    Florian
    My Ant-Script producing that error:
    <project name="Red bull BPT 2.0: Generate ASDoc" basedir=".">
        <description>
           Creates the ASDoc for Red Bull BPT 2.0
        </description>
        <property file="FlexbuilderASDocAntTask.properties" />
        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
        <target name="cleanAndCreateASDoc"
                depends="cleanASDoc, compileASDoc"
                description="Cleans and creates Actionscript-Documentation"
                />
            <!-- Delete the existing output folder and files and then regenerate the output folder -->
                <target name="cleanASDoc">
                    <echo>Deleting ASDoc Directory...</echo>
                        <!--Delete the folder specified for the Asdoc.dir variable-->
                        <delete dir="${Asdoc.dir}" failOnError="false" includeEmptyDirs="true" />
                        <echo>Deleted ASDoc Directory</echo>
                        <echo>Creating ASDoc Directory...</echo>
                        <!--Creates the folder specified for the Asdoc.dir variable-->
                        <mkdir dir="${Asdoc.dir}" />
                    <echo>Created ASDoc Directory</echo>
                </target>
            <!-- Run the ASDoc executable and generate the ASDocs to the new output folder -->
                <target name="compileASDoc">
                    <echo>ASDoc Compiling...</echo>
                        <exec executable="${AsDocs.executable}" failonerror="true">
                        <!--THIS SEEMS TO SOLVE THE WINDOWEDAPPLICATION AND FOLLOWING VECTOR ERROR -->   
                            <arg line="-load-config ${FLEX_HOME}/frameworks/air-config.xml" />
                            <arg line="-target-player 10.0.0" />
                        <!--THIS SEEMS TO SOLVE THE WINDOWEDAPPLICATION AND FOLLOWING VECTOR ERROR -->
                        <!--Main title for the top of all ASDoc pages-->
                            <arg line="-main-title '${Main.title}'" />
                        <!--Prefix Title of the window-->
                            <arg line="-window-title '${Window.title}'" />
                        <!--Defines the output directory for the ASDoc-Files-->
                            <arg line="-output '${Asdoc.dir}'" />
                        <!--Footer added to each ASDoc page-->
                            <arg line="-footer '${Footer.text}'" />
                        <!--Adding the source folders the ASDoc should be created from (Start)-->
                            <arg line="-doc-sources '${ModuleBaseDir}/source'" />
                        <!--Adding the source folders the ASDoc should be created from (End)-->
                        <!--Adding the folders for external Libraries needed to compile the application(Start)-->
                            <arg line="-external-library-path '${ModuleBaseDir}/libs'" />
                        <!--Adding the folders for external Libraries needed to compile the application(End)-->
                        </exec>
                    <echo>ASDoc Compile Complete!</echo>
        </target>
    </project>

  • Problème après compilation (VI dynamique)

    Bonjour ,
    J'utilise dans mon projet un appel de VI dynamique. En mode développement je n'est pas de souci. Mais lorsque je compile mon projet, j'obtiens une erreur en sortie de "Open Vi Reference.vi" error 1003.
    Après recherche sur le web j'ai trouvé la solution. Aparament il faut cocher la case use labview 8.x file layout dans les propriétés de compilation.
    Et là mon app.exe fonctionne très bien... Mais dans le même dossier que mon app.exe je me retrouve avec plusieurs dossiers : NI_HTML, NI_Report, NI_ReportGenerationCore, NI_ReportGenerationToolkit et NI_Standard Report.
    Ma question est pourquoi j'ai ces dossiers additionnels et comment faire pour ne pas les avoir.
    Pour indication j'utilise des Vi's que propose labview pour la gestion d'Excel et lorsque je les supprime alors je n'ai plus ces dossiers additionnels.
    Si vous pouvez m'aider svp.... MERCI !!
    PS : dsl pour les fautes
    Solved!
    Go to Solution.

    Excusez-moi je me suis mal exprimé, ce que je vous proposait, ce n'était pas supprimer les vi depuis les dépendences de votre projet ni même les classes LabVIEW (les fameux fichiers .lvclass).
    Ce que je vous proposais, c'était de supprimer les répertoires générés par votre application ,lorsque vous utlisez les VI "Report Generation".
    Les répertoires NI_Word et NI_Excel contiennent surement les fichiers utiles que vous souhaitez utiliser mais pas les répertoires NI_HTML, NI_Report, NI_ReportGenerationCore, NI_ReportGenerationToolkit et NI_Standard Report. (Ceux qui contiennent les VI's inclus dans vos dépendances de projet).
    Cela vous conviendrait-il ?
    Cordialement,
    Vincent.O
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Été de LabVIEW 2014
    12 présentations en ligne, du 30 juin au 18 juillet

  • Compile .air with selected files and folders

    Can i complie selected files and folders from php so i can get dynamic .air files
    so e.g
    i have 4 different css
    1 css for 1 .air
    2 css for 2.air
    and so on

    Hi,
    If I understand your question correctly, you should be able to do this by writing a script and interacting with ADT via it's command line arguments.  In particular, check out the "Package and Sign an AIR file in one step" section in the Packaging an AIR installation file document.
    Hope this helps,
    Chris

  • Loading external configuration when compiling AIR

    I'm developing an AIR app using Flex Builder 3, but I'm using
    a deployment script (Capistrano) to deploy both the AIR file and
    the backend (Ruby on Rails) to various servers.
    The problem is that the AIR file needs to be able to point to
    different addresses based on which environment it was compiled for:
    development (
    http://localhost:3000 ), staging (
    http://my-staging-server ), and
    production (
    http://my-production-cluster
    It seems that since there are 3 environments, the best option
    would be to have a constant set to
    http://localhost:3000 when
    developing, and have the deployment script change that constant by
    compiling the AIR file at deployment time using the command-line
    SDK. I think it should be somehow possible to do by using different
    config files as command-line options, but I am completely at a loss
    on how to do this. Any help would be greatly appreciated!

    You could do this by having three different configuration
    files, each of which is mapped to one well-known name during the
    packaging step. The "-e" adt command line flag is ideal for this.
    See the documentation at
    http://livedocs.adobe.com/flex/3/html/CommandLineTools_5.html.
    Oliver Goldman | Adobe AIR Engineering

  • How do you compile shared dynamic library in OS/X?

    I am trying to compile a open source component in OS/X (gcc, ANSI C) from the following makefile:
    include makefile_header #standard system makefile variables in this
    # include additional makefile headers here
    # add needed cflags here
    DSI_CFLAGS=$(GLOBUS_CFLAGS)
    # add needed includes here
    DSI_INCLUDES=$(GLOBUS_INCLUDES) -I/opt/bes/include/bes
    # added needed ldflags here
    DSI_LDFLAGS=$(GLOBUS_LDFLAGS) -L/opt/bes/lib -L/opt/bes/lib/bes
    # add needed libraries here
    DSI_LIBS= -lbes_ppt -lbes_dispatch
    FLAVOR=gcc32dbg
    globus_gridftp_server_bes.o:
    $(GLOBUS_CC) $(DSI_CFLAGS) $(DSI_INCLUDES) \
    -shared -o libglobus_gridftp_server_bes_$(FLAVOR).so \
    globus_gridftp_server_bes.c \
    $(DSI_LDFLAGS) $(DSI_LIBS)
    install:
    cp -f libglobus_gridftp_server_bes_$(FLAVOR).so $(GLOBUS_LOCATION)/lib
    #end makefile
    -shared is not recognized by OS/X's gcc variant. Substituting -dynamiclib or -bundle does not seem to be correct method (errors). How should I go about changing the compile command so that it will build me the libglobus_server_bes_gcc32.so lib file?
    Thanks.
    --Stephan
    Macbook Pro, Powerbook G4   Mac OS X (10.4.9)   *NIX OSS developer

    I get the following compile message:
    /usr/bin/gcc -g -m32 -fno-common -Wall -I/usr/local/globus/include/gcc32dbg -I/opt/bes/include/bes \
    -o libglobusgridftp_server_besgcc32dbg.so \
    globusgridftp_serverbes.c \
    -L/usr/local/globus/lib -L/usr/local/globus//lib -m32 -L/opt/bes/lib -L/opt/bes/lib/bes -lbes_ppt -lbes_dispatch
    In file included from /usr/local/globus/include/gcc32dbg/globus_common.h:58,
    from /usr/local/globus/include/gcc32dbg/globusgridftpserver.h:26,
    from globusgridftp_serverbes.c:12:
    /usr/local/globus/include/gcc32dbg/globuscommoninclude.h:28: error: syntax error before 'extern'
    make: * [globusgridftp_serverbes.o] Error 1
    The compile command with -shared works in linux, no error in globuscommoninclude.h as above.
    globuscommoninclude.h upto the error:
    #if !defined(GLOBUSCOMMON_INCLUDEH)
    #define GLOBUSCOMMON_INCLUDEH 1
    #include "globus_config.h"
    #ifdef _GNUC_
    #define GlobusFuncName(func) static const char * globus_funcname \
    _attribute__((__unused_)) = #func
    #else
    #define GlobusFuncName(func) static const char * globus_funcname = #func
    #endif
    extern const char * globus_funcname; //<- error on this line
    <br>
    Macbook Pro, Powerbook G4   Mac OS X (10.4.9)   *NIX OSS developer

  • Adobe AIR dynamic sound and recording delay issue

    I'm writing mobile application with Adobe AIR. The application use AIR Microphone API to record sound to file and later replay it.
    The problem manifest only on mobile devices, not simulator. Specifically only on iOS devices, android devices seem to work OK.
    Sometimes the recorded sound is missing samples. I know this because I use iFunBox to copy the recorded file to another application that replay it. The dropped frame manifest during playback as very fast audio because only part of the samples were recorded.
    Sometime the playback is to slow which manifest as very slow audio. I know this because when the recording is fine and the other application play the sound right or when I take a file I recorded in the simulator (which run on my MacBook) and it only play slow on the mobile device.
    How can I make sure the sound is good even when the application is a bit busy?

    A little bump.
    I still haven't found any solution to this.

  • Unable to compile Dynamic news Demo

    Hi,
    I'm unable to compile the Dynamic News Demo. I have the following error message :
    method setXSLT not found in oracle.xml.sql.query.OracleXMLQuery.
    Which version of the Oracle XML utility I need.
    I check the Oracle XML utility documentation and didn't find this method!
    Thanks
    null

    Try the latest versions, available from the OTN XML Home page. The software requirements are described in the Installation Notes.
    Here is the URL: http://technet.oracle.com/sample_code/tech/xml/xmlnews/install.html
    Regards,
    -rh
    null

  • How to Test AIR 1.5

    Sorry if this seems slightly off center, but I blame Adobe, not myself. Trying to determine the true status and positioning of AIR amongst the various Flex forums and projects for an outsider is practically impossible. So, I will be brief. In September Mr. Chambers sent opened the flow by telling us that we could find FP10 integrated with Flex SDK in something you call 1.5 or Cosmo, or both. He was properly circumspect, so I didn't rush into it -- there was not even an ADL binary when I checked. Now it is November, the Trunk is at 4005, and ostensibly, everything we need to start trying to take advantage of FP support of 3D operations is out there. But where? Where do we get a version of AIR 1.5 that can be installed on a target desktop, so that we can try to run the ADT test cycle?
    Call it Gumbo, call it Flex4, call it whatever, but can someone tell us how to start testing it for AIR application deployment?
    Thank you.

    <DIV><FONT face=Arial size=2>I am sure you are right about an AIR application <br />being able to use Loader and SWFLoader.  I hope I have more or less figured <br />out the right way to do that.  But, I guess my point is that none of the <br />documentation I have been able to find anywhere would answer the question about <br />what to do with the framework and/or rpc files.  What, as far as you <br />understand it, is the correct way to manage the use of the A</FONT><FONT <br />face=Arial size=2>dobe swz files in an AIR application?</FONT></DIV><br /><BLOCKQUOTE <br />style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><br />  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV><br />  <DIV <br />  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <br />  <A [email protected] href="mailto:[email protected]">Josh <br />  McDonald</A> </DIV><br />  <DIV style="FONT: 10pt arial"><B>To:</B> <A [email protected] <br />  href="mailto:[email protected]">[email protected]</A> <br />  </DIV><br />  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, November 03, 2008 11:01 <br />  PM</DIV><br />  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: How to Test AIR 1.5</DIV><br />  <DIV><BR></DIV>A new message was posted by Josh McDonald in <br />  <BR><BR><B>Developers</B> --<BR>  How to Test AIR 1.5<BR><BR>I'm <br />  sure there's nothing stopping you from loading SWFs and SWZs and SWCs and <br />  loading them in AIR? Just treat them as normal files, and use whatever you <br />  please to push out updates etc?<BR><BR>-Josh<BR><BR>On Tue, Nov 4, 2008 at <br />  4:53 PM, Terry Corbet <SPAN dir=ltr>&lt;<A <br />  href="mailto:[email protected]">[email protected]</A>&gt;</SPAN> <br />  wrote:<BR><br />  <BLOCKQUOTE class=gmail_quote <br />  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">A <br />    new message was posted by Terry Corbet in<BR><BR>Developers --<BR> How <br />    to Test AIR 1.5<BR><BR>01.  Thanks, I will continue testing with ADL <br />    and hopefully be able to move up to a web-base, remote installation/update <br />    scenario in a couple of weeks.<BR><BR>02.  I'm sorry you feel that my <br />    failure to accept what may be 'intuitively obvious to you' -- that I can <br />    design and test a 3D front end to FMS that works the same in a native window <br />    as in a browser window -- indicates any lack of faith in what will be <br />    delivered.  So far, I have found subtle, important differences, and I <br />    am sure there will be others that will just have to be patiently tested <br />    before I get it right.<BR><BR>03.  So, I'm glad you asked about swz in <br />    an AIR environment because that is a whole topic for which I have not been <br />    able to find any discussion on any of the many fine forums you have.  I <br />    understand product marketing and product development, but I can't say that I <br />    ever managed those activities in the environment you have in which several <br />    large projects co-exist with lingering dependencies and even 'cultures' as <br />    diverse as you have with the various acquisitions that come together in the <br />    suite of products you have today.<BR><BR>So, I will simply state that I <br />    think no one seems to have recognized that your paradigm for 'desktop' <br />    versus 'web-based' software -- the essential distinction which seems to <br />    describe Adobe's description of an AIR versus a Flex application -- does not <br />    always hold.  I understand the general dichotomy, but it does not hold <br />    for my user base.<BR><BR>You have lots of design papers and lots of software <br />    devoted to 'reducing the burden' of ever-growing executables in the Flex <br />    framework by caching of your or our rsls.  That's a good idea. <br />     Why do you think it is not just as good an idea for an AIR <br />    application?  Probably because you think that an AIR application will <br />    either be shipped on a CD, or sent over the Internet, but relatively <br />    infrequently, so who cares if you have to ship out 10MBs or 2MBs? My user <br />    cares.<BR><BR>My user will get frequent updates to an ever-growing body of <br />    software called an application, and he will get them over those same slow <br />    bandwidth network links that the Flex user sees.  What's "good for the <br />    goose is good for the gander".  There is simply no reason not to <br />    architect the library of code that we use to cobble together the application <br />    and use the same intelligent caching mechanism in both environments.  I <br />    looked for a month for a white paper or discussion of how to 'modularize' an <br />    AIR app but all that you wanted to publish were white papers on how to <br />    'modularize' a Flex app.<BR><BR>I'm sure that you guys have a bunch of <br />    object diagrams and product architecture blueprints that you have memorized <br />    -- but that is not what we see 'outside the black box'.  What we see is <br />    a confusing distinction between the AIR efforts and the Flex efforts <br />    although the code base and efforts are substantially the same.  And if <br />    that is true from an internals point of view, put on your end-user hat and <br />    look at how we view a AIR/Flex app -- it is all one.<BR><BR>So, I develop <br />    the worlds greatest Juke Box and get it all going in Flex, then I move that <br />    into one Tab on one Screen in the AIR 'shell'.  Then some guys go off <br />    and mostly use AIR-unique code to add a Tab that allows Drag and Drop <br />    creation of Slide Shows accompanied by voice overs, and another set of my <br />    guys go off to add the 'Sudoku' module in just plain old Flex.  At some <br />    point in time in some ant task, we've got 10MB of code and X MBs of that is <br />    in one of our present [or future] swz files.  Where is the distinction <br />    that says I should just ask my users to download the whole shooting match, <br />    when what he really wants to do is just download whatever updated or new <br />    application modules [including any upgrades to your frameworks] when <br />    required.<BR><BR>So, it took some time, but today, my application is <br />    compiled with dynamic linking to the framework.swz, and when the user <br />    launches his AIR application on the desktop, the Flash Player, embedded in <br />    the AIR environment, is smart enough to find that it already has the <br />    necessary framework code and does not need to go back to the network to get <br />    it refreshed.  Actually, since I could never figure out how to use <br />    Module and ModuleManager, the method for solving the framework caching <br />    problem ended up just being an extension of what I developed for version <br />    management 'with continuous update' of my own swf files.  So, when the <br />    AIR shell starts up, it needs to test to see whether there is any updating <br />    to be done, or whether it already has locally available the 'latest and <br />    greatest' and that works the same for MyCute3DWizBang.swf or <br />    framework_3.1.0.2710.swz or framework_4.0.0.3988.swf.<BR><BR>If you take the <br />    point of view that a 'desktop application' doesn't need to do anything <br />    special to solve the problem of 'large file downloads', you end up thinking <br />    that there is no reason for an AIR application to take advantage of the <br />    frameworked cache when, in fact, almost all of that code is needed whether <br />    the execution thread starts in a 'WindowApplication' or just a plain old <br />    'Application'.  At least thats the cockamaymee point of view that I <br />    came to in the absence of any 'best practice' discussion of these key topics <br />    --  so far, it seems to be working pretty well, but as you can guess, <br />    testing across a network to a remote host that may or may not have the right <br />    version of AIR, or the right version of framework, or the right version of <br />    MyCute3DWizBang  is really more important than just testing against <br />    ADL. <BR><BR><BR>----- Original Message ----- From: "Matt Chotin" &lt;<A <br />    href="mailto:[email protected]" <br />    target=_blank>[email protected]</A>&gt;<BR>To: &lt;<A <br />    href="mailto:[email protected]" <br />    target=_blank>[email protected]</A>&gt;<BR>Sent: Monday, November <br />    03, 2008 8:39 PM<BR>Subject: Re: How to Test AIR 1.5<BR><BR><BR><br />    <BLOCKQUOTE class=gmail_quote <br />    style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">A <br />      new message was posted by Matt Chotin in<BR><BR>Developers --<BR> How <br />      to Test AIR 1.5<BR><BR>The badge install doesn't work with debug, you can <br />      only use adl.exe right now.  But this should show how the whole <br />      system would work and really allow you to evaluate.  You know how the <br />      AIR install works with Air 1.1 (if not, use Flex 3.1 to target 1.1), I <br />      don't think seeing it with AIR 1.5 is critical to evaluate the features of <br />      the runtime at this point.<BR><BR>Air and the Flash Player are runtimes, <br />      and we've made it clear that AIR 1.5 would include FP10 features.  So <br />      when we say Flex will enable FP10, it should be obvious that when AIR 1.5 <br />      comes out Flex will support it in the same way.<BR><BR>I don't really <br />      understand what you're doing with the SWZ and AIR, there's no real need to <br />      use a cached framework when the whole app is going to be <br />      installed.<BR><BR>In any case, Air 1.5 should be out in 2 weeks hopefully <br />      so you'll be set then.<BR><BR>Matt<BR><BR>On 11/3/08 8:07 PM, "Terry <br />      Corbet" &lt;<A href="mailto:[email protected]" <br />      target=_blank>[email protected]</A>&gt; wrote:<BR><BR>A new message <br />      was posted by Terry Corbet in<BR><BR>Developers --<BR> How to Test <br />      AIR 1.5<BR><BR>Thanks for the quick turnaround.  Pardon my ignorance, <br />      but exactly what .exe<BR>file will install Air 1.5 on a system?  I <br />      don't find it anywhere.  I guess I<BR>can try to tear the ADL source <br />      apart to see how it mimics that behavior, but<BR>that is, at best, just a <br />      local test.  I think testing the whole Badge<BR>install sequence is <br />      essential, and would like to give it a try.  The longer<BR>we put <br />      this off, the longer we all just sit here trying to decide whether <br />      to<BR>stay with Papervision, Away, Sandy, or to use the graphics support <br />      in the<BR>Player.<BR><BR>I am busy making the dynamic link to the <br />      framework.swz work for Flex modules<BR>running under an AIR shell, and I <br />      doubt that I am alone.  There must be many<BR>of us who really see no <br />      distinction between AIR and Flex -- they just<BR>provide us two different <br />      ways to slice a problem, that's why it is so<BR>disconcerting to try to <br />      follow the threads on rapid Flex advancement with FP<BR>10, but almost <br />      nothing pertaining the doing the very same things with the<BR>AIR <br />      toolkit.<BR><BR>I hope you can tell me where to get the standalone AIR 1.5 <br />      installer that<BR>will me keep making progress with the debugging output <br />      reasonably well<BR>handled by Allesandros' FireFox tracer.  Many <br />      thanks.<BR><BR><BR>----- Original Message -----<BR>From: "Matt Chotin" <br />      &lt;<A href="mailto:[email protected]" <br />      target=_blank>[email protected]</A>&gt;<BR>To: &lt;<A <br />      href="mailto:[email protected]" <br />      target=_blank>[email protected]</A>&gt;<BR>Sent: Monday, <br />      November 03, 2008 7:55 PM<BR>Subject: Re: How to Test AIR 1.5<BR><BR><BR><br />      <BLOCKQUOTE class=gmail_quote <br />      style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">A <br />        new message was posted by Matt Chotin in<BR><BR>Developers <br />        --<BR> How to Test AIR 1.5<BR><BR>Hi,<BR><BR>We're not doing a <br />        public beta of the release runtime for AIR 1.5.  You can<BR>use the <br />        debug runtimes that are part of the Flex nightly builds though<BR>(check <br />        the Flex 3 nightlies) to validate that AIR 1.5 will be right for<BR>you <br />        though.<BR><BR>Matt<BR><BR>On 11/3/08 7:38 PM, "Terry Corbet" &lt;<A <br />        href="mailto:[email protected]" <br />        target=_blank>[email protected]</A>&gt; wrote:<BR><BR>A new <br />        discussion was started by Terry Corbet in<BR><BR>Developers <br />        --<BR> How to Test AIR 1.5<BR><BR>Sorry if this seems slightly off <br />        center, but I blame Adobe, not myself.<BR>Trying to determine the true <br />        status and positioning of AIR amongst the<BR>various Flex forums and <br />        projects for an outsider is practically<BR>impossible.  So, I will <br />        be brief.  In September Mr. Chambers sent opened<BR>the flow by <br />        telling us that we could find FP10 integrated with Flex SDK <br />        in<BR>something you call 1.5 or Cosmo, or both.  He was properly <br />        circumspect, so<BR>I didn't rush into it -- there was not even an ADL <br />        binary when I checked.<BR>Now it is November, the Trunk is at 4005, and <br />        ostensibly, everything we<BR>need to start trying to take advantage of <br />        FP support of 3D operations is<BR>out there.  But where? <br />         Where do we get a version of AIR 1.5 that can be<BR>installed on a <br />        target desktop, so that we can try to run the ADT <br />        test<BR>cycle?<BR><BR>Call it Gumbo, call it Flex4, call it whatever, <br />        but can someone tell us<BR>how to start testing it for AIR application <br />        deployment?<BR><BR>Thank <br />        you.<BR><BR>________________________________<BR>View/reply at How to <br />        Test AIR 1.5<BR>&lt;<A <br />        href="http://www.adobeforums.com/webx?13@@.59b6ed86" <br />        target=_blank>http://www.adobeforums.com/webx?13@@.59b6ed86</A>&gt;<BR>Replies <br />        by email are OK.<BR>Use the unsubscribe<BR>&lt;<A <br />        href="http://www.adobeforums.com/webx?280@@.59b6ed86%21folder=.3c060fa3" <br />        target=_blank>http://www.adobeforums.com/webx?280@@.59b6ed86!folder=.3c060fa3</A>&gt; <br />         form to<BR>cancel your email <br />        subscription.<BR><BR><BR><BR><BR>------------------------------------------------------<B R>View/reply <br />        at &lt;<A href="http://www.adobeforums.com/webx?13@@.59b6ed86/0" <br />        target=_blank>http://www.adobeforums.com/webx?13@@.59b6ed86/0</A>&gt;<BR>Replies <br />        by email are OK.<BR>Use the unsubscribe form at<BR>&lt;<A <br />        href="http://www.adobeforums.com/webx?280@@.59b6ed86%21folder=.3c060fa3" <br />        target=_blank>http://www.adobeforums.com/webx?280@@.59b6ed86!folder=.3c060fa3</A>&gt; <br />        to<BR>cancel your email <br />      subscription.<BR></BLOCKQUOTE><BR><BR><BR>----------------------------------------------- -------<BR>View/reply <br />      at &lt;<A href="http://www.adobeforums.com/webx?13@@.59b6ed86/1" <br />      target=_blank>http://www.adobeforums.com/webx?13@@.59b6ed86/1</A>&gt;<BR>Replies <br />      by email are OK.<BR>Use the unsubscribe form at &lt;<A <br />      href="http://www.adobeforums.com/webx?280@@.59b6ed86%21folder=.3c060fa3" <br />      target=_blank>http://www.adobeforums.com/webx?280@@.59b6ed86!folder=.3c060fa3</A>&gt; <br />      to cancel your email <br />      subscription.<BR><BR><BR><BR>------------------------------------------------------<BR>Vi ew/reply <br />      at &lt;<A href="http://www.adobeforums.com/webx?13@@.59b6ed86/2" <br />      target=_blank>http://www.adobeforums.com/webx?13@@.59b6ed86/2</A>&gt;<BR>Replies <br />      by email are OK.<BR>Use the unsubscribe form at &lt;<A <br />      href="http://www.adobeforums.com/webx?280@@.59b6ed86%21folder=.3c060fa3" <br />      target=_blank>http://www.adobeforums.com/webx?280@@.59b6ed86!folder=.3c060fa3</A>&gt; <br />      to cancel your email subscription. <br />    <BR></BLOCKQUOTE><BR><BR><BR>------------------------------------------------------<BR>Vi ew/reply <br />    at &lt;<A href="http://www.adobeforums.com/webx?13@@.59b6ed86/3" <br />    target=_blank>http://www.adobeforums.com/webx?13@@.59b6ed86/3</A>&gt;<BR>Replies <br />    by email are OK.<BR>Use the unsubscribe form at &lt;<A <br />    href="http://www.adobeforums.com/webx?280@@.59b6ed86%21folder=.3c060fa3" <br />    target=_blank>http://www.adobeforums.com/webx?280@@.59b6ed86!folder=.3c060fa3</A>&gt; <br />    to cancel your email subscription.<BR></BLOCKQUOTE><BR><BR clear=all><BR>-- <br />  <BR>"Therefore, send not to know For whom the bell tolls. It tolls for <br />  thee."<BR><BR>Like the cut of my jib? Check out my Flex blog!<BR><BR>:: Josh <br />  'G-Funk' McDonald<BR>:: 0437 221 380 :: <A <br />  href="mailto:[email protected]">[email protected]</A><BR>:: <A <br />  href="http://flex.joshmcdonald.info/">http://flex.joshmcdonald.info/</A><BR>:: <br />  <A <br />  href="http://twitter.com/sophistifunk">http://twitter.com/sophistifunk</A><BR><BR><BR><br />  <HR align=left width=200><br />  View/reply at <A href="http://www.adobeforums.com/webx?13@@.59b6ed86/4">How to <br />  Test AIR 1.5</A><BR>Replies by email are OK.<BR>Use the <A <br />  href="http://www.adobeforums.com/webx?280@@.59b6ed86!folder=.3c060fa3">unsubscribe</A> <br />  form to cancel your email subscription.<BR><BR></BLOCKQUOTE>

  • Error creating dynamic page in an application with a schema other than portal30

    Running 9iAS 1.0.2.2 on Solaris.
    Database 8.1.7.1
    I cannot seem to create a default dynamic page (select 'x' from dual) in an application that has a schema (e.g. test) other
    than portal30. The error seems to be when portal tries to compile the dynamic-page package, it references itself from
    within the package but prefixing the call with the other (test) schema. It never seems to compile? What seems to be the
    problem? Any ideas?

    If you are using any database object other than the applcation owned,then it has to be prefixed with the schema owner.
    For example,
    if the application schema is based on the schema "schema1" (say)
    and your query is based on one of the object on "schema2"
    and if you have necessary privilegves to access that object from schema2, then the compiler wont throw any error.
    Can u explain, what u problem you are experiencing in detail?
    (Also, if u give me the portal version, I can cross-verify that).

  • Dynamic Proxies

    I'm trying to implement a way of monitoring method calls on certain objects so that I am able of enforcing security constraints on these calls.
    Considering the functionality provided by the reflection API, I thought that dynamic proxies would be a viable solution.
    But they have one major restriction:
    A dynamic proxy implements interfaces and thus can only be casted to one of these interfaces.
    So what can I do if I need a proxy on class instances which do not implement any interface?
    I have read a few older threads dealing with this problem, but I couldn't find any satisfying solution.
    There where some ideas of runtime creation of byte code and creating classes from it.
    Another way would possibly be runtime compilation of dynamically created code.
    But aren't there any less cumbersome ways for implementation?
    Regards,
    Volker.

    The idea with the class loader sounds interesting. Although I would have to implement it in a way so that it creates proxies for all classes ever loaded into the JVM. What I am trying to prevent is the following:
    Let's say there is an object "secure" which needs access control and there is another object "caller"with a reference to a "proxy" object monitoring the "secure" instance.
    The initial creation of proxies would be no problem since the critical objects are stored in a object database where they can only be retrieved from by explicit query calls. Implementing my own query method allows me to exchange the result of the query with proxy objects which then are returned to the caller.
    Now "caller" invokes a method on proxy, let's say proxy.doSomething(this) and passes itself as a parameter to the call. Now let's assume "caller" is granted access to the method and the call is delegated to "secure".
    In the process of method execution a method of "caller" is invoked (e.g. the equals method to check if the passed parameter is contained in a Collection) which is possible since "caller" has been passed in as a parameter.
    Now the caller.equals(Object o) method could possibly recieve an unprotected instance of the secure object or any other unprotected object which requires access control via the parameter o.
    Thus I need some way to dynamically generate a proxy class for "caller" which monitors access to its methods and checks if there are any unprotected instances passed as parameters to it and then exchange these instances with another proxy object.
    This is exactly the reason why I need to generate proxies for arbitrary classes (not interfaces) dynamically.
    Trying to solve the problem with my own class loader would require me to create proxy objects for all classes, even those from the Java API. I am not sure if this effort pays. Anyway it would probably cause severe performance problems.
    Another solution would be dynamically subclassing objects and overwriting each method to perform security checks. But this is inconvenient since it is not guaranteed that i can subclass a given class and furthermore I couldn't prevent access to public fields which may exist.
    Perhaps there is another solution to the problem.

  • Include an in-memory jar file for JSR-199 compilation

    I want to compile a source file in memory, which requires a jar file that is also represented in memory. I used the JavaSourceFromString class recommended in the documentation for the class JavaCompiler and in a demo I found online that shows how to compile sources represented as String in memory. To represent the jar file, I used a similar trick to JavaSourceFromString:
    public class JarJavaFileObjectFromByteArray extends SimpleJavaFileObject {
       * The contents of this jar file.
      private final byte[] contents;
       * Constructs a new JarJavaFileObjectFromByteArray given the name and binary
       * contents of a jar file.
       * @param name the name of this jar file
       * @param contents the contents of this jar file
      public JarJavaFileObjectFromByteArray(String name, byte[] contents) {
        super(newURI(name), Kind.OTHER);
        this.contents = contents;
      ... // code not shown ensures that the URI returned from newURI is of the form,
          // for instance, bytes:///MathConstants.jar, if the name of the jar file is MathConstants.jar
      @Override
      public InputStream openInputStream() throws IOException {
        return new ByteArrayInputStream(contents);
    }However, I do not know how to alert the compiler that this jar file should be on the classpath. I tried this:
    List<String> options = Arrays.asList(" -classpath bytes:///MathConstants.jar ");
    CompilationTask task = compiler.getTask(null, fileManager, null, options, null, compilationUnits);but I get the following error when calling getTask:
    java.lang.IllegalArgumentException: invalid flag: -classpath bytes:///MathConstants.jarI assume there is some way to tell the compiler, "look at the MathConstants.jar file that I am storing in memory when searching the classpath", but I do not know how to do this. I assumed that the options parameter for getTask represents command-line flags that would be passed to the compiler if this were happening on the command line (such as "-cp .", which also does not work), but perhaps this assumption is wrong.

    Hi Bruce,
    I have a question regarding loading a jar file by the compiler to dynamically compile with a source file. I hope you can probably offer me an idea on what has been missing or wrong with the source codes I have written for my application.
    I am using Eclipse compiler to dynamically compile a class. In the class, I want it to make a reference to a jar file for compilation dynamically.
    Here is the source of a test class I wrote:
    import javax.servlet.http.HttpServlet;
    class MyServlet extends HttpServlet {
    }The import statement refers to the class javax.servlet.http.HttpServlet from the jar file C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0\\lib\\servlet-api.jar placed in the file system.
    In the method called compileClass (shown below), I used the path of the jar file to add to the option -classpath as you suggested.
         private static CompileClassResult compileClass(Writer out, String className, String classSource) {
              try {
                   JavaCompiler javac = new EclipseCompiler();
                   StandardJavaFileManager sjfm = javac.getStandardFileManager(null, null, null);
                   SpecialClassLoader scl = new SpecialClassLoader();
                   SpecialJavaFileManager fileManager = new SpecialJavaFileManager(sjfm, scl);
                   List<String> options = new ArrayList<String>();
                   options.addAll(Arrays.asList("-classpath", "C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0\\lib\\servlet-api.jar"));
                   List<MemorySource> compilationUnits = Arrays.asList(new MemorySource(className, classSource));
                   DiagnosticListener<JavaFileObject> diagnosticListener = null;
                   Iterable<String> classes = null;
                   if (out == null) {
                        out = new PrintWriter(System.err);
                   JavaCompiler.CompilationTask compile = javac.getTask(out, fileManager, diagnosticListener, options, classes, compilationUnits);
                   boolean res = compile.call();
                   if (res) {
                        //Need to modify the api to return an array of two elements - one classes and other bytecodes for all classes in the same class file.
                        return CompileClassResult.newInstance(scl.findClasses(), scl.findByteCodes());
              } catch (Exception e) {
                   e.printStackTrace();               
              return null;
         }I also extended the class ForwardingJavaFileManager as you suggested and have it delegated to the StandardJavaFileManager sent to the compiler mentioned in the method compileClass above. The extended class (called SpecialJavaFileManager) is as follows:
    public class SpecialJavaFileManager extends ForwardingJavaFileManager<StandardJavaFileManager> {
         private SpecialClassLoader xcl;
         public SpecialJavaFileManager(StandardJavaFileManager sjfm, SpecialClassLoader xcl) {
              super(sjfm);
              System.out.println("SpecialJavaFileManager");
              this.xcl = xcl;
         public JavaFileObject getJavaFileForOutput(Location location, String name, JavaFileObject.Kind kind, FileObject sibling) throws IOException {
              System.out.println("getJavaFileForOutput");
              MemoryByteCode mbc = new MemoryByteCode(name);
              xcl.addClass(name, mbc);
              return mbc;
         public Iterable<JavaFileObject> list(JavaFileManager.Location loc, String pkg, Set kinds, boolean recurse) throws IOException {
              System.out.println("list ");
            List<JavaFileObject> result = new ArrayList<JavaFileObject>();
            for (JavaFileObject f : super.list(loc, pkg, kinds, recurse)) {
                 System.out.println(f);
                result.add(f);
              return result;
    }I run the application and the result shows that it didn't load the jar file into the memory as expected. From the output (below) I got, it doesn't seem to invoke the method list(...) in the class SpecialJavaFileManager.
    SpecialJavaFileManager
    1. ERROR in \MyServlet.java (at line 1)
         import javax.servlet.http.*;
                ^^^^^^^^^^^^^
    The import javax.servlet cannot be resolved
    2. ERROR in \MyServlet.java (at line 3)
         class MyServlet extends HttpServlet {
                                 ^^^^^^^^^^^
    HttpServlet cannot be resolved to a typeWould you please let me know what has possibly be missing or wrong?
    Thanks.
    Jonathan
    Edited by: jonathanlam on Aug 10, 2009 6:47 PM

Maybe you are looking for

  • WebMethods 4.6 Integration with XI 3.0

    Hi, For my project, I am trying to integrate WebMethods 4.6 with XI 3.0 as a third party system. My installation of XI is: Netweaver 2004S PI Usage. One step required by WebMethods is registering the SLD with the WebMethods IntegrationServer. Registe

  • Sounds "sticking" in games and a question for Creat

    I'm not sure if this is the best place to do it but I'd like to kind of formally briing forward a bug in games that's not X-Fi dependent. I've had this happen with my Audigy 2 ZS and my Fatalty. I know this isn't anyone's fault but it's still quite a

  • MacBook Installation Issues!!!

    I have a MacBook with a 2.2 Ghz Core 2 Duo and 2 GB RAM. I recently tried to run Halo for Macintosh. Installation was fine until I got an error message that said: Bad Memory I/O. Yesterday I tried installing the driver for my Canon CanoScan 8800F Sca

  • Flashing "Finder Folder" and Question Mark on start up...

    I've been following the discussions on the question mark issue and yes, I have gone to the Apple sight and read all of the solutions and tried them. The machine is a G3 iBook 700mhz. I have reset PRAM, tried all the startup button pushing and even co

  • Can you connect 2 iPods at the SAME TIME to iTunes?

    I have a HUGE music library and I have 2 60 Gb iPods. I manage them manually. I'd like to connect them BOTH, AT THE SAME TIME , to make it easier to make sure they have totally different songs on each of them, and remembering is out of the question :