x.ear
y.sar
another.jar
z.jar
should do what you want.
You can put jars as well as classes in a .sar.
at the same level (in a .ear) you should get the .sar or *-service.xml
deployed before a .jar.
You do need to list the .sar in a jboss-app.xml dd next to application.xml
in the .ear (I think this is true of 3.0x, it is certainly true of 3.2 and
4)
david jencks
On 2002.11.05 21:36:59 -0500 Dushyant Shrivastava wrote:
> HI,
> I have an application ear which comprises of a jar and a sar. Following
> is the dependency
>
> AnotherJar <----------------- sar <----------------------------jar
>
> AnotherJar is deployed seperately outside the ear at this stage, but I am
> keen to include it within the ear as well!
>
> Now I need to make sure that the sar is deployed first and the then the
> jar(both are inside the ear). Is there anyway to do this besides naming
> them as such : 1.sar, 2.jar??
>
> also if I put AnotherJar inside the ear as well, I would need to make
> sure that it is deployed first before the sar! My colleague and myself
> have observed that if a jar and sar is packaged into an EAR, that the sar
> is deployed first and then the jar. Is this a standard behaviour. Is it a
> safe assumption to make that this would always be the case! If not how
> can I make sure that certain order of deployment is followed!
>
> Any help is much appreciated
>
> P.S: I am using JBoss 3.0.2 , JDK 1.4.1, ANT 1.4.1
>
> Dushy
>
> ______________________
> DUSHYANT SHRIVASTAVA
> Software Engineer
>
> YAMBAY
>
> tel +61 (0) 8 9323 6999
> mob +61 (0) 402 902 652
> fax +61 (0) 8 9325 2688
> web www.yambay.com
>
> Yambay Technologies Pty Ltd
> 7th Floor, The Victoria, 14-16 Victoria Ave, Perth. WA, 6000, Australia
>
>_________________________________________________________________________________________________
>
> This message and any files transmitted with it are confidential and are
> intended solely for the use of those persons to
> whom the message is addressed. If you have received this message in
> error, please destroy and delete this
> message from your computer. Any unauthorised form of reproduction of this
> message or any files transmitted with
> it is strictly prohibited. yambay does not make any warranty concerning
> the security of any information electronically
> transmitted and disclaims all liability for the proper and complete
> transmission of any information contained or purportedly
> contained in this message, nor for any delay in its receipt. If you
> receive this message in error please notify the sender.
>
>_________________________________________________________________________________________________
>
>
>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
>
>
> <META content="MSHTML 6.00.2719.2200" name=GENERATOR></HEAD>
> <BODY>
> <DIV><FONT face=Arial size=2><SPAN
> class=988423002-06112002>HI,</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN class=988423002-06112002>I have an
> application ear which comprises of a jar and a sar. Following is the
> dependency</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=988423002-06112002></SPAN></FONT> </DIV>
> <DIV><FONT face=Arial size=2><SPAN class=988423002-06112002>AnotherJar
> <----------------- sar
> <----------------------------jar</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=988423002-06112002></SPAN></FONT> </DIV>
> <DIV><FONT face=Arial size=2><SPAN class=988423002-06112002>AnotherJar is
>
> deployed seperately outside the ear at this stage, but I am keen to
> include it
> within the ear as well!</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=988423002-06112002></SPAN></FONT> </DIV>
> <DIV><FONT face=Arial size=2><SPAN class=988423002-06112002>Now I need to
> make
> sure that the sar is deployed first and the then the jar(both are inside
> the
> ear). Is there anyway to do this besides naming them as such : 1.sar,
> 2.jar??</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=988423002-06112002></SPAN></FONT> </DIV>
> <DIV><FONT face=Arial size=2><SPAN class=988423002-06112002>also if I put
>
> AnotherJar inside the ear as well, I would need to make sure that it is
> deployed
> first before the sar! My colleague and myself have observed that if a jar
> and
> sar is packaged into an EAR, that the sar is deployed first and then the
> jar. Is
> this a standard behaviour. Is it a safe assumption to make that this
> would
> always be the case! If not how can I make sure that certain order of
> deployment
> is followed!</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=988423002-06112002></SPAN></FONT> </DIV>
> <DIV><FONT face=Arial size=2><SPAN class=988423002-06112002>Any help is
> much
> appreciated</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=988423002-06112002></SPAN></FONT> </DIV>
> <DIV><FONT face=Arial size=2><SPAN class=988423002-06112002>P.S: I am
> using
> JBoss 3.0.2 , JDK 1.4.1, ANT 1.4.1</SPAN></FONT></DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=988423002-06112002></SPAN></FONT> </DIV>
> <DIV><FONT face=Arial size=2><SPAN
> class=988423002-06112002>Dushy</SPAN></FONT></DIV>
> <P><FONT face=Arial color=#000080 size=2>______________________<BR><B>DUSHYANT
>
> SHRIVASTAVA<BR></B>Software
> Engineer<BR><BR><B>YAMBAY<BR></B><BR>tel
> +61 (0) 8
> 9323 6999<BR>mob +61 (0) 402 902 652<BR>fax
> +61
> (0) 8 9325 2688<BR>web <U> www.yambay.com</U></FONT>
> <BR><BR><FONT
> face=Arial color=#000080 size=2>Yambay Technologies Pty Ltd<BR>7th Floor,
> The
> Victoria, 14-16 Victoria Ave, Perth. WA, 6000,
>
>Australia<BR>_________________________________________________________________________________________________<BR><BR>This
>
> message and any files transmitted with it are confidential and are
> intended
> solely for the use of those persons to<BR>whom the message is addressed.
> If you
> have received this message in error, please destroy and delete
> this<BR>message
> from your computer. Any unauthorised form of reproduction of this message
> or any
> files transmitted with<BR>it is strictly prohibited. yambay does not make
> any
> warranty concerning the security of any information
> electronically<BR>transmitted and disclaims all liability for the proper
> and
> complete transmission of any information contained or
> purportedly<BR>contained
> in this message, nor for any delay in its receipt. If you receive this
> message
> in error please notify the
>
>sender.<BR>_________________________________________________________________________________________________</FONT>
>
> </P>
> <DIV> </DIV></BODY></HTML>
>
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user