You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 15, 2022. It is now read-only.
How do you suggest making development bearable with this setup? #5
I have a 6 module setup and it takes more than 2 minutes to compile everything and run all the servers.
How would you suggest to make development bearable with this kind of setup? I'm at the point of migrating the HTML building frontend part to PHP and accessing this bulky module setup by API.
Hi,
Can you share more details on the performance?
Is it compilation time? Maven access to dependencies? Server boot time?
The output of a build/run might help...
On Feb 15, 2014 5:19 PM, "Rafael Sanches" notifications@github.com wrote:
I have a 6 module setup and it takes more than 2 minutes to compile
everything and run all the servers.
How would you suggest to make development bearable with this kind of
setup? I'm at the point of migrating the HTML building frontend part to PHP
and accessing this bulky module setup by API.
thanks
Reply to this email directly or view it on GitHubhttps://github.com//issues/5
.
OK...
Willing to invest there.... Do you have JDOs in all the 6 modules? Maybe we
can optimize things there?
Do you have a feeling the 6 modules start in sequence or in parallel?
Which step would benefit from optimization according to you?
Do you need all 6 modules up when developing or could you develop only a
subset of them?
We need to find a way to optimize this type of dev workflow...
Any update on this? I too have this problem when trying to split an application into two modules - copying the WARs into the EAR adds a lot of time to each startup. Any way to bypass this by somehow using the WARs where they are initially built, without an EAR?
GabiAxel, I don't need to copy anything manually because I use Maven. I just do mvn clean install from the project root and then cd to the EAR directory to run locally mvn appengine:devserver or upload mvn appengine:update. Not sure if that helps, but I thought I'd share it in case.
notice "before launch"... "external tool copy resources to admin". This
is required because we need to copy our velocity templates to the global
module.
This setup allows us to run only one server directly from intellij
(skipping maven slowness) and include the whole project. It takes 10
seconds to start and we can press command + f9 to hot deploy changes in
templates and classes.
GabiAxel, I don't need to copy anything manually because I use Maven. I
just do mvn clean install from the project root and then cd to the EAR
directory to run locally mvn appengine:devserver or upload mvn
appengine:update. Not sure if that helps, but I thought I'd share it in
case.
—
Reply to this email directly or view it on GitHub #5 (comment)
.
@mosofsky-netbase that's what I tried, and the problem is that devserver is dependent on package, which builds each WAR and then copies it into the exploded EAR directory. That last copying operation is what adds some time to the process.
@mufumbo if I understand correctly, you don't really use modules in the sense of GAE and your result is a single GAE module-application, right? In my case I really need to use GAE modules because I want to have different scaling types for them.
Activity
ludoch commentedon Feb 16, 2014
Hi,
Can you share more details on the performance?
Is it compilation time? Maven access to dependencies? Server boot time?
The output of a build/run might help...
On Feb 15, 2014 5:19 PM, "Rafael Sanches" notifications@github.com wrote:
mufumbo commentedon Feb 16, 2014
All combined. Compilation take a long time due to JDO enhancement and creation of jars. Averages 7 seconds per module. (I use the latest macbook pro)
Then, running the ear takes an extremely long time to create the wars (duplicate the entire work done in the past task).
Then, finally, running each jetty for each module takes a long time.
ludoch commentedon Feb 16, 2014
OK...
Willing to invest there.... Do you have JDOs in all the 6 modules? Maybe we
can optimize things there?
Do you have a feeling the 6 modules start in sequence or in parallel?
Which step would benefit from optimization according to you?
Do you need all 6 modules up when developing or could you develop only a
subset of them?
We need to find a way to optimize this type of dev workflow...
On Sun Feb 16 2014 at 1:56:22 AM, Rafael Sanches notifications@github.com
wrote:
GabiAxel commentedon Feb 6, 2015
Any update on this? I too have this problem when trying to split an application into two modules - copying the WARs into the EAR adds a lot of time to each startup. Any way to bypass this by somehow using the WARs where they are initially built, without an EAR?
mosofsky-netbase commentedon Feb 6, 2015
GabiAxel, I don't need to copy anything manually because I use Maven. I just do
mvn clean installfrom the project root and then cd to the EAR directory to run locallymvn appengine:devserveror uploadmvn appengine:update. Not sure if that helps, but I thought I'd share it in case.mufumbo commentedon Feb 6, 2015
hey guys,
This was an old post.
In the meanwhile, the development got great again.
What we did:
are useable from the app.
https://www.dropbox.com/s/3o6gxsz8cffnnym/Screenshot%202015-02-06%2009.38.10.png?dl=0
is required because we need to copy our velocity templates to the global
module.
This setup allows us to run only one server directly from intellij
(skipping maven slowness) and include the whole project. It takes 10
seconds to start and we can press command + f9 to hot deploy changes in
templates and classes.
thanks
rafa
On Fri, Feb 6, 2015 at 9:32 AM, mosofsky-netbase notifications@github.com
wrote:
GabiAxel commentedon Feb 6, 2015
Thanks for the answers.
@mosofsky-netbase that's what I tried, and the problem is that devserver is dependent on package, which builds each WAR and then copies it into the exploded EAR directory. That last copying operation is what adds some time to the process.
@mufumbo if I understand correctly, you don't really use modules in the sense of GAE and your result is a single GAE module-application, right? In my case I really need to use GAE modules because I want to have different scaling types for them.