Well, I actually figured out how touse the properties tag in the
dependency tag, so that works great for part of what I was trying to do.
Now instead of assuming every file in the dependency is part of the jnlp
app, you now have to add something like:
            <properties>
                <jnlp.jar>true</jnlp.jar>
            </properties>

Or
            <properties>
                <jnlp.native.jar>true</jnlp.native.jar>
            </properties>

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"/>

Or

  <package name="com.plexobject.*" part="plexmailer" recursive="true"/>
  <package name="com.foo.*" part="foo" recursive="true"/>

Somehow, I need to allow the user to specify the above things
somehow, loop over and create that XML.  I am not sure how best to do that
in Maven.

I personally have *never* used those in JNLP, but they are part of the
spec and don't want to leave them out.

Jim

On Sun, 29 Sep 2002, Mr Dion Gillard wrote:

> Would a fileset pattern and a directory do you? e.g.
>
> maven.jnlp.native.dir
> maven.jnlp.native.includes
> maven.jnlp.native.excludes
>
> as properties for the plugin?
>
> --- Jim Birchfield <[EMAIL PROTECTED]> wrote:
> > In the project.xml file, there is the ability to add
> > properties to jar
> > files as includes for something.  I need similar
> > functionality, but not in
> > the jars section.  For JNLP, you can add native
> > libraries as a resource.
> > Something like mousewheel.dll.  I need to allow the
> > user to specify one or
> > more of these files.  Then I need to loop over these
> > files and generate
> > some xml in the .jnlp file.  What is the best way to
> > do this in Maven?  I
> > can't have multiple properties with the same name.
> >
> > Jim
> >
> >
> > --
> > To unsubscribe, e-mail:
> >
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
>
> --
> 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]>

Reply via email to