ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navjot Singh" <navjo...@net4india.net>
Subject RE: Missing in WAR Weirdly
Date Fri, 22 Aug 2003 16:19:20 GMT
Thanks a LOT, William. I changed it to 1.5.4 and voila it worked.
but still i don't know the reason why it happened.

thanks once again
navjot singh

|-----Original Message-----
|From: Navjot Singh [mailto:navjot.s@net4india.net]
|Sent: Friday, August 22, 2003 9:22 PM
|To: Ant Users List
|Subject: RE: Missing in WAR Weirdly
|
|
|I am using 1.5.2.
|What could be wrong? Would the switch to 1.5.4(latest release) help here?
|
|-Navjot Singh
|PS - thanks for correcting me for the list address.
|
||-----Original Message-----
||From: Lopez, William [mailto:william.lopez@eds.com]
||Sent: Friday, August 22, 2003 9:08 PM
||To: Ant Users List
||Subject: RE: Missing in WAR Weirdly
||
||
||Which version of Ant are you using? I believe this was an issue
|with 1.5.1,
||check mailing list archives. I think the mailing list address you
|are using
||is old (but active)...here's the current one: user@ant.apache.org
||
||-Will
||
||-----Original Message-----
||From: Navjot Singh [mailto:navjot.s@net4india.net]
||Sent: Friday, August 22, 2003 10:24 AM
||To: ant-user@jakarta.apache.org
||Subject: FW: Missing in WAR Weirdly
||
||
||Hi List,
||
||I have witnessed a very strange problem. I am totally clueless
|about what's
||wrong. The WAR file is created using ANT target. If i open the WAR file in
||WinZip tool, it doesn't show me *few* files. However, If i extract the WAR
||using "jar -xf", ALL files are extracted.
||
||Here are the complete details. I fsomeone has faced this problem or know
||what could be wrong, PLEASE HELP.
||
||I have dir structure like this
||
||ejb
|| |_src
||     |_ejb
||          |_MemberEJB.java
||          |_MemberHome.java
||          |_Member.java
||     |_resources
||          |_test.xml
|| |_web.xml
|| |_jsp
|| |_html
|| |_WEB-INF
|| |_src
||     |_MemberHandler.java
||     |_MemberForm.java
||
||After compiling, class files are pushed in here
||
||bin
|| |_MemberForm.class
|| |_MemberHandler.class
|| |_ejb
||     |_MemberEJB.class
||     |_MemberHome.class
||     |_Member.class
||
||__My TARGET__
||
||<target name="war" depends="compile">
||	<war destfile="${war.build}" webxml="${web.xml}">
||		<fileset dir="${web.root}">
||			<exclude name="**/src/**"/>
||			<exclude name="**/WEB-INF/**"/>
||		</fileset>
||		<webinf dir="${web.webinf}" includes="**/*"/>
||		<classes dir="${bin.dir}">
||			<exclude name="**/ejb/*.*"/>
||		</classes>
||	</war>
||</target>
||
||__Weird Problem__
||
||If i extract it using "jar -xf", it is showing all the files in right
||directory structure. If i open i using WinZIp tool, it doesn't
|show *.class
||files and web.xml file. Rest all appear.
||
||thanks in advance
||Navjot Singh
||
||
||---------------------------------------------------------------------
||To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
||For additional commands, e-mail: user-help@ant.apache.org
||
||---------------------------------------------------------------------
||To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
||For additional commands, e-mail: user-help@ant.apache.org
||
||
|
|
|---------------------------------------------------------------------
|To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
|For additional commands, e-mail: user-help@ant.apache.org
|
|


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message