Oops, let me re-state that:

message.help = \n\n
=================================\n\
This is a multiline help message \n\
and you have to do the \n\
stuff to get newlines.\n\
==================================\n

You have to include the "\n" prior to the line-extension or it will just
come out without them.

----- Original Message ----- 
From: "khote" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 21, 2003 1:55 PM
Subject: Re: restricting maven -g


> I wrote a file called message.properties
> Up near the top of my maven.xml, prior to any <goal> being executed:
>
>   <util:properties file="message.properties"    trim="true"/>
>
> which contains various helps, including a general help message:
>
> message.help = This is a help message \
> that takes place over multiple lines \
> etc.
>
> Then I create a
> <goal name="help">
>   <echo message="${message.help}"/>
> </goal>
>
> in my maven.xml, this seems to do for me.
> It's not at all like ant -projecthelp, you have to maintain it yourself,
but
> it does give me the functionality I want.
>
> ----- Original Message ----- 
> From: "Laurie Harper" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 21, 2003 1:52 PM
> Subject: Re: restricting maven -g
>
>
> > Sorry for the slow response, I was on vacation! I understand I can get
> > Maven not provide so much functionality :-) but that's not quite what I
> > was looking for. When someone checks out my source tree, I want them to
> > be able to get the equivalent of 'ant -projecthelp' or something:
> > essentially, I want them to see a list of 'what targets are specifically
> > of interest for this project?' For example, if it's not a web app then
> > the war targets wont be useful, but the user might want that plugin
> > installed for use on other projects.
> >
> > Hope that makes a bit more sense.
> >
> > L.
> >
> > Dominik Dahlem wrote:
> > > Maven comes with plugins which provide most of the functionality you
> > > need. If there are any plugin which are not needed in your development
> > > environment you can delete them from the plugins list.
> > > Since some plugins are moved out of the core newer version of maven
just
> > > contain only those which are commonly needed.
> > >
> > > Dominik
> > >
> > > On Fri, 2003-10-10 at 03:55, Laurie Harper wrote:
> > >
> > >>Maven's coming along fast! :-) The trouble is, now 'maven -g' produces
a
> > >>somewhat overwhelming amount of options. Is there any way to constrain
> > >>the output to only list I expect my co-developers to care about?
> > >>
> > >>L.
> > >>
> > >>
> > >>
> > >>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to