HowTo: Compilie JavaFX with Ant (without netbeans build-impl.xml)?

Howdy, see subject :)
Cheers!

Here's a cleaner solution....
1. Download and install the SDK on your machine
2. Copy the SDK installation files into your project (I copied c:\Program Files\JavaFX\javafx-sdk-1.0 to ./Resources/JavaFX/. in my project) - this is used for compilation only and not packaged with distro.
You might want to now uninstall the SDK for accurate testing
3. Configure Ant (as below).....
Since I put my JavaFX SDK in my project under ./Resources/JavaFX/javafx-sdk1.0 you will see this occur in the config below.
<?xml version="1.0"?>
<project name="MyJavaFXProject" default="compile" basedir=".">
  <path id="javafx.classpath">
        <fileset dir="./Resources/JavaFX/javafx-sdk1.0/lib">
            <include name="**/*.jar" />
        </fileset>
  </path>
  <taskdef classname="com.sun.tools.javafx.ant.JavaFxAntTask" name="javafxc">
        <classpath refid="javafx.classpath" />
  </taskdef>
  <target name="compile" depends="prepare" description="compile java and fx source">
        <javac srcdir="./Source/Java" destdir="./build/classes" includes="**/*.java"/>
        <javafxc srcdir="./Source/Java" destdir="./build/classes" includes="**/*.fx" executable="./Resources/JavaFX/javafx-sdk1.0/bin/javafxc.exe">
            <classpath refid="javafx.classpath" />
        </javafxc>
  </target>
  <target name="prepare" description="create build directory for compiler output">
    <mkdir dir="./build"/>
    <mkdir dir="./build/classes"/>
  </target>
  <target name="clean">
    <delete includeemptydirs="true">
      <fileset dir="build" includes="**/*"/>
    </delete>
  </target>
</project>Hope this helps someone, and p.s.... if you are a maven user.. perhaps you can repackage the JavaFX SDK and install it in a Maven repository.

Similar Messages

  • Two unexplained compile errors in build-impl.xml

    Hi, I am encountering two errors when trying to run my programs from NetBeans 6.0 (Run Main Project F6):
    ...\Java\Generics_1_0_0\nbproject\build-impl.xml:412: The following error occurred while executing this line:
        <!--
                    =================
                    EXECUTION SECTION
                    =================
                -->
        <target depends="init,compile" description="Run a main class." name="run">
            <j2seproject1:java>   <-------- HERE !!!
                <customize>
                    <arg line="${application.args}"/>
                </customize>
            </j2seproject1:java>
        </target>
        <target name="-do-not-recompile">
            <property name="javac.includes.binary" value=""/>
        </target>...\Java\Generics_1_0_0\nbproject\build-impl.xml:279: java.lang.ThreadDeath
        <target name="-init-macrodef-java">
            <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
                <attribute default="${main.class}" name="classname"/>
                <element name="customize" optional="true"/>
                <sequential>
                    <java classname="@{classname}" dir="${work.dir}" fork="true">         <------------- HERE
                        <jvmarg line="${run.jvmargs}"/>
                        <classpath>
                            <path path="${run.classpath}"/>
                        </classpath>
                        <syspropertyset>
                            <propertyref prefix="run-sys-prop."/>
                            <mapper from="run-sys-prop.*" to="*" type="glob"/>
                        </syspropertyset>
                        <customize/>
                    </java>
                </sequential>
            </macrodef>
        </target>Yet, when I Clean and Build Main Project (Shift+F11), I get no errors. I have been restructuring my application recently by creating several java library project and moving class files. Anybody knows what is happening? How can I solve this issue? Thanks !!

    The problem disappeared, I don't how and I don't know how...!!!

  • Build-impl.xml issue

    Had a working project but now the app will not deploy.
    I keep getting failures at the nbdeploy tag of the build-impl.xml file
    below:
    "<target name="run" depends="run-deploy,run-display-browser" description="Deploy to server and show in browser."/>
    <target name="run-deploy" depends="jsCreatorDist">
    <nbdeploy debugmode="false" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}"/>
    </target>
    it says "Application WebDemo is already deployed on other targets."
    Anyone have any idea?

    I had the same problem when building and deploying a project with NetBeans IDE. As I found it is a problem about web.xml ant context.xml files. I modified context.xml as i added antiJARLocoking ="true". And I found multiple declarations for some servlets in web.xml and removed them.
    May be these help you.

  • Build-impl.xml Wscompile cannot be found

    I have my webservice working fine when I run it thru Netbeans and the Sun server. When I try using tomcat I get the error:
    build-impl.xml:281 taskdef class com.sun.xml.rpc.tools.ant.Wscompile cannot be found.
    I tried including:
    jaxrpc-impl.jar which is where the wscompile exists, but I still got the same error. What am I missing here?

    You'll need to add jaxrpc-impl.jar to your
    classpath.
    You can find it under %JWSDP_HOME%\jaxrpc\lib
    If you haven't got JWSDP then try
    http://java.sun.com/webservices/downloads/webservicesp
    ack.htmlhello...
    i want to add jaxepc-impl.jar to classpath.
    i got the same problem.
    i check the user variable c:\sun\jwsdp-1.6\jwsdp_shared\bin;c:\sun\jwsdp-1.6\jwsdp_shared\bin
    have been there.
    but still the same error appear in the netbeans.
    i hope can't get the one-by-one steps guidelines from u.
    thanks

  • Error build-impl.xml:577:

    i using netbeans 6.8 and while running my program an error "build-impl.xml:577: The module has not been deployed" occured . my web.xml file is shown below
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
        <context-param>
            <param-name>no</param-name>
            <param-value>100203231982381</param-value>
        </context-param>
        <servlet>
            <servlet-name>servlet1</servlet-name>
            <servlet-class>servlet1</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>listener</servlet-name>
            <servlet-class>listener</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>servlet1</servlet-name>
            <url-pattern>/s1</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>listener</servlet-name>
            <url-pattern>/l1</url-pattern>
        </servlet-mapping>
        <listener>
            <listener-class>listener</listener-class>
        </listener>    
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
    </web-app>i m trying to use context parameter in my servlets there are two servlets one is listener.java which implements ServletContextListener another is servlet1.java i dont undertand the error everything is fine in both the files plz help me

    The <servlet-class> tag should contain the fully qualified name of the Servlet eg "com.something.Servlet1"
    If they are in the default package you may want to move them to avoid any unexpected behaviour - link explains:
    http://faq.javaranch.com/java/PackageYourBeans
    m

  • How to compile swf with ANT en ASC 2.0?

    He All,
    I used to compile a swf in Flash builder with this antscript below. But mxmlc in not supported anymore. Any idea how to compile the swf with ASC 2.0?
    <target name="compile.apple" depends="clean.apple">
      <echo message="Compiling swf"/>
      <mxmlc file="${app.projectfile}" output="${app.rootfile}" optimize="true" configname="airmobile" debug="false">
      <load-config filename="${app.rootdir}/resources/ant/build.config"/>
      <source-path path-element="${flex.sdkPath}/frameworks"/>
      <source-path path-element="${app.sourcedir}"/>
      <source-path path-element="${app.rootdir}/libs"/>
      <static-link-runtime-shared-libraries/>
      <compiler.library-path dir="${flex.sdkPath}/frameworks" append="true">
      <include name="libs/*" />
      </compiler.library-path>
      <arg line="-swf-version=17" />
      <arg line="-define=CONFIG::debug,false" />
      <arg line="-define=CONFIG::device,true" />
      <arg line="-define=CONFIG::local.false" />
      <compiler.library-path dir="${app.rootdir}" append="true">
      <include name="libs/*" />
      </compiler.library-path>
      </mxmlc>
      </target>

    He Peter,
    Thanks for your reply. I've made some steps, but still no perfect solution. I've managed to compile a swf with ant using only the AIR SDK.
    But, check these results
    - Compiled using Flash Builder release : 455 kb
    - Compiled with ant using mxmlc : 104 kb
    - Compiled with ant using compc : 139 kb
    Can you provide us an example, how to compile a swf using ant. For example, with an AIR mobile project.
    Thanks Peter.
    Tim.

  • HOWTO: Use BC4J With or Without DB Triggers

    This HowTo describes how to use BC4J, database sequences and triggers
    and what are the ramifications.
    INTRODUCTION
    BC4J has the ability to work with database sequences in order to obtain a
    unique value when inserting records. BC4J also has the ability to
    work either with a 'before insert' trigger which automatically creates
    a new unique value for the primary key or without a trigger. When not using
    a database trigger, BC4J also has the ability to obtain the sequence value
    and set the primary key value.
    Before discussing the ramifications of using one approach or the other, let's
    show examples of how to use both approaches:
    BC4J & sequences WITH a database trigger
    and
    BC4J & sequences WITHOUT a database trigger
    HOWTO DEMONSTRATION STEPS
    To illustrate both scenarios a simple database setup script is provided which
    creates two tables:
    CUSTOMER_NT which DOES NOT have a before insert trigger and
    CUSTOMER_WT which DOES have a trigger.
    Database Install Script:
    <code>
    drop trigger customer_insert_trigger;
    drop table customer_wt;
    drop table customer_nt;
    drop sequence customer_wt_seq;
    drop sequence customer_nt_seq;
    create sequence customer_wt_seq start with 1;
    create sequence customer_nt_seq start with 101;
    create table customer_wt(
    id number,
    name varchar2(30),
    constraint
    customer_wt_pk
    primary key (id)
    create table customer_nt(
    id number,
    name varchar2(30),
    constraint
    customer_nt_pk
    primary key (id)
    prompt Inserting data...
    insert into customer_wt (id, name)
    values (customer_wt_seq.nextval, 'Mickey');
    insert into customer_wt (id, name)
    values (customer_wt_seq.nextval, 'Goofy');
    insert into customer_nt (id, name)
    values (customer_nt_seq.nextval, 'Daffy');
    insert into customer_nt (id, name)
    values (customer_nt_seq.nextval, 'Porky');
    commit
    prompt Creating trigger
    create trigger customer_insert_trigger
    before insert on customer_wt for each row
    begin
    select customer_wt_seq.nextval into :new.id from dual ;
    end;
    </code>
    The next step is to create the DEFAULT Entity Objects and View Objects using
    the Business Components Wizard.
    USING BC4J WITH A DATABASE TRIGGER
    Let's modify the entity object CustomerWt so it can use the database trigger.
    Edit the entity object CustomerWt by right-clicking in the navigator.
    Click on the 'Attribute Settings' tab and edit the ID attribute.
    - Uncheck 'Mandatory'checkbox. This allows you to insert without a value for the primary key
    - Check 'Refresh after Insert'. This obtains the value from the database generated by the trigger.
    - Check 'Updateable While New'. Id is only updateable when inserting.
    Click finish to complete the wizard. Save all and recompile the project.
    Now let's test our work.
    In the navigator right-click the application module and select 'Test..'. This will launch
    BC4J's built in tester. Connect to the application.
    In the tester double-click the CustomerWtView view object to run a test edit form.
    After the edit form renders, navigate through the existing records using the navigate
    buttons on the edit form. Now let's insert a record to execute the trigger.
    click on the '+' button to insert a record. Enter a value in the 'Name' field and commit the change.
    Observe that a new value has automatically been inserted into the Id field.
    That's it! You have successfully used BC4J and a database trigger.
    Now let's try it without a trigger..
    USING BC4J WITHOUT A DATABASE TRIGGER
    Now edit the entity object CustomerNT so it doesn't need a database trigger.
    Similar to before, edit the entity object CustomerNt by right-clicking in the navigator.
    Click on the 'Attribute Settings' tab and edit the ID attribute.
    - Uncheck 'Mandatory'checkbox.
    - Check 'Updateable While New'.
    An additional step is also required. The Create method will have to be modified to extract
    the value of the sequence.
    In the Edit EntityObject Wizard click the Java tab and select Create method and click Finish.
    The create method is generated in your Java fil e. In the Workspace view of the Navigator,
    expand the CustomerNt entity object in the navigator. Double-click
    CustomerNtImpl.java to open it in the Source Editor. In the Structure pane, double-click
    create(AttributeList). Modify the Create method so it looks like this:
    <code>
    public void create(AttributeList attributeList) {
    super.create(attributeList);
    SequenceImpl s = new SequenceImpl("customer_nt_seq", getDBTransaction());
    Integer next = (Integer)s.getData();
    setId(new Number(next.intValue())); }
    </code>
    Save and compile the project.
    Now test the ViewObject CustomerNtView using the tester as before.
    In the edit form of CustomerNTView click on the '+' to insert a record. Observe that
    just as before a new value has automatically been inserted in the ID field!
    TO USE A DB TRIGGER OR NOT TO USE A DB TRIGGER.
    Using a Database trigger sometimes preferable if you have non BC4J applications
    also sharing the database. In this case it is still safest to just let the database
    update it's own primary keys.
    If you don't have any other non-BC4J applications sharing the database, then not using
    a database trigger is perfectly acceptable and can have slightly better performance.
    The important thing to remember is that the option is yours to use either approach!
    null

    Thank you for the reply Jonathon. I am using a ViewObject which
    consist of several tables. I haven't tried the DB trigger
    approach but just using the BC4 approach in overriding the
    create method.
    Here is the parent class create as a part of the
    FasNameImpl.java file which does the job correctly.
    public void create(AttributeList attributeList) {
    super.create(attributeList);
    SequenceImpl l_seq = new SequenceImpl
    ("SEQ_CUSTOMER_ID",getDBTransaction());
    Integer l_next = (Integer)l_seq.getData();
    setCustomerId(new Number(l_next.intValue()));
    This is when I triedpassing the value to the child table. But I
    can't figure it out. I think the link is working fine if I had a
    ViewLink deployed but it doesn't look like it's doing the job
    for ViewObject.
    I am trying to call the childclass.method
    (FasCustomer.setCustomerId(l_next);
    But I am getting error.
    Thanks a lot for your suggestions,
    Kamran
    703 696 1121

  • IOS develop with or without Interface builder?

    I was always taught to do without the graphical tools, but it is used in all tutorials. I've always written the code necessary for each program. As I am a beginner with developing for iOS, I would like to know if I have to get used to using IB or not.
    thanks to all
    Gabriele

    Thank you very much Michael,
    I really wanted to know this.
    good day.

  • Compile .rdf with out reports builder

    Can someone please let me know if i can compile a .rdf report without reports builder, if possible can you provide me syntax to compile it.

    Hi,
    If you are using Oracle 6i, then check whether the file RWCON60 exists or not. If it exists then create a batch file with the following code in the report file's directory, and run the batch file.
    Echo compiling Report .....
    for %%f IN (*.rdf) do <file_path>\RWCON60 userid=<user_name>/<password>@<connection_string> batch=yes source=%%f stype=rdffile DTYPE=REPFILE OVERWRITE=yes logfile=log.txt
    ECHO FINISHED COMPILINGRegards,
    Manu.
    If my response or the response of another was helpful, please mark it accordingly

  • Java EE tutorial, problem with ANT populating database

    Hi!
    I have followed the instructions in the Java EE tutorial to set up the enviroment but when I execute the command "ant create tables" I get this output:
    C:\javaeetutorial5\examples\web\bookstore1>ant create-tables
    Buildfile: build.xml
    -pre-init:
    init:
    check:
    tools:
    start-db:
    BUILD FAILED
    C:\javaeetutorial5\examples\bp-project\app-server-ant.xml:140: The directory you specified does not existI have changed in the build.properties file to this:
    # The SDK's default installation on Windows is c:/Sun/SDK
    # The Application Server's default installation on Windows is
    # c:/Sun/AppServer
    javaee.home=C:\Sun\SDK
    javaee.tutorial.home=C:\javaeetutorial5
    # machine name (or the IP address) where the applications will be deployed.
    javaee.server.name=localhost
    # port number where the app-server is accessed by the users
    javaee.server.port=8080
    # port number where the admin server of the app-server is available
    javaee.adminserver.port=4848
    # Uncomment the property j2ee.server.username,
    # and replace the administrator username of the app-server
    javaee.server.username=admin
    # Uncomment the property j2ee.server.passwordfile,
    # and replace the following line to point to a file that
    # contains the admin password for your app-server.
    # The file should contain the password in the following line:
    # AS_ADMIN_PASSWORD=adminadmin
    # Notice that the password is adminadmin since this is
    # the default password used by the glassfish app-server installation.
    javaee.server.passwordfile=${javaee.tutorial.home}\examples\common\admin-passwo rd.txt
    appserver.instance=server
    # Uncomment and set this property to the location of the browser you
    # choose to launch when an application is deployed.
    # On Windows and Mac OS X the default browser is used.
    #default.browser=\Applications\Firefox.app\Contents\MacOS\firefox-bin
    # Database vendor property for db tasks
    db.vendor=javadb
    # Digital certificate properties for mutual authentication
    keystore=${javaee.tutorial.home}\examples\jaxws\simpleclient-cert\support\clien t_keystore.jks
    truststore=${javaee.home}\domains\domain1\config\cacerts.jks
    keystore.password=changeit
    truststore.password=changeitAny idea which directory the error refers to?
    I�m using Netbeans 5.5 and have a connection to my local mysql database.

    Ok, this is the build.xml from bookstore1:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- You may freely edit this file. See commented blocks below for -->
    <!-- some examples of how to customize the build. -->
    <!-- (If you delete it and reopen the project it will be recreated.) -->
    <project name="bookstore1" default="default" basedir=".">
        <description>Builds, tests, and runs the project bookstore1.</description>
        <property name="is.war.module" value="true" />
        <property name="uses.db.sql.file" value="true"/>
        <path id="common.jars">
            <filelist dir="../bookstore" files="build.xml"/>
        </path>
        <macrodef name="iterate">
            <attribute name="target"/>
            <sequential>
                <subant target="@{target}" failonerror="false">
                    <buildpath refid="common.jars"/>
                </subant>
            </sequential>
        </macrodef>
        <import file="../../bp-project/main.xml" />
        <target name="-pre-deploy" unless="netbeans.home">
            <antcall target="create-tables"/>
        </target>
        <target name="-pre-compile" unless="netbeans.home" depends="init,build-common,copy-common-jars"/>
        <target name="build-common" unless="netbeans.home" depends="init">
            <iterate target="default"/>
        </target>
        <target name="copy-common-jars" unless="netbeans.home" depends="init">
            <mkdir dir="${build.web.dir}/WEB-INF/lib"/>
            <copy file="${reference.bookstore.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
        </target>
    </project>And the build.xml in bookstore looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- You may freely edit this file. See commented blocks below for -->
    <!-- some examples of how to customize the build. -->
    <!-- (If you delete it and reopen the project it will be recreated.) -->
    <project name="bookstore1" default="default" basedir=".">
        <description>Builds, tests, and runs the project bookstore1.</description>
        <property name="is.war.module" value="true" />
        <property name="uses.db.sql.file" value="true"/>
        <path id="common.jars">
            <filelist dir="../bookstore" files="build.xml"/>
        </path>
        <macrodef name="iterate">
            <attribute name="target"/>
            <sequential>
                <subant target="@{target}" failonerror="false">
                    <buildpath refid="common.jars"/>
                </subant>
            </sequential>
        </macrodef>
        <import file="../../bp-project/main.xml" />
        <target name="-pre-deploy" unless="netbeans.home">
            <antcall target="create-tables"/>
        </target>
        <target name="-pre-compile" unless="netbeans.home" depends="init,build-common,copy-common-jars"/>
        <target name="build-common" unless="netbeans.home" depends="init">
            <iterate target="default"/>
        </target>
        <target name="copy-common-jars" unless="netbeans.home" depends="init">
            <mkdir dir="${build.web.dir}/WEB-INF/lib"/>
            <copy file="${reference.bookstore.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
        </target>
    </project>And the main.xml in \bp-projects looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Copyright 2005-2006 Sun Microsystems, Inc.  All rights reserved.  You may not modify, use, reproduce, or distribute this software except in compliance with the terms of the License at:
    http://developer.sun.com/berkeley_license.html
    $Id: main.xml,v 1.2 2006/04/12 17:20:13 ie139813 Exp $ -->
    <!-- main.xml: this is the file that should be included by the project
         build files. It will figure out whether it is running from inside Netbeans
         or command line and include appropriate tasks.
         @Author: Inderjeet Singh -->
    <project name="main" default="dummy-default">
      <property file="build.properties"/>
      <property value="1.5" name="default.javac.source"/>
      <property value="1.5" name="default.javac.target"/>
      <condition property="common-ant-tasks-file"
              value="${ant.file}/../nbproject/build-impl.xml"
              else="${ant.file.main}/../command-line-ant-tasks.xml">
        <and>
        <isset property="netbeans.home"/>
        <available file="${ant.file}/../nbproject/build-impl.xml"/>
        </and>
      </condition>
      <import file="${common-ant-tasks-file}"/>
      <target name="dummy-default"/>
    </project>

  • I have problems with WS in NetBeans IDE

    HI ALL!
    Duiring the compilation of web application including webServise i have a problem.
    Illustrated:
    wscompile-init:
    D:\projects\tests\test\nbproject\build-impl.xml:226: taskdef class com.sun.xml.rpc.tools.ant.Wscompile cannot be found
    BUILD FAILED (total time: 0 seconds)And the string of file build.xml
    <target name="wscompile-init" depends="init">
            <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile" classpath="${wscompile.classpath}"/>
            <taskdef name="wsclientuptodate" classname="org.netbeans.modules.websvc.core.ant.WsClientUpToDate" classpath="${wsclientuptodate.classpath}"/>
    I have the NetBeans IDE 4.1 and JDK 1.5.0_5.
    Help me, please!

    I have similar problem with NetBeans 5.0 beta when I tried to create a simple web service.
    From the Project View, under the hierarchy
    ---- Libraries
    right click and Add Libraries
    add the JAX-RPC 1.6 (which netbeans point to "c:\netbeans-5.0beta\ide6\modules\ext\jaxrpc16\*.jar"
    Press Ctrl+2 or Window|File to go to File View,
    open the file under the hierarchy
    --- nbproject
    +- project.properties
    originally it was
    javac.classpath=\
    ${libs.jaxrpc16.classpath}
    wscompile.classpath=${wscompile.tools.classpath}:${j2ee.platform.wscompile.classpath}
    I changed it to
    wscompile.classpath=${wscompile.tools.classpath}:${j2ee.platform.wscompile.classpath}:${libs.jaxrpc16.classpath}

  • FlexUnit4SampleCIProject will not build for me with build.air.xml

    I have I6 of Burrito. I downloaded the FlexUnit4SampleCIProject and followed set-up instrucitons on this page:
    http://docs.flexunit.org/index.php?title=Ant_Task
    When I leave in all the default source and run it using:
    ant -v -f build.air.xml clean package
    it goes for awhile and then fails with a:
    BUILD FAILED
    /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/build .air.xml:65: Could not create application descriptor
    What am I doing wrong? Here is the full log from terminal on my Mac running Snow Leopard with ant 1.8:
    admin-MacBookPro:FlexUnit4SampleCIProject brantner$ ant -v -f build.air.xml clean package
    Apache Ant version 1.8.1 compiled on September 21 2010
    Buildfile: /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/buil d.air.xml
    Detected Java version: 1.6 in: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    Detected OS: Mac OS X
    parsing buildfile /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/buil d.air.xml with URI = file:/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject /build.air.xml
    Project base dir set to: /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject
    parsing buildfile jar:file:/usr/share/java/ant-1.8.1/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/java/ant-1.8.1/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
    [property] Loading Environment env.
    Build sequence for target(s) `clean' is [clean]
    Complete build sequence is [clean, init, compile, test, package, ]
    clean:
       [delete] Deleting directory /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/targ et
       [delete] Deleting directory /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/targ et/bin
       [delete] Deleting directory /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/targ et/dist
       [delete] Deleting directory /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/targ et/report
       [delete] Deleting directory /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/targ et
    Build sequence for target(s) `package' is [init, compile, test, package]
    Complete build sequence is [init, compile, test, package, clean, ]
    init:
        [mkdir] Created dir: /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/targ et
        [mkdir] Created dir: /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/targ et/bin
        [mkdir] Created dir: /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/targ et/report
        [mkdir] Created dir: /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/targ et/dist
    compile:
        [mxmlc] Loading configuration file /Applications/Adobe Flash Builder 4.5/sdks/4.5.0/frameworks/flex-config.xml
        [mxmlc] Required RSLs:
        [mxmlc]     framework_4.5.0.20135.swf with 1 failover.
        [mxmlc]     textLayout_2.0.0.232.swf with 1 failover.
        [mxmlc]     spark_4.5.0.20135.swf with 1 failover.
        [mxmlc]     sparkskins_4.5.0.20135.swf with 1 failover.
        [mxmlc]     mx_4.5.0.20135.swf with 1 failover.
        [mxmlc] /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/targ et/bin/Main.swf (63438 bytes)
    test:
    [flexunit] Validating task attributes ...
    [flexunit] Generating default values ...
    [flexunit] Using the following settings for compilation:
    [flexunit]     FLEX_HOME: [/Applications/Adobe Flash Builder 4.5/sdks/4.5.0]
    [flexunit]     player: [air]
    [flexunit]     sourceDirectories: ["/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/sr c/main/flex"]
    [flexunit]     testSourceDirectories: ["/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/sr c/test/flex"]
    [flexunit]     libraries: ["/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/li bs/flexunit-aircilistener-4.1.0.swc","/Users/brantner/Documents/burrito/flexunit-flexunit- d3a56a1/FlexUnit4SampleCIProject/libs/flexunit-cilistener-4.1.0.swc","/Users/brantner/Docu ments/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/libs/flexunit-core-flex-4 .1.0.swc","/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIPr oject/libs/flexunit-uilistener-4.1.0.swc"]
         [null] Executing '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java' with arguments:
         [null] '-jar'
         [null] '/Applications/Adobe Flash Builder 4.5/sdks/4.5.0/lib/mxmlc.jar'
         [null] '--version'
         [null]
         [null] The ' characters around the executable and arguments are
         [null] not part of the command.
         [null] Output redirected to property: SDK_VERSION
    [flexunit] Found SDK version: 4
    [flexunit] Created test runner at [/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/tar get/bin/TestRunner.mxml]
    [flexunit] Compiling test classes: [org.flexunit.demo.EchoPanelTest, org.flexunit.demo.SampleTest]
    [flexunit] Executing '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java' with arguments:
    [flexunit] '-Xmx256M'
    [flexunit] '-jar'
    [flexunit] '/Applications/Adobe Flash Builder 4.5/sdks/4.5.0/lib/mxmlc.jar'
    [flexunit] '+flexlib'
    [flexunit] '/Applications/Adobe Flash Builder 4.5/sdks/4.5.0/frameworks'
    [flexunit] '+configname=air'
    [flexunit] '-output'
    [flexunit] '/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/tar get/bin/TestRunner.swf'
    [flexunit] '-source-path'
    [flexunit] '/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/src /main/flex'
    [flexunit] '/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/src /test/flex'
    [flexunit] '-library-path+=/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4Samp leCIProject/libs/flexunit-aircilistener-4.1.0.swc'
    [flexunit] '-library-path+=/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4Samp leCIProject/libs/flexunit-cilistener-4.1.0.swc'
    [flexunit] '-library-path+=/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4Samp leCIProject/libs/flexunit-core-flex-4.1.0.swc'
    [flexunit] '-library-path+=/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4Samp leCIProject/libs/flexunit-uilistener-4.1.0.swc'
    [flexunit] '-headless-server=true'
    [flexunit] '/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/tar get/bin/TestRunner.mxml'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
         [null] Error redirected to property: MXMLC_ERROR
         [null] Loading configuration file /Applications/Adobe Flash Builder 4.5/sdks/4.5.0/frameworks/air-config.xml
         [null] /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/targ et/bin/TestRunner.swf (491869 bytes)
    [flexunit] Using the following settings for the test run:
    [flexunit]     FLEX_HOME: [/Applications/Adobe Flash Builder 4.5/sdks/4.5.0]
    [flexunit]     haltonfailure: [false]
    [flexunit]     headless: [false]
    [flexunit]     display: [99]
    [flexunit]     localTrusted: [true]
    [flexunit]     player: [air]
    [flexunit]     port: [1024]
    [flexunit]     swf: [/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/tar get/bin/TestRunner.swf]
    [flexunit]     timeout: [60000ms]
    [flexunit]     toDir: [/Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/tar get/report]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
         [null] Executing '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java' with arguments:
         [null] '-jar'
         [null] '/Applications/Adobe Flash Builder 4.5/sdks/4.5.0/lib/adt.jar'
         [null] '-version'
         [null]
         [null] The ' characters around the executable and arguments are
         [null] not part of the command.
         [null] Output redirected to property: AIR_VERSION
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    BUILD FAILED
    /Users/brantner/Documents/burrito/flexunit-flexunit-d3a56a1/FlexUnit4SampleCIProject/build .air.xml:65: Could not create application descriptor
        at org.flexunit.ant.launcher.commands.player.AdlCommand.createApplicationDescriptor(Unknown Source)
        at org.flexunit.ant.launcher.commands.player.AdlCommand.prepare(Unknown Source)
        at org.flexunit.ant.launcher.contexts.DefaultContext.start(Unknown Source)
        at org.flexunit.ant.tasks.TestRun.run(Unknown Source)
        at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        at org.apache.tools.ant.Main.runBuild(Main.java:801)
        at org.apache.tools.ant.Main.startAnt(Main.java:218)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    Total time: 18 seconds
    admin-MacBookPro:FlexUnit4SampleCIProject brantner$
    Thanks,
    Brian

    Mean the one for i6.. we monitor that as well.
    Or just reach out to me offline:
    my last name at digitalprimates dot net
    Mike

  • Problems with JDK and NetBeans

    Hi, I've just started to learn java and I'm having some problems to compile projects. I installed JDK 1.5.0 (with NetBeans 4.0 beta 2), but when I try to compile any program (including the sample ones) I get the following error message:
    C:\Documents and Settings\F�bio\JavaApplication2\nbproject\build-impl.xml:34: java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
    Anyone knows what might be happening?
    By the way, I've already tried to reinstall the whole package (removing everything first), but it didn't help. Also, before installing this version I was using JDK 1.4.2 just fine, but now none will work .
    Thanks in advance

    I'll try that!
    By the way, I tried commenting out that line in the xml file and it worked! Still I have to do this to every new project I create, but it's a work-around =D
    Thanks for your help

  • Compile build.xml with Ant for web service with annotations

    Hi Friends,
    I have a web service with annotations, using javax.annotation.PostConstruct, and javax.annotation.PreDestroy.
    I have a build.xml to create a EAR for this web service.
    When I run the ant task, the build complete successfully but the .war file cannot be deployed on the WLS server. Taking a closer look, I see that the required files such as, webservices.xml, weblogic.xml, weblogic-webservices.xml, Provision.wsdl files are not generated.
    Following is the build.xml file:
    <?xml version="1.0" encoding="windows-1252" ?>
    <project default="jwsc">
    <property file="build.properties"/>
    <property name="weblogic.jar.classpath"
    value="C:/bea_jDev/wlserver_10.3/server/lib"/>
    <property name="oimclient.jar.classpath"
              value="C:/_data/Project_Dc/OIM_jars" />
         <property name="com.jar.classpath" value="C:/JDeveloper/mywork/Service_Test/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="**/*.jar"/>
    </fileset>
    </path>
    </classpath>
    </taskdef>
    <target name="all" depends="clean,build-service,deploy"></target>
    <target name="build-service">
         <jwsc srcdir="${src.home}" destdir="ear_directory" >
    <classpath>
    <path id="oim.classpath">
    <pathelement path="OIM_HOME"/>
    <fileset dir="${oimclient.jar.classpath}">
    <include name="**/*.jar"/>
    </fileset>
    <fileset dir="${com.jar.classpath}">
    <include name="**/*.jar"/>
    </fileset>
    </path>
    </classpath>
    <jws file="${jws.home}" type="JAXWS" />
    </jwsc>
    </target>
    <target name="deploy">
    <!--add wldeploy task here -->
    </target>
    <target name="clean">
    <delete dir="output" />
    </target>
    </project>
    Can you please point out what else is to be done and where exactly am I going wrong in writing the build.xml file.
    Let me know if some else information is required.

    This is what I get when I run the ant task:
    Buildfile: C:\JDeveloper\mywork\ProvisioningService_Test2\Provision\resource\build.xml
    build-service:
    [jwsc] JWS: processing module /com/fox/provision/webservice/endpoint/impl/ProvisionEndPointImpl
    [jwsc] Parsing source files
    [jwsc] Parsing source files
    [jwsc] 1 JWS files being processed for module /com/.../provision/webservice/endpoint/impl/ProvisionEndPointImpl
    [jwsc] [JAM] Warning: failed to resolve class org.apache.xmlbeans.XmlObject
    [jwsc] [JAM] Warning: failed to resolve class com.bea.xml.XmlObject
    [jwsc] [JAM] Warning: failed to resolve class javax.xml.rpc.holders.Holder
    [jwsc] JWS: C:\..\...\..\...\code\ProvisioningService\src\com\...\provision\webservice\endpoint\impl\..EndPointImpl.java Validated.
    [jwsc] Processing 1 JAX-WS web services...
    [jwsc] warning: Specified AnnotationProcessorFactory, 'com.sun.istack.ws.AnnotationProcessorFactoryImpl', not found on search path.
    warning: No annotation processors found but annotations present.
    2 warnings
    [jwsc] Compiling 2 source files to C:\DOCUME~1\....\LOCALS~1\Temp\_lsgijm
    [jwsc] Building jar: C:\..\...\..\...\code\ProvisioningService\src\com\...\provision\webservice\deploy\ear_directory\com\fox\provision\webservice\endpoint\impl\...EndPointImpl.war
    [jwsc] Created JWS deployment outputFile: C:\..\...\..\...\code\ProvisioningService\src\com\...\provision\webservice\deploy\ear_directory\....\...\provision\webservice\endpoint\impl\..EndPointImpl.war
    [jwsc] [EarFile] Application File : C:\..\...\..\...\code\ProvisioningService\src\com\.....\provision\webservice\deploy\ear_directory\META-INF\application.xml
    [AntUtil.deleteDir] Deleting directory C:\DOCUME~1\....\LOCALS~1\Temp\_lsgijm
    BUILD SUCCESSFUL
    Total time: 7 seconds
    Due to some limitations, I edited the path in the build.xml files.
    Please let me know what can be done. Thanks.
    Edited by: user9112073 on Nov 22, 2011 9:52 PM

  • Compiling Flash Builder Projects with ant - error

    I'm fairly new to FlashBuilder as well as using ant to build projects.
    I'm working on a project in FlashBuilder 4.5. I'm using a 3rd party SWC that contains an alchemy-compiled C application in the SWC. Building my entire project within FlashBuilder is working fine. However, due to other parts of the project (not imported into FlashBuilder) I need to build with ant on occasion.
    The Class specific to the C app within the SWC is throwing errors when building with ant - it says it can not find the source. I had one recommendation to look into adding/editing something within the build.xml file, but I don't know what that addition/edit would be.
    Any help appreciated.

    Apparently related to switching workspaces... the error log identifies a path to an old workspace I changed out of weeks ago. I created a new workspace and moved the project (just the source, etc, not the settings) into it. been running fine for a while now... though funny how this problem didn't show up until yesterday.

Maybe you are looking for

  • Cash Desk Receipt

    Hi Friends, I am working on generating cash desk receipts through FPCJ. But the data to be printed on the recei-pt will be coming from different tables/structures. I am almost done with that. The only thing i cannot find is that from which table/stru

  • Flash 8 Slide presentation

    Hello- I am using Flash 8 and a slide presnentation format. I am creating a computer based training module. I have buttons created that go back and forth through the slides of the whole presentation. How do I disable one of those buttons on a specifi

  • Sorry, the all-new Yahoo! Mail does not support your browser.

    Everytime I log into yahoo mail I get this message before proceeding to the e-mail screen. This has been going on for a long time now--as much as a few years, and I want to finally fix it.

  • Empty trash, finder not working

    I have a imac G5 w i sight. I just installed leopard and when it came to the reg screen on the internet. it could not find the internet, so i quit. now when i try and start the mac the screen comes up but "finder" not running. other programs run. I t

  • I have been using Pages for several years to do a newsletter. Now, suddenly they won't open.

    Cannot open documents in Pages.