What does Unknown argument: -style" mean?

140 views
Skip to first unread message

Rob Tanner

unread,
Dec 2, 2009, 6:28:46 PM12/2/09
to Google Web Toolkit
In order to solve another problem, it was recommended that I switch to
GWT 2.0RC2 (I was running 1.7.1). I downloaded both the toolkit and
the Eclipse plugin and followed the instruction, including a fresh
Eclipse install. I tried running my application and got the "Unknown
argument: -style" error. So just to be safe a created a new
application using 2.0RC2 and copy all my java files over. I try
running that and same error. Here's a bit more detail:

Unknown argument: -style
Google Web Toolkit 2.0.0-rc2
DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist-
string] [-blacklist blacklist-string] [-logdir directory] [-logLevel
level] [-gen dir] [-codeServerPort port-number | "auto"] [-server
servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir] [-
workDir dir] module[s]


"-style" is not something that I added to the app's run configuration
so I'm at a loss here. Any ideas?

-- Rob

Yozons Support on Gmail

unread,
Dec 2, 2009, 6:36:05 PM12/2/09
to google-we...@googlegroups.com
It really sounds like your project is not using the 2.0RC2 compiler.  Double check the eclipse project properties for the Google->Web Toolkit.  Then check the Java Build Path shows under the Libraries tab your GWT SDK that's also 2.0RC2.  Not sure otherwise...

Rob Tanner

unread,
Dec 2, 2009, 6:45:37 PM12/2/09
to Google Web Toolkit
I think I already checked more than once, but checking again never
hurts. Everything points to 2.0RC2.

Ezra

unread,
Dec 3, 2009, 9:20:21 AM12/3/09
to Google Web Toolkit

Jeff Chimene

unread,
Dec 3, 2009, 9:45:44 AM12/3/09
to google-we...@googlegroups.com
Would you  please post the version number of the Google plugin?

You're definitely running the RC2 compiler.

Rob Tanner

unread,
Dec 3, 2009, 4:50:42 PM12/3/09
to Google Web Toolkit
The full version number 1.1.2.v200910131704. The odd thing is if I
switch back to the 1.7.1 toolkit (but continue to use currently
installed plugin), I have no problem in hosted mode.

Rob Tanner

unread,
Dec 3, 2009, 4:51:47 PM12/3/09
to Google Web Toolkit
Yep. It sure looks like the same thing.

On Dec 3, 6:20 am, Ezra <esk...@gmail.com> wrote:
> Your "unknown argument: -style" issue seems similar tohttp://groups.google.com/group/google-web-toolkit/browse_thread/threa...

Thomas Broyer

unread,
Dec 3, 2009, 7:36:12 PM12/3/09
to Google Web Toolkit


On 3 déc, 22:50, Rob Tanner <caspersg...@gmail.com> wrote:
> The full version number 1.1.2.v200910131704.

The 1.2rc2 Eclipse plugin is version 1.1.101.v200911250703.

Have you uninstalled the previous plugin version? (the one from the
update site, the "official", the one you were using with GWT 1.7)


Reply all
Reply to author
Forward
0 new messages