DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17684>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17684

Ant version 1.5.1 jar with update option behaves diff from 1.4.1

           Summary: Ant version 1.5.1 jar with update option behaves diff
                    from 1.4.1
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I had a task that looks like this. 
<target name="UpdateJarFile">
<jar jarfile="${JAR_DIR}/${APP_NAME}/${CLIENT_JAR_NAME}" 
basedir="${APP_SRC_DIR}/${CLIENT_PROJECT_NAME}/bin" includes="**/*.class" 
update="true"/>
</target>

I call this task as
<ant inheritAll="true"  antfile="build.xml" target="UpdateJarFile">
                        <property name="CLIENT_PROJECT_NAME" 
value="BuildReport"/>
                       </ant>  


It works fine with 1.4.1
When I try the same job with 1.5.1 it doesnot do an update. It says omitting 
becacuse the target jar is updated. Is this a bug or the behaviour of jar with 
upadte option has changed between 1.4.1 and 1.5.1

Reply via email to