Thanks,
this has already been noticed and a fix will be in ant 1.7.1.

In the meantime, the <service> nested element should not be used.

Peter


On Wed, Feb 27, 2008 at 3:12 PM, Robert Koberg <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I am trying to use the nested service element in the jar class. It
>  produces a META-INF/service rather than META-INF/services:
>
>
>     /**
>      * Write SPI Information to JAR
>      */
>     private void writeServices(ZipOutputStream zOut) throws IOException
>  {
>         Iterator serviceIterator;
>         Service service;
>
>         serviceIterator = serviceList.iterator();
>         while (serviceIterator.hasNext()) {
>            service = (Service) serviceIterator.next();
>            //stolen from writeManifest
>            super.zipFile(service.getAsStream(), zOut,
>                          "META-INF/service/" + service.getType(),
>                          System.currentTimeMillis(), null,
>                          ZipFileSet.DEFAULT_FILE_MODE);
>         }
>     }
>
>  Bug?
>
>  best,
>  -Rob
>
>
>
>
>  ---------------------------------------------------------------------
>  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