[svn] 3680: Modifying ant build.xml to allow for a local. properties for individual developer build config.

Revision: 3680
Author: [email protected]
Date: 2008-10-16 07:58:21 -0700 (Thu, 16 Oct 2008)
Log Message:
Modifying ant build.xml to allow for a local.properties for individual developer build config. Also moving ja_JP locale to the other.locales target (this is called during build machine packaging and isn't needed by dev by default).
QE: No
Doc: No
Checkintests: Pass
Reviewer: Discussed with Jim
Modified Paths:
flex/sdk/trunk/build.xml
flex/sdk/trunk/frameworks/projects/airframework/build.xml
flex/sdk/trunk/frameworks/projects/framework/build.xml
flex/sdk/trunk/frameworks/projects/rpc/build.xml

I tried
ant deployTestSuites
this works. If i do that with the wrong domain (dep_cotrol vs dep_me) name it fails with
ORABPEL-02052Cannot lookup BPEL domain.The BPEL domain "dep_cotrol" cannot be found; the domain may not have initialized properly.Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.
So i think my config is ok. There is a bug in this ant bpelTest which ignores the domain?

Similar Messages

  • Stack xml not allowing to update to SPS04 for solman 7.1

    We are currently running solman 7.1 SPS02.
    We want to update to SPS04.
    Here is the procedure we did for this.
    -Downloaded support packs using maintanance optimizer(of SMP) for
    system SMD.
    -Copied java support packs in EPS/in directory
    -Extracted and copied ABAP support package in EPS/in directory.
    -Extracted stack xml file from EPS/in directory.
    Now when we try to update ABAP stack using SAINT, after supplying stack
    xml, we find following information message and no support package gets
    displayed/selected in the queue.
    "The loaded stack configuration does not fit to the
    current system state"
    We tried using following xml files:
    -Genereated during maintanance transaction and kept in EPS/in
    -By saving xml files from maintainance transaction
    -Generated xml file from service market place using SPS02 source and
    SPS04 as target
    in all above cases, we get the same aforementioed error message.
    Anyone has any idea or faced similar issue?
    Regards,
    Nishit Padhya

    Hi Nishit,
    Please kindly refer the SAP Note 1302772 or the following SDN link for
    more information:
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16746
    When you use the SAPEHPI tool to install support pack stacks, this
    will require the stack.xml generated by MOPZ.
    Thanks
    Regards,
    Vikram

  • How do you allow access to Page Properties for a page via Permissions.

    I've been trying to figure out how to setup permissions for a user or group to allow them to have access to the Page Properties dialog and view it's contents.
    So far the user/group in question has read/modify/create/delete access to the entire /content/<site_name>.  These people can right click on a page in Websites and select the Page Properties option but some of the page properties, custom ones, are empty, or showing but their respective content (housed under /content/<site_name>/<page_name> is missing/empty.

    The location of the folder is important. If it is inside a subfolder of your Home folder, then nobody else will be able to see it no matter what sharing options you set.
    Put it in the /Users/Shared folder.
    As leroydouglas pointed to, go to the Sharing preferences and add that folder.
    You'll also need to give them a login to that Mac. You can create a "Sharing Only" user which is a login for file sharing users.
    In Users & Groups, Add a new User account and set it to Sharing Only.
    Give it a username and password for them all to use (which can be saved in their keychains).
    Go back to Sharing and Add that new Sharing Only user. Give them Read Only access. If they all have normal logins on that Mac, you can just add those user names and they will log in just as if they were sitting at the Mac.
    Marking of a folder as Shared will only share it with users that can log into that Mac and only if they have permission to see through all the intervening folders.
    EDIT: You could also set up Guest access and allow guests to access file sharing. You could then share the folder to everyone: read only.
    Also see here: http://support.apple.com/kb/PH14189
    You used to be able to create a Sharing Only user from that preference pane, but it appears they've modified that to allow you to create a Sharing only user from your Contacts list.

  • [svn] 668: opensource: ant package now works on a Mac; Darrell pointed out some Windows-centric backslashes that were holding up the show (fixed others that I found too).

    Revision: 668
    Author: [email protected]
    Date: 2008-02-26 16:26:38 -0800 (Tue, 26 Feb 2008)
    Log Message:
    opensource: ant package now works on a Mac; Darrell pointed out some Windows-centric backslashes that were holding up the show (fixed others that I found too).
    Modified Paths:
    flex/sdk/branches/3.0.x/build.xml
    flex/sdk/branches/3.0.x/frameworks/tests/checkinapp/build.xml
    flex/sdk/branches/3.0.x/modules/asc/build/java/build.xml

    It sounds to me like Final Cut Express is what you really need to learn. I learned it by buying a book that included a DVD of examples to use as you go through the book. It will only take a couple of hours to figure out how to do most of what you need to know. Its the last 20% that will take the longest to learn, mostly because its the stuff you'll use the least.
    The book I used was written by Tom Wolsky. It was for version 2 of the program. I don't know if its been updated. Take a look in the Final Cut Express forum. Ask the forum for recommendations. You'll probably get a response from Tom Wolsky himself since he's a regular on that forum.
    I've since upgraded to Final Cut Studio. I occasionally still use iMovieHD because its easier for some tasks but not very flexible. For example, the themes in iMovie are easy to use but it would be near impossible to recreate them in Final Cut Express. So I sometimes just populate the themes in iMovie and export them to Final Cut to add to a larger project.
    There are a couple of potential stumbling blocks in learning Final Cut, one of them being media handles. Once you figure out those, you'll be on your way...

  • Problem in creating a build.xml for weblogic portal application

    Team ,
    I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
    a) Below is the structure of my portal application
    SrcCode
    --- .metadata (eclipse plugins folder)
    --- B2BApp ( Ear Content)
    --- b2bPortal ( portal related file(controllers,jsp)
    --- b2bsrc     (java src)
    b) Now I executed below utility to generate the build.xml "
    java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
    c) Based on the above step , build.xml got generated .
    d) when I execute "ant compile" target from the command prompt , I see the below exception
    ant compile
    Buildfile: build.xml
    compile:
    +[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
    +[wlcompile] [JAM] Error: unexpected exception thrown:+
    +[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
    e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
    +<target name="compile" description="Only compiles B2BApp application, no appc">+
    +<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
    +<!-- These referenced libraries were not found -->+
    +<!-- <library file="p13n-core-web-lib" /> -->+
    +<!-- <library file="jersey-web-lib" /> -->+
    +.....+
    +....+
    Please help me to reslove these issues .
    PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )

    i JaySen ,
    thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
    +[JAM] Error: unexpected exception thrown:+
    com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70.  Most likely, an annotation is declared whose type has not been imported.
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
    ===================
    a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
    i.e we are using weblogic portal 10.3.2 version.
    b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
    c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
    Help Appreciated
    Thx,
    Sarat

  • Compilation problem in build.xml

    Hi,
    This is my build.xml
    <?xml version="1.0"?>
    <project name="TestApp" default="compile">
    <description>TestApp</description>
    <property name="J2EE_HOME_13" value="/usr/testapp/bea921/jdk150_06"/>
    <property name="J2EE_HOME" value="${J2EE_HOME_13}"/>
    <property name="WL_HOME" value="/usr/testapp/bea921/weblogic92"/>
    <property name="WLLIB" value="${WL_HOME}/server/lib"/>
    <property name="CPATH1" value="${J2EE_HOME}/lib/tools.jar:${J2EE_HOME}/lib/j2ee.jar"/>
    <property name="CPATH2" value="${WL_HOME}/server:${WLLIB}/weblogic_sp.jar:${WLLIB}/weblogic.jar"/>
    <property name="CPATH" value="${CPATH1}:${CPATH2}"/>
    <property name="src.dir" location="/home/mashan/WEB-INF/classes/com/data" />
    <property name="classes.dir" location="/home/mashan/WEB-INF/classes/com/data" />
    <property name="javac.debug" value="on" />
    <target name="compile" description="Compile TestApp">
    <javac srcdir="${src.dir}" destdir="${classes.dir}" classpath="${CPATH}" debug="${javac.debug}">
    </javac>
    </target>
    </project>
    Here both source and dest. dir are same.My build.xml is in WEB-INF/classes , when i run the build.xml it is generating a folder at /home/mashan/WEB-INF/classes/com/data/com/data/*.class files.
    Where i want to generate the class files at /home/mashan/WEB-INF/classes/com/data/*.class.
    So that the server can pick up the file from the root directory. Please do rectify this problem.
    Where i am going wrong with this build.xml. Im using weblogic server.Please do update the build.xml.
    Thanks

    I also have this problem. When I build the build.xml file, errors happen:
    Buildfile: D:\soft\jdevstudio1111TP2\mywork\storefront_techpreview2\Infrastructure\Ant\build.xml
    createDatabase:
    refreshSchema:
    BUILD FAILED
    D:\soft\jdevstudio1111TP2\mywork\storefront_techpreview2\Infrastructure\Ant\build.xml:20: The following error occurred while executing this line:
    D:\soft\jdevstudio1111TP2\mywork\storefront_techpreview2\Infrastructure\DBSchema\build.xml:89: The following error occurred while executing this line:
    D:\soft\jdevstudio1111TP2\mywork\storefront_techpreview2\Infrastructure\DBSchema\build.xml:54: The following error occurred while executing this line:
    D:\soft\jdevstudio1111TP2\mywork\storefront_techpreview2\Infrastructure\DBSchema\build.xml:26: D:\softjdevstudio1111TP2\jdbc\lib not found.
    Total time: 0 seconds
    My build.properties is set as following (meanwhile, I can connect database 10gR2):
    # Master Ant properties file for Fusion Order Demo
    # All build files refer to this master list of properties
    # $Id: build.properties 812 2007-02-20 07:14:33Z lmunsing $
    # Base Directory for library lookup
    jdeveloper.home=D:\soft\jdevstudio1111TP2
    src.home=..//..
    # JDBC info used to create Schema
    jdbc.driver=oracle.jdbc.OracleDriver
    jdbc.urlBase=jdbc:oracle:thin:@localhost
    jdbc.port=1521
    jdbc.sid=orcl
    # Information about the default setup for the demo user
    db.adminUser=system
    db.adminUser.password=welcome1
    db.demoUser=FOD
    db.demoUser.password=welcome1
    db.demoUser.tablespace=USERS
    db.demoUser.tempTablespace=TEMP
    --------------------------------------------------------------------------------------

  • [svn] 3025: Add libs/player/ 10 directory to the library path in the team apps flex-config.xml file.

    Revision: 3025
    Author: [email protected]
    Date: 2008-08-28 11:24:42 -0700 (Thu, 28 Aug 2008)
    Log Message:
    Add libs/player/10 directory to the library path in the team apps flex-config.xml file. This is to matche what's in the flex-config.xml file that comes with the Flex SDK.
    Add libs/player directory to the library path of the flex-config.xml file that is shared by the qa-manaul and qa-regress webapps. This is to match what's in the flex-config.xml file that comes with the sdk.
    Change the call to mxmlc in the compile-swf target in the flexunit build script to set the target player version to 10.0.0.
    Remove web services and http service tests that were removed by Bill from qa feature.properties files otherwise the automated test frameworks will try to run these tests and blow up.
    Modified Paths:
    blazeds/trunk/apps/team/WEB-INF/flex/flex-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/flexunit/build.xml
    blazeds/trunk/qa/features/full.properties
    blazeds/trunk/qa/features/httpService.properties
    blazeds/trunk/qa/resources/config/flex-config.xml
    Removed Paths:
    blazeds/trunk/qa/features/nist.properties
    blazeds/trunk/qa/features/webService.properties

    Revision: 3025
    Author: [email protected]
    Date: 2008-08-28 11:24:42 -0700 (Thu, 28 Aug 2008)
    Log Message:
    Add libs/player/10 directory to the library path in the team apps flex-config.xml file. This is to matche what's in the flex-config.xml file that comes with the Flex SDK.
    Add libs/player directory to the library path of the flex-config.xml file that is shared by the qa-manaul and qa-regress webapps. This is to match what's in the flex-config.xml file that comes with the sdk.
    Change the call to mxmlc in the compile-swf target in the flexunit build script to set the target player version to 10.0.0.
    Remove web services and http service tests that were removed by Bill from qa feature.properties files otherwise the automated test frameworks will try to run these tests and blow up.
    Modified Paths:
    blazeds/trunk/apps/team/WEB-INF/flex/flex-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/flexunit/build.xml
    blazeds/trunk/qa/features/full.properties
    blazeds/trunk/qa/features/httpService.properties
    blazeds/trunk/qa/resources/config/flex-config.xml
    Removed Paths:
    blazeds/trunk/qa/features/nist.properties
    blazeds/trunk/qa/features/webService.properties

  • Please provide me build.xml to compile JSP pages

    Hi EveryBody,
    I am using the build.xml file to compile the JSP files to .class files. While running the build.xml file using ANT I am getting the following error.
    <i>
    [jasperc] 2007-06-01 01:22:57 - error-the file 'error_page.jsp' generated the following parse exception: org.apache.jasper.compiler.CompileException: C:Documents and SettingsSatishDesktoptestXMAM30_ECLIPSEtemperror_page.jsp(2,0) Bad file argument to include
                [jspc] BUILD FAILED: file:C:/Documents and Settings/Satish/Desktop/test/XMAM30_ECLIPSE/cfg/build.xml:90: Java returned: 9
    </i>
    Any body have the build.xml file for the standard XMAM30. Because I am doing custom changes to this. While deploying this to PDA I am getting an error because it was able to compile the JSP files in PDA.
    If any body have build.xml file, please give it me.
    Help in this regard is highly appreciated.
    Regards,
    murthy.

    Hello everyone,
    sorry for using this old thread, but it just fits my question ...
    Does anyone have by chance a build.xml  for standard XMAM30 working for Netwaver 7.1?
    Thanks for your help!
    Best regards,
    Petra

  • JMX equivalent for webservice build.xml

    Hi,
    I am using the below build.xml to create and deploy webservices.
    Can I get the equivalent or approximate JMX code (java code using MBeans) to do this.
    <project default="all">
         <!-- set global properties for this build -->
         <property name="wls.username" value="weblogic" />
         <property name="wls.password" value="weblogic" />
         <property name="wls.hostname" value="localhost" />
         <property name="wls.port" value="7001" />
         <property name="wls.server.name" value="AdminServer" />
         <property name="ear.deployed.name" value="wsdlcEar" />
         <property name="example-output" value="output" />
         <property name="compiledWsdl-dir" value="${example-output}/compiledWsdl" />
         <property name="impl-dir" value="${example-output}/impl" />
         <property name="ear-dir" value="${example-output}/wsdlcEar" />
         <property name="clientclass-dir" value="${example-output}/clientclasses" />
         <path id="client.class.path">
              <pathelement path="${clientclass-dir}" />
              <pathelement path="${java.class.path}" />
         </path>
         <taskdef name="wsdlc" classname="weblogic.wsee.tools.anttasks.WsdlcTask" />
         <taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" />
         <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
         <taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy" />
         <target name="all" depends="clean,generate-from-wsdl,build-service,deploy,client" />
         <target name="clean" depends="undeploy">
              <delete dir="${example-output}" />
         </target>
         <target name="generate-from-wsdl">
              <wsdlc srcWsdl="wsdl_files/TemperatureService.wsdl" destJwsDir="${compiledWsdl-dir}" destImplDir="${impl-dir}" packageName="examples.webservices.wsdlc" />
         </target>
         <target name="build-service">
              <jwsc srcdir="src" destdir="${ear-dir}">
                   <jws file="examples/webservices/wsdlc/TemperaturePortTypeImpl.java" compiledWsdl="${compiledWsdl-dir}/TemperatureService_wsdl.jar" />
              </jwsc>
         </target>
         <target name="deploy">
              <wldeploy action="deploy" name="${ear.deployed.name}" source="${ear-dir}" user="${wls.username}" password="${wls.password}" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />
         </target>
         <target name="undeploy">
              <wldeploy action="undeploy" name="${ear.deployed.name}" failonerror="false" user="${wls.username}" password="${wls.password}" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />
         </target>
         <target name="client">
              <clientgen wsdl="http://${wls.hostname}:${wls.port}/temp/TemperatureService?WSDL" destDir="${clientclass-dir}" packageName="examples.webservices.wsdlc.client" />
              <javac srcdir="${clientclass-dir}" destdir="${clientclass-dir}" includes="**/*.java" />
              <javac srcdir="src" destdir="${clientclass-dir}" includes="examples/webservices/wsdlc/client/**/*.java" />
         </target>
         <target name="run">
              <java classname="examples.webservices.wsdlc.client.TemperatureClient" fork="true" failonerror="true">
                   <classpath refid="client.class.path" />
                   <arg line="http://${wls.hostname}:${wls.port}/temp/TemperatureService" />
              </java>
         </target>
    </project>
    Regards,
    Suresh

    JMX is for management, build.xml and what you have here is for assembling applications - in your case webservices.
    unless I'm missing something, using what you have is the best way to go.
    Pete

  • Explanation build.xml

    Hello everybody,
    Tomorrow we have an exam about J2EE with ant.
    our teacher have give us a file, called 'build.xml' but he doesn't mentioned what it do...
    I really hope someone could explain a bit more the following code because we have to know it for our exam....
    Build.xml
    <project name="moiracms" basedir="." default="main">
         <property file="build.properties" />
         <property name="src.dir"     value="src"/>
         <property name="build.dir"   value="build"/>
         <property name="classes.dir" value="${build.dir}/classes"/>
         <property name="jar.dir"     value="${build.dir}/package"/>
         <property name="lib.dir"      value="lib" />
         <property name="descr.dir"     value="${build.dir}/descriptor" />
         <property name="html.dir"      value="html" />
         <property name="tld.dir"      value="tld" />
         <path id="classpath">
              <fileset dir="${lib.dir}" includes="*jar" />
              <fileset dir="${xdoclet.lib.dir}" includes="*jar" />
         </path>
         <target name="clean">
              <delete dir="${build.dir}"/>
              <delete dir="${src.dir}/interfaces" />
         </target>
         <target name="init" depends="clean">
              <taskdef name="webdoclet" classname="xdoclet.modules.web.WebDocletTask" classpathref="classpath"/>
              <taskdef name="hibernatedoclet" classname="xdoclet.modules.hibernate.HibernateDocletTask" classpathref="classpath" />
              <taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask" classpathref="classpath" />
         </target>
         <target name="xdoclet" depends="init">
              <webdoclet destdir="${descr.dir}">
                   <deploymentdescriptor servletspec="2.4"/>
                   <fileset dir="${src.dir}" includes="**/*Servlet.java" />
              </webdoclet>
              <hibernatedoclet destdir="${descr.dir}">
                   <fileset dir="${src.dir}" includes="**/*.java" />
                   <hibernate version="3.0" />
                   <hibernatecfg version="3.0"
                                 jdbcUrl="jdbc:mysql://${mysql.server}:${mysql.port}/${mysql.dbase}"
                                    dialect="org.hibernate.dialect.MySQLDialect"
                                    driver="com.mysql.jdbc.Driver"
                                    userName="${mysql.username}"
                                    password="${mysql.password}" />
              </hibernatedoclet>
              <ejbdoclet destdir="${src.dir}">
                   <fileset dir="${src.dir}" includes="**/*Bean.java" />
                   <packagesubstitution packages="beans" substitutewith="interfaces" usefirst="true" />
                   <localhomeinterface />
                   <localinterface />
                   <homeinterface />
                   <remoteinterface />
                   <deploymentdescriptor destdir="${descr.dir}" />
              </ejbdoclet>
         </target>
         <target name="compile" depends="xdoclet">
              <mkdir dir="${classes.dir}"/>
              <javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath"/>
         </target>
         <target name="war" depends="compile">
              <mkdir dir="${jar.dir}" />
              <war destfile="${jar.dir}/${ant.project.name}.war" webxml="${descr.dir}/web.xml">
                   <fileset dir="${html.dir}" includes="**/*" />
                   <webinf dir="${tld.dir}" includes="c.tld" />
                   <lib dir="${tld.dir}" includes="*.jar" />
              </war>
         </target>
         <target name="jar" depends="compile">
              <mkdir dir="${jar.dir}" />
              <jar destfile="${jar.dir}/${ant.project.name}.jar">
                   <fileset dir="${classes.dir}" includes="**/*" />
                   <fileset dir="${descr.dir}" includes="classes/*.hbm.xml" />
                   <fileset dir="${descr.dir}" includes="hibernate.cfg.xml" />
                   <metainf dir="${descr.dir}" includes="ejb-jar.xml" />
              </jar>
         </target>
         <target name="ear" depends="war,jar">
              <ear appxml="application.xml" destfile="${jar.dir}/${ant.project.name}.ear">
                   <fileset dir="${jar.dir}">
                   </fileset>
              </ear>
         </target>
         <target name="deploy" depends="ear">
              <copy file="${jar.dir}/${ant.project.name}.ear" todir="${jboss.deploy.dir}" />
         </target>
         <target name="main" depends="deploy" />
    </project>Message was edited because: This one is a correct code from a working example.

    Study hard: http://ant.apache.org/

  • [svn] 3140: Modifying build. xml to include templates in the jar from the new location.

    Revision: 3140
    Author: [email protected]
    Date: 2008-09-08 09:04:17 -0700 (Mon, 08 Sep 2008)
    Log Message:
    Modifying build.xml to include templates in the jar from the new location.
    Modified Paths:
    flex/sdk/trunk/modules/antTasks/build.xml

    Don't be so impatient and don't multipost! I've deleted your other thread about the same topic.

  • [svn:fx-4.0.0] 13647: this should actually fix the build - call the modified main target to call the bundle task for osmf and actually make the call from frameworks /build.xml

    Revision: 13647
    Revision: 13647
    Author:   [email protected]
    Date:     2010-01-19 17:04:22 -0800 (Tue, 19 Jan 2010)
    Log Message:
    this should actually fix the build - call the modified main target to call the bundle task for osmf and actually make the call from frameworks/build.xml
    QE notes:
    Doc notes:
    Bugs:
    Reviewer:
    Tests run:
    Is noteworthy for integration:
    Modified Paths:
        flex/sdk/branches/4.0.0/frameworks/build.xml

    Hi Renuka,
    The model classes get generated under gen_cmi folder at the time of model import.
    As far I know, the Web Dynpro build operation also re-generates these classes if reqd.
    That is why I asked you to delete the gen_* folder content & do a Project Rebuild operation.
    Or you can delete the model & try importing it again.
    If the problem persists with the generated classes then there is an issue/bug with the generation & I would recommend to raise an OSS message (WD Java component)
    Kind Regards,
    Nitin

  • Help with flex4unit ant build.xml: Socket timeout waiting for flexunit report

    I'm having trouble setting up ant to build and test my project locally and I'm not sure what the next step is.
    Info:
    Running on XP/Cygwin.
    All of the files that FlexUnit4 references when used in Flash Builder are in my '${basename}/libs' folder (eg FlexUnit4_1.0.swc).
    I've placed the flexunit4 task in my ant/libs folder.
    I'm getting two errors...
    I don't think I've set up the 'socket' stuff right for the tests. It just sits and waits then dies...
    [flexunit] Waiting for client connection ...
    (about a minute later)
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    Plus this is the error I get from the flash player:
    ReferenceError: Error #1065: Variable mx.skins.spark::BorderSkin is not defined.
    I don't know why it's complaining about Borderskin as I think I have included all the flex4 libs I could find. I suspect this second error is causing the first error?
    Any help appreciated. I think I'm just setting it up all wrong.
    Screencap of errors:
    http://twitpic.com/l7ay8
    build.xml:
    http://gist.github.com/20804

    Finally got everything working using the files from the CI Example which what i probably should have done in the first place.
    So a rough guide for anyone just starting out with this:
    Download the Flex 4 'workspace' from the digital primates hudson server . This appears to contain flexunit library and examples in various stages of development.
    I used Flex Builder 4 Beta 2 to set up my Test Suite and Test Cases.
    I then loaded the libs folder from:
    workspace.zip\workspace\project\FlexUnit4SampleCIProject
    into my flex project's libs folder:
    this includes:
    FlexUnit4.swc
    FlexUnit4CIListener.swc
    flexUnit4UIRunner.swc
    flexTasks.jar
    flexUnitTasks.jar
    I didn't need to remove the FlexUnit4 stuff that is 'referenced' automatically by flash builder when you start adding flexunit4 tests/suites.
    Then I used a modified version of the TestRunner.mxml found in:
    workspace.zip\workspace\project\FlexUnit4SampleCIProject\src\test\flex
    The lines to pay attention to are the ones that look like:
    static public function currentRunTestSuite():Array {
        var testsToRun:Array = new Array();
        testsToRun.push(packagename.TestSuiteName);
        testsToRun.push(packagename.TestClassName);
        return testsToRun;
    Just make sure you update this list to include all of the test suites &/or individual tests you want to run.
    I made this a static function and modified the code in the "FlexUnitApplication.mxml" file to use this function so i'd only need to update one list of suites/tests.
    FlexUnitApplication.mxml is generated automatically when you run FlexUnit4 tests in the Flash Builder 4 Beta 2 IDE.
    This is the build.xml file I'm using in the project:
    http://gist.github.com/208211
    Change the name of the project from "Flare" to whatever and adjust the other path settings where required (though you might want to write this from scratch at least once so you understand roughly what is going on).
    The Debug Flash Player must be installed on the server otherwise you'll get a:
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    ...while it waits for the non-existant debugger to attach. (This is obvious but I did forget and was a bit bewildered for a moment)
    Need to also ensure the environment variable:FLEX_HOME is set to the location you installed the flex sdk...by editing your .bashrc setting the environment variable the in the Hudson Configuration.
    You'll need to point Hudson at your ant installation and your jdk installation. If you downloaded he sdk, be aware you might need to point it to the jdk folder inside the place you installed the sdk.
    And I think that's all the problems I had. Hope it's useful to someone... if anyone who actually knows what they are doing can point out any potential issues/better ways of doing things, feel free to comment.
    Thanks to Brian (legrosb) and Mike (mlabriola) for their assistance!

  • [svn] 2847: add code coverage ability to asc build.xml ( clover jar and license required to run)

    Revision: 2847
    Author: [email protected]
    Date: 2008-08-14 15:06:10 -0700 (Thu, 14 Aug 2008)
    Log Message:
    add code coverage ability to asc build.xml (clover jar and license required to run)
    Modified Paths:
    flex/sdk/trunk/modules/asc/build/java/build.xml

    I ran into this same problem when using ProGuard 4.1 for Java obfuscation. The problem is that there is a space in the path to your JDK/JRE, for example: c:\Program Files\Java\jdk1.6.0_03. Because there is a space before the word "Files", it isn't working. The solution to to wrap quotes around that particular command-line argument. In ANT, I needed to use single-quotes (because double-quotes were already in use for the XML attribute) such as:
    <java jar="proguard.jar" fork="true" timeout="30000">
    <arg value="-libraryjars"/>
    <arg value="'${java.home}/lib/rt.jar'"/> <!-- Notice both double and single quotes used on this line. -->
    ...rest of the arguments go here...
    </java>
    Alternatively, using ProGuard's custom ANT Task, it would look something like (notice the use of double-quotes around the rt.jar location):
    <proguard>
    -libraryjars "${java.home}/lib/rt.jar"
    ...rest of the arguments go here...
    </proguard>
    Anyways, I hope this helps you or anyone else who runs into the same problem. Both of these approaches have worked for me.

  • [svn] 2514: frameworks: Fixing injection I made ages ago in build. xmls for framework projects

    Revision: 2514
    Author:   [email protected]
    Date:     2008-07-16 14:38:06 -0700 (Wed, 16 Jul 2008)
    Log Message:
    frameworks: Fixing injection I made ages ago in build.xmls for framework projects
    * all the projects should have been building against player 9's playerglobal.swc, not player 10's (except for flex4.swc)
    * this might fix compiling problems that developed in tests for air
    * problem was that s in ant are immutable and don't fire a warning if you redeclare them with a different value. I thought I was overriding the global ${playerglobal.version} property in files that needed to make it 9 instead of 10
    * solution: created global.playerglobal.version (which is 10) and in files that need to "override" it, I declare local.playerglobal.version locally.
    Reviewer: Pete
    Bugs: n/a
    QA: Please retest air compiling problems. We should probably re-run everything, since we're going back to the correct playerglobal, stuff might get fixed, stuff shouldn't (but could) get broken.
    Doc: No
    Modified Paths:
        flex/sdk/trunk/build.properties
        flex/sdk/trunk/frameworks/build_framework.xml
        flex/sdk/trunk/frameworks/projects/airframework/build.xml
        flex/sdk/trunk/frameworks/projects/flash-integration/build.xml
        flex/sdk/trunk/frameworks/projects/flex/build.xml
        flex/sdk/trunk/frameworks/projects/flex4/build.xml
        flex/sdk/trunk/frameworks/projects/framework/build.xml
        flex/sdk/trunk/frameworks/projects/haloclassic/build.xml
        flex/sdk/trunk/frameworks/projects/rpc/build.xml
        flex/sdk/trunk/frameworks/projects/utilities/build.xml

    Revision: 2514
    Author:   [email protected]
    Date:     2008-07-16 14:38:06 -0700 (Wed, 16 Jul 2008)
    Log Message:
    frameworks: Fixing injection I made ages ago in build.xmls for framework projects
    * all the projects should have been building against player 9's playerglobal.swc, not player 10's (except for flex4.swc)
    * this might fix compiling problems that developed in tests for air
    * problem was that s in ant are immutable and don't fire a warning if you redeclare them with a different value. I thought I was overriding the global ${playerglobal.version} property in files that needed to make it 9 instead of 10
    * solution: created global.playerglobal.version (which is 10) and in files that need to "override" it, I declare local.playerglobal.version locally.
    Reviewer: Pete
    Bugs: n/a
    QA: Please retest air compiling problems. We should probably re-run everything, since we're going back to the correct playerglobal, stuff might get fixed, stuff shouldn't (but could) get broken.
    Doc: No
    Modified Paths:
        flex/sdk/trunk/build.properties
        flex/sdk/trunk/frameworks/build_framework.xml
        flex/sdk/trunk/frameworks/projects/airframework/build.xml
        flex/sdk/trunk/frameworks/projects/flash-integration/build.xml
        flex/sdk/trunk/frameworks/projects/flex/build.xml
        flex/sdk/trunk/frameworks/projects/flex4/build.xml
        flex/sdk/trunk/frameworks/projects/framework/build.xml
        flex/sdk/trunk/frameworks/projects/haloclassic/build.xml
        flex/sdk/trunk/frameworks/projects/rpc/build.xml
        flex/sdk/trunk/frameworks/projects/utilities/build.xml

Maybe you are looking for

  • How can I close the lid on my Mac Book Pro (late 09, 10.6.8) without it going into sleep mode?

    I recently moved my room around and such, and now it's become more useful (I also purchased an HDMI adaptor which helps) to use my TV as a display, especially when I'm recording music, watching movies online, etc. Problem is, the HDMI cord I'm using

  • My Core 2 Duo iMac Makes a wierd Noise and odd Ram Availability.

    I Bought this iMac from mac connection. A 17inch 2GHz Core 2 Duo. The first one I returned because of dead pixels. The Second one, Which Iuse has been great. But for the Past Month, I noticed a weird clicking noise from the speakers. I tried wiping o

  • Why don't I have dock options anymore?

    I absolutely hate the dock being hidden, its so annoying and tedious. I work on my comp and I need to switch between multiple applications quickly. I recently switched my HDD from a 24" iMac AL 2007 model, to a Mac Pro 2008 model 3.2GHz 8-core. The d

  • Trend-Micro Smart Surfing for Mac

    I know that malware is not a big concern for Mac users, yet. However, I am interested in trying new products as they come out. I use Trend-Micro products for Windows at work on a daily basis and they are a fantastic company when it comes to malware p

  • Creación de Menús en Encore DVD 2.0

    Buenas! ¿hasta cuántos menÚs se pueden crear con el Encore DVD 2. 0? ¿Podrían crearse 3000? Muchas gracias.