-
12 Dec 2012 6:09 AM #1
Integrating Architect with Eclipse
Integrating Architect with Eclipse
Hi, I am interested in adopting Architect as a way to off-load UI work from direct JavaScript edits from Eclipse, and to get all the benefits from Architect as a whole.
Think my project as a web app that is built with Eclipse for all he layers and I need to keep the REST, persistence, businness logic and JUnit tests within the Eclipse, bundled and deployed locally with Tomcat, and create and maintain the UI with Architect.
1. Will Architect allow me to set up an HttpStore that will bind the REST backend running in the same box?
2. Can I set tup Architect to store the .js files into the Eclipse workspace folder structure so I will be allways ready to launch the app for debugging/testing with fresh updated JavaScript code from the Architect session (so the Architect project overlaps with the Eclipse workspace at the file system level).
-
12 Dec 2012 7:02 AM #2
I use it that way.
Put SA project in eclipse project's top level folder so you can easily add to version control.
In SA project I set "publish path" to "<Project's folder>/WebContent/"
You should write your own html entry page.
Caveat:
Every time you publish your application from SA you meed to refresh "<Project's folder>/WebContent/app" in eclipse so republish to Tomcat is triggered. You can also set "Refresh using native hooks on polling" in eclipse's preferences dialog.
Regards.UI: Sencha Architect 2.x / ExtJS 4 MVC
Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
Application Server: Glassfish 3.1.x
Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5
If you like my answer please vote!
-
12 Dec 2012 7:46 AM #3
Sounds good, the solution tou are preenting to me loks nice and think I now I am getting eager to try myself, as the caveatyou mentioned is also a step to haev in mind if changes do not reflect instantly. Thank you
-
12 Dec 2012 7:47 AM #4
By the way I dont see an answer to "1. Will Architect allow me to set up an HttpStore that will bind the REST backend running in the same box?".....
-
12 Dec 2012 8:19 AM #5
UI: Sencha Architect 2.x / ExtJS 4 MVC
Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
Application Server: Glassfish 3.1.x
Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5
If you like my answer please vote!


Reply With Quote