google / google/closure-compiler

embedding closure compiler on java project classpath problem

Open
#2,562 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.7k
Forks
1.2k
Avg merge
2d 12h
Merged PRs (30d)
6

Description

hello,

i have embedded closure compiler on a java project, and everything work fine.

my classpath it's ./lib/*
where i also have gson.2.2.4

closurecompiler export gson as well, and gson2.2.4 get overwritten, so i got some classpath issue when using gson feature.

if i manually set the classpath with order of jar (gson first, closure after) my code work, but this will mess with closurecompiler?

how can i handle this situation?

what version of gson you use? u have embed all the gson lib or just a part?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.