Reputation: 127
I am working on flex application and whenever I do any change in action scripts or mxml file I'll have to build it create a war file and deploy it on local tomcat server. Is there any way I could do hot deployment for flex for tomcat?
Thanks Sach
Upvotes: 1
Views: 257
Reputation: 3145
You can use a custom Builder if you are using Flash Builder.
I'm using a simple batch file that copies the output from bin-debug
to Tomcat's webapps
folder after every build.
@ECHO OFF
IF NOT EXIST "%1" GOTO END
IF NOT EXIST "%2" GOTO END
DEL /Q "%2\*.*"
COPY /Y "%1\*.*" "%2"
:END
ECHO ON
Configure the Builder like this: Go to Project -> Properties -> Builders and add a new Builder.
Upvotes: 2