[gwt-contrib] com.google.gwt.dev.SourceSaver cannot be compiled with java6

2015-03-02 Thread Juan Pablo Gardella
Hi team,

I've just imported gwt-dev in Eclipse and I saw there is only one class
that doesn't compile: *com.google.gwt.dev.SourceSaver*:


line 213:try (InputStream resourceAsStream =
Resources.asByteSource(resource).openStream();
 OutputStream out = dest.openForWrite(destPrefix + path);) {
  ByteStreams.copy(resourceAsStream, out);
 }

If I change to the compiler compliance to 1.7 it works. Should the
eclipse/README.txt be updated?

eclipse/README.txt:
 Compiler settings 
Window-Preferences-Java-Compiler
Set the compiler compliance level to 1.6.

Juan

-- 
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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CA%2BkiFse3mu9hURYFcPGeFP5uCWgf-c1SM2DzEFSSVXs6m86qUg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] com.google.gwt.dev.SourceSaver cannot be compiled with java6

2015-03-02 Thread 'Daniel Kurka' via GWT Contributors
Yes the readme needs to be updated. Trunk does not support java6 anymore.
Mind sending a patch?

On Mon, Mar 2, 2015 at 3:38 PM, Juan Pablo Gardella 
gardellajuanpa...@gmail.com wrote:

 Hi team,

 I've just imported gwt-dev in Eclipse and I saw there is only one class
 that doesn't compile: *com.google.gwt.dev.SourceSaver*:


 line 213:try (InputStream resourceAsStream =
 Resources.asByteSource(resource).openStream();
  OutputStream out = dest.openForWrite(destPrefix + path);) {
   ByteStreams.copy(resourceAsStream, out);
  }

 If I change to the compiler compliance to 1.7 it works. Should the
 eclipse/README.txt be updated?

 eclipse/README.txt:
  Compiler settings 
 Window-Preferences-Java-Compiler
 Set the compiler compliance level to 1.6.

 Juan

 --
 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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/CA%2BkiFse3mu9hURYFcPGeFP5uCWgf-c1SM2DzEFSSVXs6m86qUg%40mail.gmail.com
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/CA%2BkiFse3mu9hURYFcPGeFP5uCWgf-c1SM2DzEFSSVXs6m86qUg%40mail.gmail.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 
Google Germany GmbH
*Dienerstr. 12*
*80331 München*

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Katherine Stephens

-- 
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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujiociaeGBxnQA1DSXi9_Jot8Z4hNeF--iadUcY1mz6O5UQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] com.google.gwt.dev.SourceSaver cannot be compiled with java6

2015-03-02 Thread Juan Pablo Gardella
Done: https://gwt-review.googlesource.com/#/c/11970/

On 2 March 2015 at 11:53, 'Daniel Kurka' via GWT Contributors 
google-web-toolkit-contributors@googlegroups.com wrote:

 Yes the readme needs to be updated. Trunk does not support java6 anymore.
 Mind sending a patch?

 On Mon, Mar 2, 2015 at 3:38 PM, Juan Pablo Gardella 
 gardellajuanpa...@gmail.com wrote:

 Hi team,

 I've just imported gwt-dev in Eclipse and I saw there is only one class
 that doesn't compile: *com.google.gwt.dev.SourceSaver*:


 line 213:try (InputStream resourceAsStream =
 Resources.asByteSource(resource).openStream();
  OutputStream out = dest.openForWrite(destPrefix + path);) {
   ByteStreams.copy(resourceAsStream, out);
  }

 If I change to the compiler compliance to 1.7 it works. Should the
 eclipse/README.txt be updated?

 eclipse/README.txt:
  Compiler settings 
 Window-Preferences-Java-Compiler
 Set the compiler compliance level to 1.6.

 Juan

 --
 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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/CA%2BkiFse3mu9hURYFcPGeFP5uCWgf-c1SM2DzEFSSVXs6m86qUg%40mail.gmail.com
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/CA%2BkiFse3mu9hURYFcPGeFP5uCWgf-c1SM2DzEFSSVXs6m86qUg%40mail.gmail.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




 --
 Google Germany GmbH
 *Dienerstr. 12*
 *80331 München*

 Registergericht und -nummer: Hamburg, HRB 86891
 Sitz der Gesellschaft: Hamburg
 Geschäftsführer: Graham Law, Katherine Stephens

 --
 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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujiociaeGBxnQA1DSXi9_Jot8Z4hNeF--iadUcY1mz6O5UQ%40mail.gmail.com
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujiociaeGBxnQA1DSXi9_Jot8Z4hNeF--iadUcY1mz6O5UQ%40mail.gmail.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CA%2BkiFsdHmk8b7mX9DJ7YV22qKzV92wzKm%2BpQSC7q1Jh%3DzssfEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.