caofangkun / closure-templates

Automatically exported from code.google.com/p/closure-templates
Apache License 2.0
0 stars 0 forks source link

Setting bootclasspath for Java 1.7 #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Have Java 1.7 installed
2. Under Windows, the Java 1.7 bin folder is set in the PATH variable, e.g. 
C:\Program Files\Java\jdk1.7.0_02\bin
3. Run ant in the root folder of closure-templates

What is the expected output? What do you see instead?
Expected: Successful Build.
Instead: Build failes due to missing bootclasspath option and -Werror flag.

What version of the product are you using? On what operating system?
SVN rev. 27 on Windows 7 x64

Please provide any additional information below.
Either remove the -Werror flag or let the bootclasspath option be defined via 
environment variables. Patch attached, according to 
http://stackoverflow.com/a/7355205/344480

Original issue reported on code.google.com by mstock...@googlemail.com on 31 Jul 2012 at 1:47

Attachments:

GoogleCodeExporter commented 8 years ago
Closure Templates has migrated to GitHub, 
https://gitub.com/google/closure-templates. Please reopen this there if it's 
still an issue.

Original comment by brendan....@gmail.com on 27 Feb 2015 at 12:00