Compile flexunit 4.1 beta 2 source code using flex sdk 3.0?

when I start the ant build, it stops in the middle without giving any error when it tries to compile using compc at the following point:
<target name="compile" depends="init">
      <compc output="${bin.loc}/${build.finalName}">
         <include-sources dir="${src.loc}" includes="*" append="true" />
         <source-path path-element="${src.loc}" />
         <compiler.external-library-path dir="${lib.loc}" append="true">
            <include name="*.swc" />
         </compiler.external-library-path>
         <compiler.external-library-path dir="${FLEX_HOME}/frameworks/libs" append="true">
            <include name="flex.swc" />
            <include name="framework.swc" />
            <include name="rpc.swc" />
            <include name="utilities.swc" />
         </compiler.external-library-path>
         <compiler.verbose-stacktraces>true</compiler.verbose-stacktraces>
         <compiler.headless-server>true</compiler.headless-server>
         <define name="CONFIG::useFlexClasses" value="${build.useFlex}" />
      </compc>
   </target>
Please help me resolve this problem.

@crazyghost81 - Ok, the only variant I was able to find in what you're saying is using Ant 1.8.1 rather than 1.7 and SDK 3.0.0 rather than 3.2.0.  I d/l'd Ant 1.8.1 and SDK 3.0, ran the build, and everything completed with no issues.  I'm still inclined to believe it's something system specific.  I eventually want to upgrade to Ant 1.8.1 on the CI machine, so when that happens we can see if Hudson pukes.  Otherwise, I don't know what I can do to help you solve this issue other than ship you the 3.0.0 artifacts which we don't officially support.  Maybe someone else on the forums has a suggestion.
Can you provide more details re: your system config?  OS and version maybe?  If you want the 3.0.0 artifacts from the build on my machine, I can email them to you, but please keep in mind that they come with no warranty since we don't support FU4 on SDK 3.0.0.  Let me know your email if you'd like me to do so.
-Brian

Similar Messages

  • How to synchronize source code using distributed NWDI Servers?

    Hello,
    I am facing a bit of a challenge trying to find documentation regarding the replication of source code using NWDI/DTR in a distributed environment. By distributed I mean independent instances in different geographical locations.
    Scenario
    Our customer product (DCs/SCs/etc) will be developed by two teams. These teams are far away from each other, and a local dedicated NWDI instance for each team is a must, due to the distance plus the big size of the product. It should be possible for the teams to work on a same Track. We use a NWDI 7.31 instance.
    I have been looking into the documentation and so far I found no guide on how to keep both repository updated with each other changes.
    The following links make notes of the scenario but are not addressing the solution properly.
    Distributed Development
    A synchronization of changes might have to be done between:
    Workspaces present in the same repository.
    Workspaces present in different repositories.
    Developepment Infrastructure (DI) Architecture
    Central source file management – in the Design Time Repository (DTR), a file storage in a database with export mechanisms that allow you to synchronize the instances of the DTR in a distributed development.
    Solution?
    Does NWDI offers any tool to solve this kind of requirement? Am I missing any documentation?
    Or, NWDI doesn't have a solution for this kind of scenario?
    And by the way, I would expect a "smooth" integration between the servers, like automatic asynchronous replication, with proper managment of conflicts and all the other delightful paradigms of source control.
    Are we talking about exporting source code and importing it on the other side? Would this be the only alternative, and how is it done?
    Thanks in advance.

    A lot of obfuscators, rather than use one-letter method names, use keywords for names. This has the benefit of not decompiling to valid Java
    Well, thats only true if you have a bug in your decompiler. My decompiler (jad) handles keywords by adding additional letters (underscores and stuff).
    The problem is solved by an obfuscator. Compiled c++ code can be disassembled in the same way as obfuscated java byte code. So, if you were satisfied with the protection of your C++ code, then you should be just as satisfied with obfuscated java byte code.

  • Where is source code for flex.util.SerializedTemplateFactory?

    This class is included (why?) in the mm-velocity-1.4.jar file. I'm trying to build the flexsdk entirely from source to meet packaging requirements.

    Steve Linabery <[email protected]> writes:<br /><br /> > Where is source code for flex.util.SerializedTemplateFactory?<br /><br />opensource/flex/sdk/trunk/modules/thirdparty/velocity/src/java/flex/util<br /><br /> > This class is included (why?) in the mm-velocity-1.4.jar file.<br /><br />It's a customization to Velocity to make our use of templates run<br />faster.<br /><br />-Paul

  • Where to get source code of Flex in a Week training

    Hello, where to download source code of Flex in a Week
    training? Thanks!

    Here's a download link to my source files up to exercise 9.
    http://www.2shared.com/file/4204375/2060f179/up_to_9.html
    They can be opened in a text editor.

  • Flexunit 4.1 beta 1 ant task fails if SDK or project dir contains spaces

    downloaded FlexUnit 4.1 beta 1 for its directory scanning and test loading support.  found a problem - if either the SDK dir (e.g. C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0) or the project dir (e.g. C:\Documents and Settings\flexuser\My Documents\mike\Adobe Flash Builder 4\AntFlexUnit4.1betaSampleCIProject) contain spaces, the flexunit ant task will fail, as the following output indicates:
    <snip>
    [flexunit] '+flexlib'
    [flexunit] 'C:\Program'
    [flexunit] 'Files\Adobe\Adobe'
    [flexunit] 'Flash'
    [flexunit] 'Builder'
    [flexunit] '4\sdks\4.0.0\frameworks'
    [flexunit] '-output'
    [flexunit] 'C:\Documents'
    [flexunit] 'and'
    [flexunit] 'Settings\flexuser\My'
    [flexunit] 'Documents\mike\Adobe'
    [flexunit] 'Flash'
    [flexunit] 'Builder'
    [flexunit] '4\AntFlexUnit4.1betaSampleCIProject\target\bin\TestRunner.swf'
    <snip>
    BUILD FAILED
    C:\Documents and Settings\flexuser\My Documents\mike\Adobe Flash Builder 4\AntFlex
    Unit4.1betaSampleCIProject\build.xml:72: Compilation failed:
    command line: Error: default arguments may not be interspersed with other options
    everything worked fine if i relocated both the SDK and project dir.  unfortunately most of our developers use SDK and project directories with spaces.
    what's the ETA for beta 2 ;-) ?  anxious to integrate this excellent new feature once the spacing problem is resolved.
    thanks.
    -mike

    @mike - Ok I've updated my fork @ http://github.com/blegros/flexunit with the fix.  If you don't want to build from source, you can download the flexunit.zip file from my fork and just pull the Ant task out to use temporarily.  You can find the artifact from my fork's build @ http://flexunit.digitalprimates.net:8080/view/Contributors/job/blegros/lastSuccessfulBuild /artifact/flexunit.zip.
    Let me know if this works out for you.
    -Brian

  • How to read and then extract HTMl source code using java program?

    Hi,
    Could someone tell me how to read and then extract the content of certain tag from html source code. For example, given url http://.... , I would like to know what the <Title> content <Title> in that page is.
    Any help is greatly appreciate.

    Use a URLConnection to make the connection to the page at the needed URL. From the URLConnection, you can get an InputStream that is the stream of data from that page. Just search through the stream and find the <title> tags (don't forget to check for case sensitivity).

  • Simple source codes using JAXM Provider

    Hi guys,
    I am new to this technology. I looked around the web for simple codes using JAXM Provider but not luck. I will appreciate your help if someone out there have working example using JAXM service Provider.
    Thanks in advance...

    FileDataSource fds=new FileDataSource("abc.txt");
                   DataHandler xx = new DataHandler(fds);
                   MimeMultipart mp = new MimeMultipart();
                   MimeBodyPart mbp1 = new MimeBodyPart();
    mbp1.setDataHandler(xx);
              mbp1.setFileName("abc.txt");
                   mp.addBodyPart(mbp1);

  • How use flex sdk 3.5 Action Script-3 code in flash builder 4.5............???

    hiiiiiiiiiiiiiiiiii
    can i use my flax sdk 3.5 action script-3 code into flash builder 4.5 .....if yes so plz give me detail how??..with step....

    Ya i tried by keeping <fx:Declarations> part but still it is throwing error,
    In flex3 we are making a component ex: <mx:canvas> and changeing that component to
    <cairngorm:ServiceLocator xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:cairngorm="com.adobe.cairngorm.business.*">
    </cairngorm:ServiceLocator>
    if any one used 4.5 with cairngorm let me know
    thanks

  • How to run the sample code using the sdk?

    Hi,
    I want to run the jsp code from the enterprize sdk available in the sdn community. Can any one tell me how to execute these jsp sample codes and what is the pre-requisite regarding the set up.
    I already have the deployment ready.
    thanks
    AMar

    Hi Amar,
    To execute samples code, it is same what is required for normal J2EE application.
    Make sure add all the jars to your web application.
    These jars can be found on your BO server installation if windows.
    For BOE XI 3.x
    C:\Program Files\Business Objects\common\4.0\java\lib
    C:\Program Files\Business Objects\common\4.0\java\lib\external
    For BOE XI R2
    C:\Program Files\Business Objects\common\3.5\java\lib
    C:\Program Files\Business Objects\common\3.5\java\lib\external
    Thanks,
    Praveen.

  • Where to find java source code on tiger?

    I'm taking a class on java, and i need to open up some of the java source code for classes like Abstractcollections and Abstractlist to see how their implementations work. Does anyone know where the java folder is located and how to open up the source on a mac? I've seen it done on windows( applications-java-java-sdk - unzip, or something like that), but it is not in the same place place on mac.
    I've searched through the folders named java but could not figure out which folder to open and how.

    Hmmm, are you trying to view the Source Code for Abstractcollections and Abstractlist, or find it, or compile it, or what exactly?
    Source code can be viewed in any text editor, but BBEdit, TextWrangler, & jEdit are really good...
    http://www.barebones.com/products/bbedit/threeway.html
    http://www.barebones.com/products/textwrangler/index.html
    http://www.jedit.org/index.php?page=download

  • Compiling JDK 1.4.2 from source, under win32

    Hi,
    Here is how I compiled JDK 1.4.2 from source-code under win32. I hope this helps the many others who are interested in doing the same.
    1) Download the sources from here: http://wwws.sun.com/software/communitysource/j2se/java2/download.html
    Be sure to download all packages (SCSL source, SCSL binaries, mozilla binaries)
    2) Download gnu make from here: http://ftp.gnu.org/pub/gnu/make/
    3) Download Info-zip "zip" and "unzip" packages: http://www.info-zip.org/pub/infozip/UnZip.html and http://www.info-zip.org/pub/infozip/Zip.html
    4) Request and evaluation copy of MKS Toolkit: http://www.mkssoftware.com/eval/
    The key point here is that MKS Toolkit is a commercial product and even once you request an evaluation copy, it'll take a day or two for one of their salespeople to contact and harass you. Tell him whatever you must to get an evaluation copy out of him ("I might buy a copy in 3 months, honest!")... I personally wish Sun would move away from this commercial product and replace it with cygwin or something. It was very annoying getting past this stage.
    5) Download the DirectX 9.0 SDK from here: http://www.microsoft.com/downloads/details.aspx?FamilyID=124552ff-8363-47fd-8f3b-36c226e04c85&displaylang=en
    Sun actually requires DirectX 7.0 SDK but I couldn't find a copy anywhere so we have no choice but use a newer copy. This is another issue Sun should really address.
    6) Install DirectX SDK, MKS Toolkit, Info-zip zip and unzip
    7) Unpack gnu make into a directory and build it using the special steps for the MKS Toolkit shell. If you're trying to build make 3.80 be sure to fix this bug before you proceed or else it won't build: https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=1687
    8) Set your build environment variables. Here are my personal settings:
    call "C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32.bat"
    set ALT_UNIXCOMMAND_PATH=c:\mksnt
    set ALT_MSVCRT_DLL_PATH=c:\windows\system32
    set ALT_BOOTDIR=c:\j2sdk1.4.2_04
    set ALT_DEVTOOLS_PATH=c:\j2sdk1.4.2_04\source\utils
    set path=C:\make-3.80\WinRel;%path%
    set include=%include%;c:\program files\microsoft sdk\include
    set JAVA_HOME=
    9) You must build against Visual C++ 6.0 (Visual C++ .NET won't work because its missing non-standard header files used by Sun, such as iostream.h)
    10) "cd <jdk source dir>\control\make"
    11) Edit <jdk source dir>\j2me\make\common\Sanity.gmk line 1135. Replace:
    ifeq ($(PLATFORM), windows)
    with
    ifeq ($(PLATFORM), windows_skip)
    This will cause the build process to ignore the fact that you have DirectX 9.0 when it requires version 7.0
    12) Start the build process: "make scsl"
    13) If the build process dies because you have a different service-pack of Visual C++ 6.0 than it expects, edit <jdk source dir>\j2me\make\common\Sanity.gmk lines 71-72 and modify the expected version numbers to the ones you have.
    14) If you see a "'c:\program' not found" error while compiling. Be sure that the paths set by VCVARS32.BAT use short-names not long-names, because make gets confused by paths with spaces.
    15) If you see an error "No rule to make target `/usr/src/j2sdk-1_4_2-src-scsl/control/build/linux-i586/lib/fonts/LucidaTypewriterRegular.ttf'" it means you forgot to extract the "SCSL binaries" package into the source-code directory
    I will post solutions to further compiler errors as I encounter them, I encourage you to do the same.

    hey
    i m trying to install JDK 1.5 from source under win XP
    dev-sanity pass so i suppose i have all installed correctly
    the problem is when i run the command "make scsl" to compile all
    i got an error which is into "link.exe" at the begin of the compilation :
    cd generated && NMAKE /NOLOGO /f C:\cygwin\Sources\hotspot\build\windows
    \makefiles\generated.make DIR=.\generated BUILD_FLAVOR=product
    link.exe kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib ad
    vapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib Wsock32.lib winmm.lib /n
    ologo /machine:I386 /opt:REF /opt:ICF,8 /map /debug /subsystem:console /out:adl
    c.exe main.obj adlparse.obj archDesc.obj arena.obj dfa.obj dict2.obj filebuff.ob
    j forms.obj formsopt.obj formssel.obj opcodes.obj output_c.obj output_h.obj
    link: too many arguments
    Try `link --help' for more information.
    NMAKE : fatal error U1077: 'link.exe' : return code '0x1'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio\VC98\bin\n
    make.exe"' : return code '0x2'
    Stop.
    make[3]: *** [generic_build2] Error 2
    make[3]: Leaving directory `/Sources/hotspot/make'
    make[2]: *** [product] Error 2
    make[2]: Leaving directory `/Sources/hotspot/make'
    make[1]: *** [hotspot-build] Error 2
    make[1]: Leaving directory `/Sources/control/make'
    make: *** [scsl-build] Error 2
    i installed visual studio professional 6 sp3 as required ine the "build-windows-i586.html" file ! is the file link.exe incorrect in the pack 3??
    Thanks

  • Extra blank lines in source code

    I have built a website in Dreamweaver CS4 and have a client editing pages in Contribute CS5. Both of us are working on Windows 7, and the site is hosted on Linux. When she makes edits to the page, something is introducing a GAZILLION blank lines in the source code. A typical page for this site is about 380 lines of code. The problem page is now more than 310,000 lines code with 100-200 blank lines between every "real" line of code. What the...?!
    I need to know how to stop this and how to remove the blank lines from the source code using Dreamweaver.
    The page in question lives here: http://www.alexandercitychamber.com/member-category.html
    HELP!!!
    Jeff

    Hello, Diane -
    We've got two separate issues here, but I think we have the solution to both.
    1. How to stop Contribute from adding blank lines in the code, and
    2. How to clean up a GAZILLION lines of blank code in a document.
    First, Number 1. I assume you're working in Dreamweaver. If not, I'm not sure how to guide you. But, when you define a Contribute Site, there is an area to specify administrative roles and permissions. Under each Role, at the bottom, you will see a popup for what kind of server the site is hosted on. The default is Windows. I had to change this to Unix (Linux) to match the hosting of our problem site. Find out what platform your host is using. You will have to specify this under each admistrative Role. After doing this, I had the client make some edits, then I opened the files in Dreamweaver. No new blank lines. I admit, I still have my fingers crossed somewhat.
    Okay, now how to clean up your source code and remove blank lines. A developer friend found this on some forum I had not seen. I don't know where, but I am grateful to the person who wrote it. It didn't get all the blank lines in my files, but I think some of the others, which I removed manually, were probably from the client pasting content in from Word. Here's what to do:
    1. Open the file in Dreamweaver
    2. Click CTRL + F, or go to EDIT > FIND AND REPLACE
    3. Select "Current document" in "Find In" (You can also select the folder if you have multiple files.
    4. Search in "Source Code"
    5. Check the box labeled "Use regular expression"
    6. Type "[\r\n]{2,}" (without quotes) in "Find"
    7. Type "\n" (without quotes) in "Replace"
    8. Press "Replace All"
    The operation chugged for a few minutes with my 301,000-line document. Yours may a take a little longer, but it did work. Good luck!
    Jeff
    [email protected]

  • How to read source code in Safari?

    How do I read a web page source code using Safari?
    Thanks.

    Safari > Preferences > Advanced > Show Develop in menu bar
    then
    Develop > Show Page Source

  • Database Source Code Synchronization with PVCS

    Hello All,
    I would really appreciate your ideas/suggestions on developing, implementing the following requirement.
    I am in the process of developing a mechanism to validate the database procedure source code in the application PVCS library, that matches the source code used for QA and PRD environments. The objective is to assure that production version of stored procedure code is the correct / matching version with PVCS, QA and PRD.
    Database: Oracle 9i
    Source Control System: PVCS
    Database Objects: Stored Procedures
    Other Questions:
    - Do you know any PVCS API's to read the files?
    Thanks, Madhavi

    Hello All,
    I would really appreciate your ideas/suggestions on
    developing, implementing the following requirement.
    I am in the process of developing a mechanism to
    validate the database procedure source code in the
    application PVCS library, that matches the source code
    used for QA and PRD environments. The objective is to
    assure that production version of stored procedure
    code is the correct / matching version with PVCS, QA
    and PRD.This is going to take a lot of work and I am not even sure that is is deterministic. And it is easily handled by the correct process control as well.
    The following process control steps allow this.
    - Developement ONLY delivers scripts for database changes. Thus table changes, data changes, new procs, old procs, what ever are delivered as scripts and are checked into version control.
    - QA does NOT use anything that is not in the version control system. No disks, memory sticks, emails, etc (and in particular QA does NOT use developement database servers for testing.)
    - QA are the ONLY ones allowed to install anything to production. This includes all the DBAs and it includes "emergency" fixes (which usually greatly diminsh if the above is followed and QA is actually testing stuff.)
    The last step can be enforced either by simply disallowing change access to production machines except for QA and non-developement (MUST be non-developement) admin.
    But if you insist, people have been interfacing programmitically with Oracle and PVCS for years. You can search the net for thousands of these. I suspect that you will find that Perl is used a lot in this (but that could be my own bias.)

  • Very Easy Question: How to view source code of JAR file

    Hi Experts,
    1) Can we can see the content of JAR file?
    2) How we can we see content of JAR file?
    3) I have with me JAR file. It is sap.compcui_gpoadp~ObjectAndDataProvider.JAR. I have to make some changes in the JAR file source code. How I can find the source code?
    I tried to see the source code using NWDS. However, I can not see the code.
    Regards,
    Gaurav

    >
    Gary wrote:
    > Can I make changes in the source code of JAR file? Can I make changes in the code?
    You cannot do this by simple repacking/rearchiving of JAR, because it contains special descriptor with fingerprint. In general, JAR is unmodifiable, however, you can create a new one with modified sources.
    You can try to import the JAR in some Java project in Eclipse, for example. Then make your changes and use the Eclipse's Export JAR wizard in order to repack the modified source Java files in a new JAR.
    >
    Gary wrote:
    > Can I rename the JAR file and still it will usable? Please confirm.
    I general, yes, the operation is allowed. However, you cannot do this with JAR deployed on some J2EE server or Portal, for example. Because there are references to it.
    >
    Gary wrote:
    > Please let me know if by any chance I can see the content of JAR file in NWDS.
    Yes, sure. Use Import from Archive wizard in Eclipse. Or add the JAR in the class path of some Java project and Eclipse will show you the content of it.
    BR, Sergei

Maybe you are looking for