DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32639>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32639 Summary: Jar task doesn't report missing file in fixed fileset Product: Ant Version: 1.6.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The Ant jar task does not report a missing file when passed a fixed fileset to add to a jar. When I run the Java jar command from the command line, I get an error message like the following... CleanThread.class : no such file or directory But when I run the Ant jar command, no such error message... [jar] JARs are never empty, they contain at least a manifest file [jar] Building jar: C:\home\LRIT\baseline\Release2\jar\ProductWatch.jar BUILD SUCCESSFUL Total time: 9 seconds Here is the jar command from my build file -> <!-- * jars one of the LRIT tools as an executable jar file * param1 ... tool directory (not used) * param2 ... manifest file * param3 ... executable jar file * reference: ToolExeSet ... files to go in executable jar file * (excluding the manifest) --> <target name="-jarExe" if="JAREXE"> <mkdir dir="${JarDirPath}"/> <jar destfile="${JarDirPath}/${param3}" manifest="${param2}" update="false" whenempty="fail"> <fileset refid="ToolExeSet"/> </jar> </target> The CleanThread.class is definitely in the "ToolExeSet" reference id, for when the file DOES exist, it gets added to the jar! What is happening? Thanks. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]