Can I start the Flex client inside IntelliJ inside and talk to the instance of a separately deployed server? Java webapp server. This will greatly facilitate development, especially debugging. What I'm trying to avoid is rebuilding and redeploying the webapp to get the updated Flex code in it. I want to just create flex and run it on the server.
The flex client is embedded in the HTML page on the server, so during the production process, users access the client by going to the web page. We use GraniteDS if this is important.
Update
I managed to collect something, but it's ugly.
- I made a copy of our HTML cover page and fixed the links to link to the SWF in the target
- I am configuring the IntelliJ startup configuration to point to this HTML page
- I set the "SWF place file to a local trusted sandbox" to true
- The values
{server.name} , {server.port} and {context.root} in the configuration file service-config.xml GraniteDS on localhost, etc. are hardcoded.
I can mavenize # 1, but # 3 is not really a permanent solution. This part is still a problem because I cannot verify this. Any improvements or alternative solutions?
source share