Look at the flags of the CodeServer.  You can use flag "-workDir" to 
specify the directory specifically where output is compiled to.

http://www.gwtproject.org/articles/superdevmode.html

If you do not use this flag, it outputs to a temporary directory.  The 
directory is output when the CodeServer is started up.

https://gwt.googlesource.com/gwt/+/release/2.7/dev/codeserver/java/com/google/gwt/dev/codeserver/CodeServer.java

Since the "CodeServer" serves the code, you could also just talk to it 
directly, via its api, to download files.  IE instead of pushing the 
updated code to the phonegap app, if SDM is enabled in the compiled app, it 
will automatically redirect to the codeserver. You could look at how GWT 
turns on SuperDevMode with the old bookmarklets and do something similar by 
injecting javascript into the webpage. 

On Wednesday, November 12, 2014 11:31:20 PM UTC-7, Ali Akhtar wrote:
>
> There is a way to have a very fast compile -> refresh cycle for phone app 
> development, i.e hitting 'Compile' for SDM, and having the app refresh on 
> your phone.
>
> This can be done through Phonegap's app ( http://app.phonegap.com/ ) 
> which monitors your www folder. Each time you make any changes, they are 
> sent over wifi to your phone, and your app auto refreshes on the phone. 
>
> A similar utility can be written, which monitors SDM's output folder. Each 
> time you do an SDM compile, it syncs the SDM output folder with phonegap's 
> www, which would then trigger a refresh on your phone.
>
> I think this can be very productive, and I'm happy to write this utility. 
> However, I need to know how it would determine where SDM's output directory 
> is located. I.e, can the user find out where the output is being stored, 
> and pass the path as an argument to the directory? If not, the user can 
> just input the codeserver url, and the files can be monitored via an http 
> request, although that would be less efficient.
>
> Please let me know of your thoughts and how to determine SDM's output 
> directory path, or if there's a better way to do what I'm trying to 
> accomplish.
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to