Flex Ant tasks & lt; HTML-wrapper & gt; problem

I am BUILDING with SUCCESS and a SWF file, but no HTML wrapper. Any help is appreciated!


Apache Ant version 1.7.0 compiled on December 13, 2006
BuildFile: C:\Installs\MTCSEWorkspace\MTCSE_WebApp\flex-build.xml
parsing buildfile C:\Installs\MTCSEWorkspace\MTCSE_WebApp\flex-build.xml with URI = file:/C:/Installs/MTCSEWorkspace/MTCSE_WebApp/flex-build.xml
The value of the project base dir: C:\Installs\MTCSEWorkspace\MTCSE_WebApp
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. He could not be present.
Build sequences for target (s) 'wrapper' is [compiles, wrapper]
Complete sequence of construction is [compiles, wrapper,]
compile:
[mxmlc] C:\Installs\MTCSEStudio\Flex Builder 3 Plug-in\sdks\2.0.1\frameworks\flex-config.xml configuration file
[mxmlc] C:\Installs\MTCSEWorkspace\MTCSE_WebApp\target\MTCSE_WebApp/ValidValueTest.swf (592822 bytes)
envelope:
BUILD SUCCESSFULLY
Total time: 18 seconds

<? XML version = "1.0" encoding = "utf-8"? >
<! - flex - build.xml--->
"< name of project ="My App Builder"basedir =". ">
< property name = 'FLEX_HOME '.
value = "C:\Installs\MTCSEStudio\Flex Builder 3 Plug-in\sdks\2.0.1" / >
< property name = "ANT_HOME".
value = "C:\Installs\MTCSEStudio\eclipse\plugins\org. Apache.ant_1.7.0.v200706080842"/ >
< property name = "MTCSE_WebApp".
value = "C:\Installs\MTCSEWorkspace\MTCSE_WebApp" / >
< property name = "DEPLOY_DIR".
value = "C:\Installs\MTCSEWorkspace\MTCSE_WebApp\target\MTCSE_WebApp" / >
< taskdef resource = "flexTasks.tasks"
classpath="${ANT_HOME}/lib/flexTasks.jar" / >
< name target = 'hand' >
"< file="${MTCSE_WebApp}/flex_src/ValidValueTest.mxml mxmlc ".
Keep-generated-actionscript = 'false' output = "${DEPLOY_DIR} / ValidValueTest.swf" >
< load-config
filename="${FLEX_HOME}/frameworks/flex-config.xml" / >
< path-element source-path = "${FLEX_HOME}" / frameworks "/ >"
< / mxmlc >
< html-wrapper swf = "ValidValueTest."
output = "${DEPLOY_DIR}" / >
< / target >
< / project >

OK, on second inspection, index.html is generated. However, the file attribute is not supported.

Using the Ant movement job, I was able to accomplish what I wanted to do. Thank you!



output = "${DEPLOY_DIR}" / >

Tags: Flex

Similar Questions

  • Flex Builder 2 replaces HTML wrapper

    Hello world

    I pass values to my application using flashvars, that works pretty well. But Flash Bulder 2 overwrites the file wrapper html with the flashvars in each generation.

    If I turn off the "File wrapper from generate HTML" setting, then the wrapper will be not overwritten longer, but then I can't start in debug mode, which is terrible... Curiously, the Flex Builder tries to start the SWF with the Real Player and then (without packaging), which does not of course.

    Here my questions:
    How can I say Flex Builder 2 to transfer the flashvars in the wrapper html also to the wrapper that is located in the folder "/ bin"? After each generation, those who are crushed.

    How can I use my application in with active debug option "File wrapper from generate HTML" mode and by using existing html wrapper files, where my flashvars?

    I found out what I did wrong... here my answers to my questions to share with potential imitators ;)

    To change a html envelope that is created and updated Flex Builder, it is important to change the html-template/index.template.html, and not the index.html file located in the root of the project folder, since this will be replaced whenever a generation occurs.

    Flash vars in the html code should appear in the html section and in the JavaScript section, which will be used by default in the browser. To find the right place in the JS, just search for 'flashvars' and add the parameters to the values of this key.

  • Editing HTML wrapper in cc animate to full screen

    Hi all

    I have a problem with one of my projects, I create an interactive presentation using AS 3.0 and launch will take it full-screen. It works fine when I run the swf file, but according to my requirement, it should be published in the HTML wrapper, I tried the publication using the wrapper HTML option. Any reason when I run the html file mouseevents and some of the script action features do not work. If I remove the lines of script fullscreen it works fine. I don't know what could be the reason why I tried several ways but no luck. I used 'stage.displayState = StageDisplayState.FULL_SCREEN;  stage.scaleMode = StageScaleMode.NO_SCALE; " to get the mode full-screen. Can any body help on this please? It will be more useful for me. Thanks in advance!

    Note: Same layout, I created using Flash Pro CS5. Later, I upgraded to animate CC, and I made a few changes to the same file using Animate cc once I am facing this problem.

    Kind regards

    Shakur

    you want to:

    stage.displayState = "fullScreenInteractive";

  • JWSC ant task get java.lang.NoSuchMethodError

    Hi all
    I am trying to build a webservice with task ant JWSC JDK 1.6, which uses annotations TJS and a few specific annotations of weblogic.
    I get the following error while building.
    However, when I build my IDE (eclipse) it works fine.
    I tried to copy the libraries of eclipse and ran the build. But it did not work.
    one faced this problem and it is resolved? Please let me know your suggestions.

    I use weblogic 10.3 libraries to make web service.

    jwsctest:
    [jwsc] TJ: processing module /CaseStatusWebService

    BUILD FAILED

    java.lang.NoSuchMethodError: weblogic.wsee.tools.anttasks.DelegatingJavacTask$ ExposingJavac.getTempdir () Ljava/io/file;
    at weblogic.wsee.tools.anttasks.DelegatingJavacTask.getTempdir(DelegatingJavacTask.java:170)
    at weblogic.wsee.tools.anttasks.JwsModule.initialize(JwsModule.java:303)
    at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:252)
    at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:229)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)

    Thank you
    Sriram

    Sriram salvation,

    Before you run the Ant task you execute the following startup script?
    setWLSEnv.sh

    I found one of the customer knowledge base oracle facing the similar question like you and the issue is resolved after you run the setWLSEnv startup script.

    If the issue is still unresolved after trying the above suggestion, please attach the build.xml to this thread to see the same thing.

    Thank you
    Vijaya

  • Mosaic ANT task reference

    I am trying to create a file of building the application that should be used by bamboo (similar to Hudson).  Is there documentation for the ANT tasks mosaic?

    Thanks in advance!

    I think you're looking for this page:

    http://help.Adobe.com/en_US/enterpriseplatform/10.0/CAFServerTask/index.html

  • Suppress the output of the ANT task

    Is there a way I can remove all of the [flexPmd] INFO out of the ANT task?

    Thank you!

    Brian

    You can also specify you own logging configuration:

    http://Java.ociweb.com/mark/programming/JavaLogging.html

    HTH

    Xavier

  • How to save the changes to the HTML wrapper file?

    Hi all

    I'm working on the .swf file. I make a few changes to the HTML wrapper file, but the changes are saved in the file.

    Is there another way to do it?

    Thank you.

    Swati,

    Flex tends to auto-update the wrapper file that it generates, which is frustrating if you change, then your changes are lost. I usually make a second copy of this file in the src folder and change this one. Flex will then leave it as-is (since he never controlled) but it will be deployed to your bin-debug folder (or wherever your output goes).

    Richard

  • Keep the changes to the automatically generated html wrapper

    Hello

    In flex builder 3, I put in place of a wen app using an eternal interface to javascript.

    For dev and test that I just want to burst the JS generates functions on the page wrapper which Flex auto, but of course when I change the wrapper page get more written. How to stop the html page wrapper of regeneration each time.

    Thanks in advance
    Dean

    Thank you

    I also found that you can edit the index - template.html, inside the html-template folder. What you add to this template will be added to the automatically generated html wrapper.

    I added a few JS, iFrame and Flash Vars and they added for debugging and normal envelopes. Ideal for testing

    Thanks again

    Dean

  • Fail to create the web service with the type of data defined by the user using the jwsc Ant task!

    Hello everyone!

    I used JAXWS to create WSDL from a file of Jehovah's witnesses.

    It's my TJ:
    -----------------------------------------------------------------------------------
    package ws;

    Import javax.jws.WebService;
    Import javax.jws.WebMethod;
    ws import. MyDataType;

    *@WebService*
    * public class MyWebService {*}
    public MyWebService()
    *{*
    *}*
    *@WebMethod*
    public MyDataType MyWebMethod (MyDataType mdt)
    *{*
    * / / mdt.setS ("I got it!"); *
    return mdt;
    *}*
    *}*
    -----------------------------------------------------------------------------------


    and this is my type of data:
    -----------------------------------------------------------------------------------
    package ws;

    * public class MyDataType {*}


    String ^ s;
    public MyDataType()
    *{*

    *}*
    * public String getS() {*}
    return s;
    *}*

    * Sets public Sub (String s) {*}
    This.s = s;
    *}*
    *}*
    -----------------------------------------------------------------------------------



    and that's my Ant build.xml
    -----------------------------------------------------------------------------------
    * < by default of the project = "all" > *.
    * < property name = "weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/ > * "
    * < taskdef name = "jwsc" classname = "weblogic.wsee.tools.anttasks.JwscTask" > *.
    * < classpath > *.
    * < path id = "weblogic.classpath" > * "
    * < pathelement path = "WEBLOGIC_HOME" / >. *
    * < fileset dir = "${weblogic.jar.classpath}" > *.
    * < include name = "weblogic.jar" / > *.
    * < / fileset > *.
    * < / path > *.
    * < / classpath > *.
    * < / taskdef > *.
    * < target name = "all" depends = "clean, build-service" / > *.
    * < name target 'clean' = > *.
    * < delete dir = "output" / > *.
    * < / target > *.
    * < name target = 'build-service' > *.
    * <!-add jwsc and related tasks here - > *.
    * < jwsc srcdir = "" destdir = "wsoutput" > * "
    * < jws file = "MyWebService.java" type = "JAXWS" / > * "
    * < / jwsc > *.
    * < / target > *.
    * <!-< target name = "deploy" > - > <! - add wldeploy task here - > <!-< / target >-> *.
    * < / project > *.
    -----------------------------------------------------------------------------------

    I have run the Ant task, but I get this error:
    -----------------------------------------------------------------------------------
    BuildFile: build.xml

    clean:

    build service:
    [jwsc] TJ: processing module /MyWebService
    [jwsc] The analysis of source files
    [jwsc] The analysis of source files
    [jwsc] 1 TJS files processing for the module /MyWebService
    * [jwsc] [JAM] WARNING: could not resolve class MyDataType *.
    [jwsc] TJ: C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\MyWebService.java valid.
    [jwsc] Treatment of the web services JAX - WS 1...
    * [jwsc] error: couldn't get TypeDeclaration for: MyDataType apt tour: 1 *...
    ...................
    BUILD FAILED
    C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\build.xml:
    19: weblogic.wsee.tools.WsBuildException: JAX - WS web services processing error
    -----------------------------------------------------------------------------------

    Please help me solve this problem.
    Thank you
    Mojir

    I tried to compile your source code and received the same exception.
    However after compiling the MyDataType.java before running the jwsc task, I was successfully able to build the service.

    Please try the ant script below and let me know the result:

    **
    *     *
    *
    *



    <>
    srcdir = "${source.dir}" "

    DESTDIR = "${Build.dir} '"
    keepGenerated = 'true '.
    classpath = "${Class.Path} '"
    Debug = 'true '.
    verbose = "false" >

         


              

    Thank you
    Sandeep

  • How to use exportmap flag with ANT TASK

    Dear guy

    I use ant task to build my library card Java and Java Card applet. However, I don't know how to set the exportmap flag in ConverterTask.

    Can someone please help?

    P/S: I'm sure that exportmap is supported by ConverterTask

    See you soon and best regards,

    Jason

    Since the guide the user of Ant tasks in JCDK 2.2.2:

    ExportPath - directories root where the converter search for export files.
    ExportMap - if enabled, tells the converter to use the token mapping of the export file, predefined package under conversion. The converter will look for the export file in the exportpath.

    See you soon,.
    Shane

  • Line numbers in classfile TJS generated by the jwsc Ant task

    Does anyone know how to get the jswc ant task to add line number attributes to the class of TJS file it generates. When I try to use Eclipse to set a breakpoint in the code of service I get a pop up that States

    + "Cannot install the in breakpoint... due to the lack of line numbers attributes. Modify the compiler option to generate line number attributes ' + '.


    I looked at the documentation for jswc, and I don't see any options that can be passed to the java compiler.

    Karl

    Jwsc is door of Javac, so we can add the following options of the Ant:

    Debug = "true" debuglevel = 'source, vars, the lines '.

  • Is a html wrapper file must be in the same directory? Need advice

    I do a few experiments RnD for a next project and I would like to use Edge.

    What I'm trying to do is to load 2 different compsites in wrapper.html file which is the level above the compsites. For example, my setup is

    Project/wrapper.html

    Project/Product1/Product1.html

    Project/Product2/Product2.html

    In my wrapper file I have this, but it does not work

    <! DOCTYPE html >

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 ">"

    < meta http-equiv = "X-UA-Compatible" content = "IE = Edge" / >

    < title > Untitled < /title >

    <! - execution of adobe Edge - >

    < script type = "text/javascript" charset = "utf - 8" src = "product1/product1_edgePreload.js" > < / script > "."

    < style >

    .edgeLoad-EDGE-68005601 {visibility: hidden ;}}

    < / style >

    <! - end of Runtime adobe Edge - >

    < / head >

    < body style = "margin: 0;" padding: 0; ">

    < div id = 'Stage' class = "EDGE-68005601" >

    < / div >

    < / body >

    < / html >

    But when I move the wrapper.html file in the same directory as product1 and edit the .js path and it loads well? So my question is how people normally load several compsites who resided in another directory? What is the best method to fix this problem? If anyone can point me in the right direction please. Thanks in advance.

    You must update the new loction for even the product1_edge.js and the product1_edgeActions.js file in the product1_edgePreload.js file.

    Open the product1.edgePreload.js file.

    Search for "aloader.

    Under this, a ' load: 'product1_edge.js' ' it ' load: "product1/product1_edge.js" '

    and do the same for the product1_edgeActions.js file too.

    Bascially when you update the location of the edge preload files, you will need to update the location of animate it assets like the edge file actions of edge, images etc. All these file locations of work relative to the html file loading.

  • the Task Manager and closing of problems

    This week my computer (vista) has begun does not as it should be-two things:

    1. I can't open the Task Manager. When I try to open it, I get a small green icon in the lower right and that's all.

    2. when I click to shut down my computer, it goes to the "closure" of the screen image, with the circle of rotation timer and just gets stuck there.

    I did a search of viruses with this microsoft security scanner, which I did when reading the pages of help on Manager tasks said I may have a virus. This analysis, I've done was told that no virus, spyware, etc. were found.

    The only other thing I can think to do a defrag, for a general order is in place. What can I do? Any suggestions?

    Hello

    1. you remember to make changes to your computer before the problem?

    I suggest that you follow these steps and check if the problem persists.

    Step 1:

    Start your computer in safe mode and check if the problem persists.

    Step 2:

    If it works fine in safe mode, then there could be a third-party software, causing the issue to occur. I wish that you start your machine in a clean boot State. Clean boot helps eliminate conflicts of third party software.

    Note: Follow step 7 to your computer as usual.

    Step 3:

    Also perform the SFC scan to check whether the problem is related to the integrity of system files.

  • Computer does not work - task scheduler, free 32 bit problems Analyzer engine

    Hi guys,.

    I've seen this problem in several forums, but I think that my problem is slightly different. I turn on my computer, after which I get loads of different signs in this order:

    Task Scheduler engine has stopped working

    debugger analysis free 32 bit has stopped working

    Control Center Catalyst host has stopped working

    AND then a list of messages saying all my programs are shut down. I can't use any program and my computer then hangs.

    There was no harm to my computer until today. (I entered another of course), and it is only a year old, so I don't understand what goes wrong.

    I initially buy this Vista computer with a CD to upgrade to windows 7 and therefore no cd of windows vista. I tried the upgrade to windows 7 by doing a clean to get rid of this, install but it says that I don't have enough memory to do this (although the RAM in my computer is not overloaded and that my hard drive is empty)

    I'm a computer user quite amateur, so everything that concerns me - please could someone help me by giving me some simple instructions please?

    Turn off the DEP is not set in stone and can be reversed, you could try and see if it solves the problem, if he succeeds then at least you'll have a workaround solution to fall back on in case of emergency.

    As with any new installation of Windows 7, if drivers are available, you should be able to locate at HP by following the links on this page at HP driver.

    HP Pavilion dv6-1131ea Entertainment Notebook PC
    http://h10025.www1.HP.com/ewfrf/wc/product?cc=us&DLC=en&product=3947230&LC=en&JumpID=reg_R1002_USEN

    They also have a link to troubleshooting.

    A pilot and a CD Application cannot start, but may be called for (time) if any other provided or created Recovery CD is bootable and used first?  In other words, the first two-CD box set CD is bootable, and the second of such a set is not.

    If it was my decision I dump Vista and install Windows 7.  First of all, I would like to do as there are Windows 7 drivers available on the HP site.  Other equipment manufacturers that you attach also require Windows 7 drivers, for example, you could connect a printer of Canon or Epsom etc.

  • At Adobe fixd HTML CEP engine problem for Mac users?

    Hello

    I cancelled my cloud creative membership because of the CEP HTML engine burned my heatsink in my macbook pro. I would say this:

    Whenever I used a creative applications cloud my Macbook Pro Late 2014 edition was very hot and the fans would lead immediately. I thought nothing of it to start with as I am user of After Effects and Premiere Pro, I expected a lot of the CPU usage. It took a few weeks after getting creative cloud that I started using indesign and other applications and this problem happened again. I decided to look at my activity monitor there is Adobe CEP enginer program support html using 100% of my cpu power, and then everything else on top of that eventually meant that my macbook is dead.

    I disassembled my mac, and the radiator was completely fried. After repair my mac myself and all other programs works well I'm careful to again become creative cloud because of this problem.

    It has been fixed?

    Thank you

    You can get important information in the CPU high due to CEPHtmlEngine usage

    Concerning

    Stéphane

Maybe you are looking for