Compilation errors while trying to perform a Maven build from Eclipse

1,744 views
Skip to first unread message

Thejdeep G

unread,
May 31, 2017, 8:44:36 PM5/31/17
to Closure Compiler Discuss
Hi,

I am getting the following errors while trying to perform a Maven build from Eclipse :

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] bootstrap class path not set in conjunction with -source 1.7
/home/../Documents/Github/closure-compiler/test/com/google/javascript/jscomp/parsing/ParserTest.java:[23,65] error: package com.google.javascript.jscomp.parsing.parser.testing does not exist
[ERROR] /home/../Documents/Github/closure-compiler/test/com/google/javascript/jscomp/parsing/ParserTest.java:[23] error: static import only from classes and interfaces
[ERROR] /home/../Documents/Github/closure-compiler/test/com/google/javascript/jscomp/parsing/parser/FeatureSetTest.java:[18,65] error: package com.google.javascript.jscomp.parsing.parser.testing does not exist
[ERROR] /home/../Documents/Github/closure-compiler/test/com/google/javascript/jscomp/parsing/parser/FeatureSetTest.java:[18] error: static import only from classes and interfaces
[INFO] 4 errors 


I am using Java 1.8 to compile the project.

Please let me know if I am doing something wrong.

Thanks.

Tyler Breisacher

unread,
May 31, 2017, 8:46:12 PM5/31/17
to closure-compiler
Yeah, our build is currently broken at head. I'll go ahead and do a MOE push.

--

---
You received this message because you are subscribed to the Google Groups "Closure Compiler Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-compiler-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/closure-compiler-discuss/78a37a05-e85b-449e-9ced-2f8fd88fba52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thejdeep G

unread,
May 31, 2017, 8:51:04 PM5/31/17
to Closure Compiler Discuss
Please do it, that would be great.
Also, could you please reply here once done.

Thanks so much.

Tyler Breisacher

unread,
May 31, 2017, 9:21:59 PM5/31/17
to closure-compiler
If you pull the latest code it should work now. I'm keeping an eye on https://travis-ci.org/google/closure-compiler/builds/238168537 as well.

On Wed, May 31, 2017 at 5:51 PM, Thejdeep G <tejd...@gmail.com> wrote:
Please do it, that would be great.
Also, could you please reply here once done.

Thanks so much.

On Wednesday, May 31, 2017 at 5:46:12 PM UTC-7, Tyler Breisacher wrote:
Yeah, our build is currently broken at head. I'll go ahead and do a MOE push.
On Wed, May 31, 2017 at 5:42 PM, Thejdeep G <tejd...@gmail.com> wrote:
Hi,

I am getting the following errors while trying to perform a Maven build from Eclipse :

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] bootstrap class path not set in conjunction with -source 1.7
/home/../Documents/Github/closure-compiler/test/com/google/javascript/jscomp/parsing/ParserTest.java:[23,65] error: package com.google.javascript.jscomp.parsing.parser.testing does not exist
[ERROR] /home/../Documents/Github/closure-compiler/test/com/google/javascript/jscomp/parsing/ParserTest.java:[23] error: static import only from classes and interfaces
[ERROR] /home/../Documents/Github/closure-compiler/test/com/google/javascript/jscomp/parsing/parser/FeatureSetTest.java:[18,65] error: package com.google.javascript.jscomp.parsing.parser.testing does not exist
[ERROR] /home/../Documents/Github/closure-compiler/test/com/google/javascript/jscomp/parsing/parser/FeatureSetTest.java:[18] error: static import only from classes and interfaces
[INFO] 4 errors 


I am using Java 1.8 to compile the project.

Please let me know if I am doing something wrong.

Thanks.

--

---
You received this message because you are subscribed to the Google Groups "Closure Compiler Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-compiler-discuss+unsubscr...@googlegroups.com.

--

---
You received this message because you are subscribed to the Google Groups "Closure Compiler Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-compiler-discuss+unsub...@googlegroups.com.

Tyler Breisacher

unread,
May 31, 2017, 9:31:46 PM5/31/17
to closure-compiler
There are some other test failures but if you just need to build the compiler it should work with '-DskipTests=true'

Thejdeep G

unread,
May 31, 2017, 9:35:43 PM5/31/17
to Closure Compiler Discuss
I go this error which I do not think is a test case failure :

ERROR] Manifest com.google.javascript:closure-compiler-linter:jar:1.0-SNAPSHOT : The default package '.' is not permitted by the Import-Package syntax. 
 This can be caused by compile errors in Eclipse because Eclipse creates 
valid class files regardless of compile errors.
The following package(s) import from the default package [com.google.javascript.rhino.testing]
[ERROR] Error(s) found in manifest configuration
To unsubscribe from this group and stop receiving emails from it, send an email to closure-compiler-discuss+unsub...@googlegroups.com.

--

---
You received this message because you are subscribed to the Google Groups "Closure Compiler Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-compiler-discuss+unsub...@googlegroups.com.

Thejdeep G

unread,
May 31, 2017, 9:47:32 PM5/31/17
to Closure Compiler Discuss
Works with a command line build but not within Eclipse. Thanks though.
Reply all
Reply to author
Forward
0 new messages