You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Clemens Eisserer <li...@gmail.com> on 2006/12/28 14:29:58 UTC
Troubles with indexjar ...
Hello,
I am trying to index my jar-files to replace my self-rolled plugin
system with the great new index-support Webstart got with java-1.6.
As far as I understood creating a jar with an index should look like this:
<jar jarfile="${webstart_file}" basedir="clientcore" index="true">
<indexjar>
<fileset dir="${applet_binary_dir}">
<filename name="**/*.jar"/>
</fileset>
</indexjar>
</jar>
However while building I get the following message:
BUILD FAILED
build.xml:213: The <jar> type doesn't support the nested "indexjar" element.
Any idea what could be wrong? I am using ant-1.6.5.
Thanks for this great tool, it made my programmer's life so much easier :-)
lg Clemens
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Troubles with indexjar ...
Posted by Clemens Eisserer <li...@gmail.com>.
Ok, sorry about that. I forgot that indexjar_s_ are more than a single once;)
2006/12/28, Clemens Eisserer <li...@gmail.com>:
> Hello,
>
> I am trying to index my jar-files to replace my self-rolled plugin
> system with the great new index-support Webstart got with java-1.6.
>
> As far as I understood creating a jar with an index should look like this:
> <jar jarfile="${webstart_file}" basedir="clientcore" index="true">
> <indexjar>
> <fileset dir="${applet_binary_dir}">
> <filename name="**/*.jar"/>
> </fileset>
> </indexjar>
> </jar>
>
> However while building I get the following message:
> BUILD FAILED
> build.xml:213: The <jar> type doesn't support the nested "indexjar" element.
>
> Any idea what could be wrong? I am using ant-1.6.5.
> Thanks for this great tool, it made my programmer's life so much easier :-)
>
> lg Clemens
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org