You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ruth Lydia Samuel <Ru...@infosys.com> on 2006/03/23 14:43:10 UTC

WAR task in ANT

Hi,
	I'm having issues using the WAR task in ANT when i try to bundle the source(.java) files also. It bundles the files. But if i try to export it into my webproject, all the source files get extracted to the webcontent part of the webproject rather than the javacontent. So the required class files are not generated under web-inf/classes folder when i rebuild my project.

Can anyone provide pointers to circumvent this issue.

Thanks,
Lydia.

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

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


Re: WAR task in ANT

Posted by "Naveen Kumar A.H" <na...@proofsys.com>.
Hi
ur problem is not clear if u want to place .class files into web-inf/classes 
folder use <classes> Nested elements ...

regards
Naveen
----- Original Message ----- 
From: "Ruth Lydia Samuel" <Ru...@infosys.com>
To: <us...@ant.apache.org>
Sent: Thursday, March 23, 2006 7:13 PM
Subject: WAR task in ANT


>
> Hi,
> I'm having issues using the WAR task in ANT when i try to bundle the 
> source(.java) files also. It bundles the files. But if i try to export it 
> into my webproject, all the source files get extracted to the webcontent 
> part of the webproject rather than the javacontent. So the required class 
> files are not generated under web-inf/classes folder when i rebuild my 
> project.
>
> Can anyone provide pointers to circumvent this issue.
>
> Thanks,
> Lydia.
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended 
> solely for the use of the addressee(s). If you are not the intended 
> recipient, please notify the sender by e-mail and delete the original 
> message. Further, you are not to copy, disclose, or distribute this e-mail 
> or its contents to any other person and any such actions are unlawful. 
> This e-mail may contain viruses. Infosys has taken every reasonable 
> precaution to minimize this risk, but is not liable for any damage you may 
> sustain as a result of any virus in this e-mail. You should carry out your 
> own virus checks before opening the e-mail or attachment. Infosys reserves 
> the right to monitor and review the content of all messages sent to or 
> from this e-mail address. Messages sent to or from this e-mail address may 
> be stored on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
> ---------------------------------------------------------------------
> 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