Can I have something likke this?
maven.jnlp.property=foo,bar
maven.jnlp.property=foo.baz
maven.jnlp.property=bar.baz
then somehow do
for allProperties {
handle prop?
}
If possible, can you send me soemthing showing how to do this?
Thanks!
Jim
On Mon, 30 Sep 2002 [EMAIL PROTECTED] wrote:
> Jim Birchfield <[EMAIL PROTECTED]> wrote on 30/09/2002 01:50:20 AM:
>
> > I am a little unsure how to even use those elements, so not exactly sure
> > what they are for...;-)
> >
> > But there is a section called proeprties. They look like this:
> >
> > <property name="os.name" value="Linux"/>
> >
> > These are just key/value pairs that get placed in the System.properties.
> > I would want to allow the user to add any number of these. I am just
> not
> > sure how to get a some tings in Maven. Inexperience, but am learning
> > fast...;-)
>
> You could make them properties of the project, and give them a jnlp.
> prefix, then iterate through them.
>
> > Jim
> >
> > On Sun, 29 Sep 2002, Mr Dion Gillard wrote:
> >
> > > Hi Jim,
> > >
> > > --- Jim Birchfield <[EMAIL PROTECTED]> wrote:
> > > [snip]
> > > > So this works great. Now the next obstacle. I need
> > > > to allow the user to
> > > > have this in the generated file:
> > > >
> > > > <extension name="SUN Mail jar files"
> > > > href="plexmailer_sun_mail.jnlp"/>
> > > > <extension name="Apache jar files"
> > > > href="plexmailer_apache.jnlp"/>
> > > > <extension name="Misc jar files"
> > > > href="plexmailer_3rd.jnlp"/>
> > >
> > > Are these related to the project somehow, or just
> > > arbitrary xml snippets?
> > >
> > >
> > > > Or
> > > >
> > > > <package name="com.plexobject.*" part="plexmailer"
> > > > recursive="true"/>
> > > > <package name="com.foo.*" part="foo"
> > > > recursive="true"/>
> > >
> > > See above. Maven typically has one package per
> > > project, so I'm not sure if this factors into the xml?
> > >
> > > [snip]
> > >
> > > <properties> can go on any pom element, in case that helps?
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > New DSL Internet Access from SBC & Yahoo!
> > > http://sbc.yahoo.com
> > >
> > > --
> > > To unsubscribe, e-mail: <mailto:turbine-maven-user-
> > [EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:turbine-maven-user-
> > [EMAIL PROTECTED]>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail: <mailto:turbine-maven-user-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:turbine-maven-user-
> > [EMAIL PROTECTED]>
> >
> --
> dIon Gillard, Multitask Consulting
> Work: http://www.multitask.com.au
> Developers: http://adslgateway.multitask.com.au/developers
>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>