Re: dojo in Geronimo (long)

2006-10-09 Thread Jay D. McHugh
Jason Dillon wrote: I've done this more times than I'd like to remember, even from a web app... lemme know if you want a code snip. A code snip would be great - Being able to initiate the built in dojo build would be much simpler that parsing and rebuilding the javascript code myself. Jay

Re: dojo in Geronimo (long)

2006-10-07 Thread Jason Dillon
Invoking Ant from code is trivial. Create a Project, initialize it, create a Task, configure it, execute it. I've done this more times than I'd like to remember, even from a web app... lemme know if you want a code snip. --jason On Oct 7, 2006, at 12:27 AM, Jacek Laskowski wrote: On 10

Re: dojo in Geronimo (long)

2006-10-07 Thread Jacek Laskowski
On 10/6/06, Jay D. McHugh <[EMAIL PROTECTED]> wrote: But, how would you trigger ant from a servlet? Don't know how much it matters, but Ant is a bunch of Java classes so a servlet can instantiate some and execute some kind of startup method where Ant will get kicked off. Jacek -- Jacek Lasko

Re: dojo in Geronimo (long)

2006-10-06 Thread Jay D. McHugh
Paul McMahan wrote: If you pull the dojo src tree from svn there is an additional directory at buildscripts/profiles. You can use ant to build a custom dojo.js based on the profiles in there. Seems like the servlet could get passed a profile name and invoke ant to create the custom dojo.js on t

Re: dojo in Geronimo (long)

2006-10-06 Thread Paul McMahan
If you pull the dojo src tree from svn there is an additional directory at buildscripts/profiles. You can use ant to build a custom dojo.js based on the profiles in there. Seems like the servlet could get passed a profile name and invoke ant to create the custom dojo.js on the fly. The output c

Re: dojo in Geronimo (long)

2006-10-05 Thread Jay D. McHugh
Paul McMahan wrote: You raise a good point and it sounds like the idea would work, but I'm concerned it could lead to a proliferation of dojo webapp components, one for each custom configuration. I wonder if it might be possible to instead create a servlet in the current dojo app that could bui

Re: dojo in Geronimo

2006-10-05 Thread Jay D. McHugh
Paul McMahan wrote: You raise a good point and it sounds like the idea would work, but I'm concerned it could lead to a proliferation of dojo webapp components, one for each custom configuration. I wonder if it might be possible to instead create a servlet in the current dojo app that could bui

Re: dojo in Geronimo

2006-10-05 Thread Paul McMahan
You raise a good point and it sounds like the idea would work, but I'm concerned it could lead to a proliferation of dojo webapp components, one for each custom configuration. I wonder if it might be possible to instead create a servlet in the current dojo app that could build and cache custom c

Re: dojo in Geronimo

2006-10-05 Thread Christopher M. Cardona
Hello Jay, I agree with your idea to improve Dojo’s performance in G. I suggest you create a JIRA for this so we can keep track of it. You might want to checkout the Dojo builder (uses ant) which packages js and related files into a single compressed js file. I think somebody from the devlist

dojo in Geronimo

2006-10-05 Thread Jay D. McHugh
Hello all, I finally managed to get my project development/testing server up and working on 1.2-snapshot (Thanks again djencks!). And I finally got to see the JMX console that was added - Which is very cool. But, I think that it brings to light a performance issue. Because we are using do