Thomas,
I found the problem line this by adding "-Dgwt.logLevel=ALL" to a
command line compile of Maven with a redirected output to a file (required to
capture the very verbose output since it overflowed both terminal sessions and
Eclipse console).
The warning error states line 9. But it is actually line 323 of the
file that had the error. In the detailed compile log it actually stated line
350 is the issue since it was part of a larger block. I deduced the problem
area by in the detailed compile log it shows the statements being processed.
This eventually allowed me to find the line causing the problem.
The line counter is reseting somehow on the conditional compile. It was
line 9 of a block delineated by the following:
@if user.agent safari {
/**** 8 lines here **/
}
Jens,
Thanks for the hint of the literal. I had it as a literal statement,
but my closing apostrophe was actually a !@#$ smart apostrophe so the literal
statement was not closed correctly.
Tim
On Oct 16, 2013, at 4:46 AM, Thomas Broyer <[email protected]> wrote:
>
>
> On Wednesday, October 16, 2013 6:21:38 AM UTC+2, Timothy Spear wrote:
> I am getting the following warning on compile:
>
> [INFO] Invoking generator
> com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
> [INFO] Preparing method css
> [INFO] The following problems were detected
> [INFO] [WARN] Line 9 column 8: encountered "}". Was
> expecting one of: "+" "-" "," "/" ")" <STRING> <IDENT> <NUMBER> <URL>
> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD>
> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <HASH> <UNICODERANGE> <FUNCTION>
>
> The problem is I have a lot of CSS. All of it displays correctly in Eclipse
> in CSS Editors.
> So, is there a way to display the actual segment being processed? This would
> help find the offending file and segment.
>
> AFAICT, the log here (second line) points to a "css()" method in a
> ClientBundle; that would help you find the CSS file with the error.
> The last line tells you it's line 9 in this file.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.