ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruth Lydia Samuel" <Ruth_Sam...@infosys.com>
Subject RE: WAR task in ANT
Date Fri, 24 Mar 2006 05:02:28 GMT
Hi,
	Actually i want to include my source files also in my war file.
The purpose is that the war file will be imported into my web project and i want my source
files to come at the proper location inside my web project. This is how i want my web project
to look like when i import my war file.

WebProject -> Javacontent -> sourcefiles
WebProject -> Webcontent -> web-inf/lib
				 -> webinf/classes
				 -> web-inf

But now if i import my war file into my webproject, the source files actually move to webcontent/
directory rather than javacontent/ directory. 

Thanks,
Lydia.

-----Original Message-----
From: Naveen Kumar A.H [mailto:naveen.kumar@proofsys.com]
Sent: Thursday, March 23, 2006 7:25 PM
To: Ant Users List
Subject: Re: WAR task in ANT


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" <Ruth_Samuel@infosys.com>
To: <user@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


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


Mime
View raw message