You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/08/23 16:25:11 UTC
DO NOT REPLY [Bug 11973] New: -
Problems with jar task
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=11973>.
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=11973
Problems with jar task
Summary: Problems with jar task
Product: Ant
Version: 1.5
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Critical
Priority: Other
Component: Core tasks
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: pzaffirov@tlogica.com
I'm trying to create jar files with only manifest file.
The code in build file is:
<target name="bin"
depends="compile,public_javadoc,protection_trial,protection_licensed">
<jar destfile="${instbasedir}/bin/timsall.jar" >
<fileset dir="${build}" excludes="**/internal/*,**/internal"/>
<zipfileset dir="${src}/com/tlogica/resources" excludes="**/.rvi"
prefix="com/tlogica/resources"/>
</jar>
<copy todir="${instbasedir}/bin">
<fileset dir="${instbld}/config/templates/bin" includes="*.bat,*.sh"/>
</copy>
<jar destfile="${instbasedir}/bin/admbean.jar"
manifest="${instbld}/config/templates/bin/admbean.mf" />
<jar destfile="${instbasedir}/bin/timsmapper.jar"
manifest="${instbld}/config/templates/bin/mapper.mf"/>
<jar destfile="${instbasedir}/bin/timsdepl.jar"
manifest="${instbld}/config/templates/bin/depl.mf"/>
<jar destfile="${instbasedir}/bin/timsadm.jar"
manifest="${instbld}/config/templates/bin/adm.mf"/>
<jar destfile="${instbasedir}/bin/timsccd.jar"
manifest="${instbld}/config/templates/bin/timsccd.mf"/>
</target>
In the result only one jar file is created (only jar file timsall.jar - see the
code above).
The problem exists only under Windows NT OS.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>