You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/01/16 16:50:40 UTC

DO NOT REPLY [Bug 52472] New: Jar task does not consider Services for up-to-date check

https://issues.apache.org/bugzilla/show_bug.cgi?id=52472

             Bug #: 52472
           Summary: Jar task does not consider Services for up-to-date
                    check
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: michael.newcomb@gdc4s.com
    Classification: Unclassified


The Jar task does not consider updates to services (using <service> element) as
a trigger for updating a jar file.

This is problematic, especially when using NetBeans for building a jar file
because you really can only effect jar file content in a post-jar task using
NetBeans.

The steps to recreate are simple.

1. in one <jar> task, create jar with some class files
2. in another <jar> task, try to update that jar file with a <service> element

It will ignore the new <service> element and won't update the jar file.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52472] Jar task does not consider Services for up-to-date check

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52472

--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2012-01-16 16:21:39 UTC ---
This looks simple on the surface but soon opens a can of worms that leads to
comparing service definitions and merging them - see bug 51096.  I agree it
would be nice if it worked.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.