There are some complicated enterprise configurations where the application 
is dependent on other applications. And staging this on an external web 
server is challenging. I've seen enough web server configurations to want 
bookmarklets to work. I know it's not the preferred way to boot up SDM, but 
it would be quite handy to have bookmarklets fire of the compile and link 
up the resources. 

Does anybody have a workaround for the bookmarklet's javascript? And could 
we get this fixed in GWT 2.8? 


The project below, the first compile works just fine using the CodeServer 
and firing off the compile from the bookmarklet. But then the second 
compile request to the code server fails because it must not be sending 
some query string property so it only binds to one permutation. 
```

Turning off precompile in incremental mode.

Super Dev Mode starting up

   workDir: 
/var/folders/x8/9wz7qtw96t7grkdyjw1l61p40000gn/T/gwt-codeserver-5458587005926250195.tmp

   Loading Java files in com.gonevertical.snowy.SnowyMountainProject.

   Module setup completed in 19801 ms

Sep 09, 2016 11:45:00 AM org.eclipse.jetty.server.Server doStart

INFO: jetty-8.y.z-SNAPSHOT

Sep 09, 2016 11:45:00 AM org.eclipse.jetty.server.AbstractConnector doStart

INFO: Started [email protected]:9876


The code server is ready at http://localhost:9876/

GET /recompile/SnowyMountainProject

   Job com.gonevertical.snowy.SnowyMountainProject_1_0

      starting job: com.gonevertical.snowy.SnowyMountainProject_1_0

      binding: gxt.device=desktop

      binding: gxt.user.agent=chrome

      binding: locale=default

      binding: user.agent=safari

      binding: user.agent.os=mac

      Compiling module com.gonevertical.snowy.SnowyMountainProject

         Unification traversed 32527 fields and methods and 3143 types. 
3090 are considered part of the current module and 3090 had all of their 
fields and methods traversed.

         Compiling 1 permutation

            Compiling permutation 0...

            Linking per-type JS with 3074 new types.

               prelink JS size = 5557062

               prelink sourcemap = 5557062 bytes and 143563 lines

               postlink JS size = 5235031

               postlink sourcemap = 5235031 bytes and 135811 lines

            Source Maps Enabled

         Compile of permutations succeeded

         Compilation succeeded -- 14.026s

      Linking into 
/var/folders/x8/9wz7qtw96t7grkdyjw1l61p40000gn/T/gwt-codeserver-5458587005926250195.tmp/com.gonevertical.snowy.SnowyMountainProject/compile-2/war/SnowyMountainProject;
 
Writing extras to 
/var/folders/x8/9wz7qtw96t7grkdyjw1l61p40000gn/T/gwt-codeserver-5458587005926250195.tmp/com.gonevertical.snowy.SnowyMountainProject/compile-2/extras/SnowyMountainProject

         Link succeeded

         Linking succeeded -- 0.693s

      14.859s total -- Compile completed

GET /recompile/SnowyMountainProject

   Job com.gonevertical.snowy.SnowyMountainProject_1_1

      starting job: com.gonevertical.snowy.SnowyMountainProject_1_1

      binding: locale=default

      binding: user.agent=safari

      Compiling module com.gonevertical.snowy.SnowyMountainProject

         [ERROR] Current binding properties are expanding to more than one 
permutation but per-file compilation requires that each compile operate on 
only one permutation.

      [WARN] recompile failed

      [WARN] continuing to serve previous version

GET /recompile/SnowyMountainProject

   Job com.gonevertical.snowy.SnowyMountainProject_1_2

      starting job: com.gonevertical.snowy.SnowyMountainProject_1_2

      binding: locale=default

      binding: user.agent=safari

      Compiling module com.gonevertical.snowy.SnowyMountainProject

         [ERROR] Current binding properties are expanding to more than one 
permutation but per-file compilation requires that each compile operate on 
only one permutation.

      [WARN] recompile failed

      [WARN] continuing to serve previous version

```


Thanks,

Brandon

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/d901d28f-f713-4a0b-a0dc-17dce01e5da4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to