I got this JVM.terminated.exit code -1 error while I am setting -Xmx2048m as maximum memory allocation. How can we set -Xmx2048m in eclipse.ini. My application throws out of memory error in -Xmx1024m configuration. So I should increase the memory size. I attached eclipse error log and eclipse.ini.
Eclipse has a built in functionality to find unused variables (and methods too I guess). Flash Builder 4 is built on top of Eclipse but it doens't have that functionality. Do you know any plugin to achieve that functionality? Also, if you know any other kind of plugin besides SourceMate to improve Flash Builder let me know.
I have a ear file and a war file, need to deploy them in two different ports such as 8443 and 5480 respectively. How to configure two ports seperately for those two files. I have no experience configuring JBoss.
Our project badly needs to move to Flexmojos4 to get a fix, but this requires Maven 3. Our project makes extensive use of Maven and we really love it, but have configured it very heavily. Between a dozen modules we probably have 50+ pages of XML configuration.
We also use Eclipse and make heavy use of the M2Eclipse plug-in. We also use the following Maven plug-ins:
I would like to know how to build a flex based flash file and handle it through java but the open-source way. I would like to learn using flex to develop webpages. Is there any way to implement it using eclipse IDE.
Windows 7 64 bitBoth JDK installed for 64 and 32 bit Eclipse Helios 32 bitFlex builder 4.5 32 bit I have installed Flex Builder and run exe from utility folder to add eclipse plugin .I have added memory setting sin eclipse.inibut eclipse crashes when i swicth to flex perspective .
# A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d8832ca, pid=5688, tid=5152
I'm using Eclipse and I'm wondering what the best Eclipse/Java/Flexbuilder code review tool is. If it matters we're using SVN as our SCM. Here are the following I've come across: Jupiter - seems like it's been around for awhile it looks like there is only a single developer on the project and the documentation mentions rather old versions of Eclipse IBM's Collaborative Code Review plugin for eclipse - seems like its a proprietary code review tool so not sure it will be supported in the future (or have the ability for a community to assist in development). Eclipse COLA real-time shared editing - Not really a code review tool but more a way to view/edit files peer-to-peer style allowing code review like collaboration. Check out this video demonstration of COLA.
In Eclipse (and Flash/Flex Builder) you get the option with Ctrl+Shift+F to do a file search and look for a regular expression. Would be a real handy thing to know.
I want to find the word negate if it appears in a Flex/java comment like the following:
i've installed the Perforce Eclipse plugin successfully in Flash Builder 4.5.however, the only problem i've run into is that whenever i open a ActionScript file (either one that is or isn't checked out) there is no syntax coloring - it's simply a white background with black text.
i've changed themes so that i have a dark background with different colored syntax but Perforce also removes that coloring, although this time it's the dark background with all white text.
Given a "run configuration" in Eclipse, I want to print out the associated shell command that would be used to run it.
For example: Right now, in Eclipse, if I click "play" it will run: mvn assembly:directory -Dmaven.test.skip=true
I don't see that command, I just know that's what the IDE must run, at some point. However, some of the other run configurations are far more complex with long classpaths and virtual machine options and, frankly, sometimes I have no idea what the equivalent shell command would be (particularly when it comes to Flex).
There must be some way to access the shell command that would be associated with a "Run Configuration" in Eclipse/Flex Builder. This information must be available, which leads me to believe someone has written a plugin to display it. Or maybe there's already an option built into Eclipse for accessing this.
So is there a way to, essentially, convert an Eclipse run configuration into a shell command? (for context only: I'm asking because I'm writing a bash script that automates everything I do, during development--from populating the Database all the way to opening Firefox and clearing the cache before running the web app.So every command I run from the IDE needs to exist in the script. Some are tricky to figure out.)
I want to run the Flex SDK 4.5.1 on Eclipse IDE. I have followed this http:[url].....step by step and it was same as it was written.But then when i first built my sample code and ran it, it gave me these errors. I cant figure out what the problem is:This is the sample code:
and these are the ERRORS: Loading configuration file C:Mario's FilesSTFFlex SDKflex_sdk_4.5.1.21328frameworksflex-config.xml _application_Styles.as(24): col: 38 Error: Syntax error: expecting rightparen before s.[code]....
Do we have to get a compatible Eclipse-FlexSDK-Flash version??
I've migrated to FDT from flashdevelop and kind of have a hard time getting things to work the way I'm used to. In Flashdevelop, you could easily choose if the compiled swf was a release or debug version. In FDT however, it seems like there is no way to compile a version that has debugging information without it automatically opening up the debug perspective with a ton of debug windows, a profiler and actually entering debug mode.
As an extra plus, I keep getting a message saying "This feature is only available in FDT Max", although from what I know the debugger is included in the free version. Is there a way to do what I'm trying to do or should I just get used to this new way of working?
I am looking into using FDT (I currently use FB4), downloaded the free eclipse plugin, version 5.0, and configured it. I was trying to figure out how to compile a css to a swf file with it. This is super simple in Flash Builder, e.g. right click the css file and choose Compile CSS to SWF. I looked around and there is info on doing it via command line etc. Is there a way to do this in FDT eclipse plugin?
I am a .NET Developer, but the question I am having is not related to .NETPlease keep this in mind even if my question sounds very trivial.This is my question:We have an swf in the browser, which communicates with a java extensionIts done using Smartfox Server(Used for MMO apllications)From the swf we are grabbing a portion of the screen as "Byte Array" in action script(3).And in Java, we are calling a function that converts the ByteArray to Image and then saves it.ur Java developer is encountering the errorSo basically, what I would like to know is this:How to accept the object type Byte Array from ActionScript in Java?Whats Java object type that is mapped to Byte Array in ActionScript?The conversion part is easy, I dare say. code in the ActionScript Section
public function savePhoto(uName:String, ba:ByteArray, descr:String):void{ var obj:Object = {}; obj.arr = ba;
I tried with flex and java in the backend. In this, I am able to upload files till 100 MB using remote object (blazeDs) where we will read the file as byte array and send it to the java method. If the file size exceeds after that, then I get the run time error in IE.
I could play MIDI file where "filename" is a String type with "asd.mid" value. However, I tried to sent AIR's nativeprocess command to Java, it shown "could not read" error.
I have a client-server multigame suite for PC ("kind of" cross-platform using cygwin), which is developed in Java(game menus and database management), C++ (server side), and adobe Flash (game graphics & interaction).
I have never tried to develop for android, so i have no experience.I am thinking of migrating this suite to google TV. So i would like someone with android experience to give a clue on the following :
1) Is it going to be easy to migrate the Java application to an Android application?
2) What kind of Flash support does Android have? Can it load directly swf applications? Does it have to load swf's through browser?
3) Can i find any kind of performance indexes for google TV hardware?
I need to load somehow the html code of a webpage A into a javascript string of another webpage B, on a different host. I know this is impossible to do with javascript alone because of the same origin policy, and I know I could do it loading the page via php on my server and then send results back to the user's client but I wouldn't be able to handle so many requests, so I need it to be done directly by the user's browser. I can use nearly whatever browser scripting language/applet framework common enough to be installed on the majority of my users' computers, like flash and java.On example, what if I use flash or java to load the external html code and then call a javascript callback function providing the source? Could this work?
I am using Flex 3 and make a call through a RemoteObject to a Java 1.6 method and exposed with BlazeDS and Spring 2.5.5 Integration over a SecureAMFChannel. The ActionScript is as follows (this code is an example of the real thing which is on a separate dev network);
If one doesn't have the source code, the only to test is to send keystroke and mouse move so I found this product but it's not free and opensource price is not even known :([URL] Squish supports automating interactions and testing non-HTML/DOM elements, that is, native objects, which are embedded in a web page. This is done at a fairly abstract level, which means that mouse and text input can be recorded and replayed.
In addition it is possible to inspect embedded native objects with the Spy tool and to insert verifications for these native objects. All of a native object's public properties can be accessed in test scripts.
I'm building a Facebook multiplayer game where the client side is in FLEX and the server side is in Java and I wanted to know if there is a guide on how to build the server clients managing system. When I say server clients managing system, I mean a server which many clients will connect to and will be able to choose between tables to join and play or to create their own table, same way as in texas holdem poker.
i am working on a flex+java combined project.My IDE and computer configuration is as follows:
[Code]...
When i make a small change in Flex code (eg, reposition of a button...anything), and run the project on server, it does make any change on output. Actually it depends on my luck... because it makes change in output randomly.what is is happening? tried rebuild, republish, clean , restart server, restarting the IDE, restarting the computer all available feature i could think. Also, i created a simple flex project on IDE and compiled it..... everything is compiled and displayed on output.
Right away i just try to explain my problem: Using BlazeDS i got the following Javaclasses:
[Code]...
Then i got a Flex service class calling BlazeDS and executing the getCategories java method. Since Flash dosn't seem to understand typed arrays, the result from that method which i get back in flex is a simple array of untyped objects (the mapping dosn't seem to work here, even tought the class category exists in flex and has the same properties). thats the first thing. but however, i'm converting the untyped objects manually into objects of the category.as class. the second thing is that categories have child-categories within the java object, which are also ArrayLists of the type category.java. the problem about that: my result event object only contains the first level of categories, looking into them the children are allways null. i dunno why they are empty, since they ARE part of the java object category.
and the third thing (the strangest by fast), you maybe noticed i named the properties of the category.java class strange, like idCat and nameTest instead of simply id and name. why that? because the property names of my flex result objects dont seem to change when i change the java objects properties names (result object properties are named "id" and "name" but the java class object properties are named "idCAT" and "nameTEST"). that it REALLY strange, since if i set the properties, like you see at nameTEST = "TESTNAME" it IS recogniced by flex, only the proertyNAMES dont seem to be recognized at all.
i am using flash CS4 for my flash projects. now how can i export swf for Flash player 10.3 i have downloaded flashplayer_inc_playerglobal_051211.swc from [URL] but i dont know how to use it.
by the response from George Profenza i have followed instruction from [URL] but when i publish swf for Flash Player 11 it opens following screen.
[Code].....
One new thing i find out when you debug movie it will export swf in flash player but when i tested following ActionScript code it displays incorrect details.
I am newer with flex technology.I am creating a chart using ant file & .mxml in eclipse my 'ant' file executes properly but it gives following error when i opens a .swf file which is created auomatically:
Flex Error #1002: Flash Player 9.0.115 and above is required to support signed RSLs. Problem occurred when trying to load the RSL