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=15515>. 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=15515 ANT jar task seems to cache the jar file when originally created, added classes not seen after jar update Summary: ANT jar task seems to cache the jar file when originally created, added classes not seen after jar update 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 have a task that executes javac on a set of java source files (task1), then executes the jar command. I then execute another task (task2) that again compiles some additional java source and updates the above jar file. I then execute another task (task3) that uses the javac task using the above jar file in the classpath. This task fails because one of the .java files is unable to locate a package that should be in above jar file. If I look at the jar file, the package is indeed there. The package was added to the jar in task2. It seems as though ANT is only referencing the packages that were added in task1 and not task2 that used the "update" option of the jar task. This only seems to happen if I try and run all three task together ant task1 task2 task3. If I run ant execute task 1 and 2 (ant task1 task2. Then run ant again to execute task 3 (ant task3), it finds the package and works fine. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>