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 09:15:59 GMT
Hi,
	I'm using WSAD 5.x to test the war files created. In my war file(created using ANT), I want
to package the source file in such a way that when it's imported into my webproject in WSAD,
it actually gets extracted to the javasource part of my webproject rather than the webcontent
part of it.

Any pointers would be greatly appreciated.

Thanks,
Lydia.

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


Use <zipfileset> Nested elements ...  Here it is <zipfileset 
dir="${src.dir}"  prefix="src" /> with war task.. src.dir is java source... 
prefix is the driectory in which u want to place eg:- if u want source in 
web-inf/src then use prefix as  prefix="web-inf/src" ,i hope it will solve 
ur problem.

Regards
Naveen Kumar A.H

**************** 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. Proof Systems  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. Proof Systems India Pvt Ltd 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 Proof Systems e-mail system.
***PROOF SYSTEMS******** End of Disclaimer ********PROOF SYSTEMS***


----- Original Message ----- 
From: "Ruth Lydia Samuel" <Ruth_Samuel@infosys.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Friday, March 24, 2006 10:32 AM
Subject: RE: WAR task in ANT


> 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
> 



---------------------------------------------------------------------
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