Ah, that's how that connection is made, I get it now, thanks for
clearing that up. I learn a little more about this mojo crap every
day ;).
On Sep 14, 1:07 pm, "Mirko Nasato" <[EMAIL PROTECTED]> wrote:
> It's very easy: the @parameter javadoc annotation can specify an
> 'expression' attribute. Then you can use that same expression from the
> command line.
>
> So I'd like to change in AbstractGWTMojo
>
> /**
> * GWT JavaScript compiler output style (-style OBF[USCATED], PRETTY, or
> * DETAILED).
> *
> * @parameter default-value="OBF"
> */
> private String style;
>
> to
>
> /**
> * GWT JavaScript compiler output style (-style OBF[USCATED], PRETTY, or
> * DETAILED).
> *
> * @parameter expression="${gwt.output.style}" default-value="OBF"
> */
> private String style;
>
> and possibly do the same with other parameters where it may make sense to
> pass them on the command line.
>
> 2008/9/14 Charlie Collins <[EMAIL PROTECTED]>
>
>
>
> > I think you can already do that, can't you specify any parameter on
> > the command line? I am not sure how that works, but I use stuff like -
> > Dmaven.test.skip and so on all the time. Are those special handing
> > system props that the test plugin supports, or is that just the right
> > param and Maven picks it up from POM or command line automatically?
>
> > On Sep 12, 11:02 am, "Mirko Nasato" <[EMAIL PROTECTED]> wrote:
> > > Hi Charlie et alters,
>
> > > I'd like to add some more command line expressions for the existing
> > > configuration options.
>
> > > For example, the GWT output style can be configured in the pom.xml.
> > However
> > > I typically want to leave it to default of OBF (for production), and only
> > > want to specify a different style when I encounter a JavaScript issue
> > that I
> > > need to debug. In that case it's easier to just pass the option on the
> > > command line
>
> > > mvn -Dgwt.output.style=DETAILED gwt:compile
>
> > > If there are no objections I'll create an issue in the tracker and then
> > > implement it.
>
> > > Thanks
>
> > > Mirko
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"gwt-maven" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---