Re: was5 plugin - installing ear to a specific server and virtualhost

2005-01-12 Thread Richard Lewis-Shell
Try using maven.was5.installApp.options
The was5 plugin is mostly a thin wrapper around the ant tasks IBM 
supplies with WebSphere - installApp is such an example. 
maven.was5.installApp.options corresponds to the options attribute for 
that task.  You can see the javadocs for installApp (and the other ant 
tasks) in:
$WAS_HOME/web/apidocs/com/ibm/websphere/ant/tasks/package-summary.html

Though the javadocs really don't help much - you'll more likely need to 
look into how the $AdminApp installApp command works in wsadmin.

Hope that helps,
Richard
Karan-Sahni (Contractor) wrote:
When I install an app using was5:installapp, it installs the ejb jars in the 
default server (server1) and the war is hosted on the default virtual host 
(default_host). How can I install the app on a specific server and virtual host?



Karan Sahni 
Telephone: 561.438.5009
Email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Maven WebSphere 5.0/5.1 plugin release

2004-08-17 Thread Richard Lewis-Shell
Precompilation of JSPs _should_ be easy to add, as there is an ant task in
wsanttasks.jar that does it already.  I don't have time to add it, but the
plugin was originally designed as a thin wrapper around the wsanttasks
targets, so someone else should be able to whip up a patch pretty quickly...

http://publib.boulder.ibm.com/infocenter/ws51help/topic/com.ibm.wasee.doc/info/ee/javadoc/ee/com/ibm/websphere/ant/tasks/JspC.html

Richard

- Original Message - 
From: "Dion Gillard" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, August 17, 2004 10:55 AM
Subject: Re: Maven WebSphere 5.0/5.1 plugin release


> On Mon, 16 Aug 2004 16:43:30 -0400, Karan-Sahni (Contractor)
> <[EMAIL PROTECTED]> wrote:
> > How about precompilation of JSP's too.
>
> Where? On install of the app??
> -- 
> http://www.multitask.com.au/people/dion/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Query about Maven WebSphere plugin

2004-04-22 Thread Richard Lewis-Shell
Hi Sunil,

I must admit to not actually using this plugin after its development - maven has 
unfortunately dropped off my radar for now.  However, while developing the plugin, I 
used it to successfully generate deployment/rmic code, start/stop a server, 
install/uninstall an application, and start/stop that application.

In my EJB project, I had the following project.properties:

# How to do this better with resources?
maven.ejb.src=src
# Keep WSAD's Manifest out (we want maven to generate it completely)
maven.ejb.manifest=some/invalid/path

# This could/should be moved to ${user.home}/build.properties
maven.was5.home=C:/WebSphere/Appserver

# ejbdeploy properties
maven.was5.ejbdeploy=true


This allows me to run "maven ejb" for the project, having the ejb jar created and WAS 
ejbdeployed (that means having its deployment code generated, not actually deployed).

The other targets in the plugin do not integrate with other standard maven targets - 
you call them yourself somehow - either manually as I did when developing the plugin, 
or invoke them from your maven.xml as approriate.  Assuming your server is named 
"server1" then you can start, or stop the server using "maven was5:startServer" or 
"maven was5:stopServer".  If your server is not named server1, just set 
maven.was5.server to the name of your server.

You can deploy your ear file to your WAS server using was5:installApp from your 
project that creates the ear using "maven was5:installApp" - it uses the ear in the 
target dir by default.  Once installed, you can start the application using "maven 
was5:startApp" - the application name used by default is the ear's display name (see 
below for a hint on this).  You can then test your running application.  (This would 
all be easier if the cactus plugin supports WAS - alas).  You can then stop the 
application, or just uninstall it using "maven was5:stopApp" and "maven 
was5:uninstallApp" respectively.  If you want to interrogate the server to see if it's 
up or down, use "maven was5:serverStatus", and if you want to see what apps are 
installed, use "maven was5:listApps".

There is no target to communicate with wsadmin - I think it would always be easier to 
use the wsanttask for this directly (ie. using maven.xml), rather than via a was5 
target, though have not done either.  There are other tasks available in the 
wsanttasks that are not exposed in the was5 plugin - e.g. jsp precompiling.  If there 
is interest in these, I'll happily apply a patch :-)

Note - if you are using maven to create your .ear file, you may want to manually 
specify the display name because the default display name tends to include a ':' which 
WAS doesn't like.  To do so, I put this in my ear project.properties:
maven.ear.displayname=MyAppName

Also note: you'll probably find you have to use the IBM JDK to run some of these 
targets (especially the ejbdeploy).

Hopefully this will help - it's not quite the sample you were after but it's a start.  
Maybe someone who uses the plugin more can offer something more concrete (hence the 
cc: to maven-users).

Richard
  - Original Message - 
  From: Sunil D Patil 
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, April 21, 2004 8:50 PM
  Subject: Query about Maven WebSphere plugin



  Hi Richard, 

  Thanks for writing this plugin. 
  I was wondering if you could share a sample for using this plugin. 

  Thank You 
  Sunil 

Re: Anyone working on WebSphere AppServer 5.0 Plugin?

2004-03-24 Thread Richard Lewis-Shell
Thanks for the feedback.  Are you using WAS5.0 or 5.1?

Richard

- Original Message - 
From: "Al Robertson" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, March 25, 2004 3:46 AM
Subject: Re: Anyone working on WebSphere AppServer 5.0 Plugin?


> Michele,
> See http://maven-plugins.sourceforge.net/maven-was5-plugin/index.html
> It appears to be a new plugin by Richard Lewis-Shell. Thanks for the work
> Richard. Works a treat. I'm sure the sourceforge maven-plugins main page
> will be updated to include it soon.
> Al
>
> Digital Union UK
> [EMAIL PROTECTED]
> www.digitalunion.com
>
> t: +44 (0) 1483 889482  m:+44 (0) 7713 631367  f: +44 (0) 1483 889450
>
> The information in this email and in any attachment(s) is confidential. If
> you are not the named addressee(s) or if you receive this email in error
> then any distribution, copying or use of this communication or the
> information in it is strictly prohibited.
> While attachments are virus checked, Digital Union UK Limited does not
> accept any liability in respect of any virus which is not detected.
>
>
>
> [EMAIL PROTECTED]
> 24/03/2004 13:22
> Please respond to
> "Maven Users List" <[EMAIL PROTECTED]>
>
>
> To
> [EMAIL PROTECTED]
> cc
> "Maven Users List" <[EMAIL PROTECTED]>
> Subject
> Re: Anyone working on WebSphere AppServer 5.0 Plugin?
>
>
>
>
>
>
> Hello dion,
>
> Following your advice I wanted to give a look at the stutus of the current
> plugin for WAS50, but the link is pointing to the maven-plugins page where
> only the maven plugin for was4.0 is present.
> Or am I missing something ? In case can someone from the audience point me
> to the rigth location of this plugin ?
>
> Michele
>
>
> |-+>
> | |   [EMAIL PROTECTED]|
> | |   m.au |
> | ||
> | ||
> | |   10/03/2004 22:17 |
> | |   Please respond to|
> | |   "Maven Users |
> | |   List"|
> | ||
> |-+>
>
>
>---
---|
>   |   |
>   |   |
>   |   |
>   |   |
>   |   |
>   |To: "Maven Users List"
> <[EMAIL PROTECTED]>   |
>   |cc: (bcc: Michele
> Forte/SwissRe)  |
>   |bcc:Michele
> Forte/SwissRe |
>   |Subject:Re: Anyone working
> on WebSphere AppServer 5.0 Plugin? |
>
>
>---
---|
>
>
>
>
> There's now a working was50 plugin as part of
> http://maven-plugins.sourceforge.net.
>
> If you need a built version let me know.
> --
> dIon Gillard, Multitask Consulting
>
>
>
> [EMAIL PROTECTED] wrote on 11/03/2004 05:03:25 AM:
>
> >
> >
> >
> >
> >
> > I have one working with wsadmin.  It can start/stop server, application,
> > deploy and undeploy ear, list, and status.  Basically, anything
> supported
> > by wsadmin can be added easily.  It works for a local or remote
> instance.
> >
> > Now the kicker...  Waiting to working out our corporate open source
> policy
> > before I can make it available outside.  Its basic structure is on the
> > WAS4, just changing the "executable" and command line options.  If you
> take
> > a look at WAS5's documentation of migrating from the old wscp to
> wsadmin,
> > it's not too difficult, with some minor tricks you need to know, such as
> > using $$ when you have to pass a string into the command line with $ and
> > such.
> >
> > Jun Ying
> >
> >
> >
> > |-+>
> >

Re: Anyone working on WebSphere AppServer 5.0 Plugin?

2004-03-23 Thread Richard Lewis-Shell
Have you set the maven.was5.home property?  (It shouldn't be necessary if
you have set WAS_HOME environment variable, but I haven't tested that)

Are you using the IBM JDK?  I've found that necessary for some of the goals
(sorry, can't remember which ones).

Richard

- Original Message - 
From: "DeGraff, Adam" <[EMAIL PROTECTED]>
To: "'Maven Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 6:33 AM
Subject: RE: Anyone working on WebSphere AppServer 5.0 Plugin?


> Hi Dion,
>
> We are trying to use the was5:ejbDeploy goal and are running into this
> NoClassDefFoundError: com/ibm/etools/ejbdeploy/EJBDeploy
>
> We have batch.jar in our dependency list, which has this class.  Any
> suggestions as to why we get this error?
>
> [wasEjbDeploy] java.lang.NoClassDefFoundError:
> com/ibm/etools/ejbdeploy/EJBDeploy
>
> [wasEjbDeploy] Exception in thread "main"
> [wasEjbDeploy] [ERROR] Java Result: 1
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 10, 2004 1:17 PM
> To: Maven Users List
> Subject: Re: Anyone working on WebSphere AppServer 5.0 Plugin?
>
> There's now a working was50 plugin as part of
> http://maven-plugins.sourceforge.net.
>
> If you need a built version let me know.
> --
> dIon Gillard, Multitask Consulting
>
>
>
> [EMAIL PROTECTED] wrote on 11/03/2004 05:03:25 AM:
>
> >
> >
> >
> >
> >
> > I have one working with wsadmin.  It can start/stop server,
> > application, deploy and undeploy ear, list, and status.  Basically,
> > anything
> supported
> > by wsadmin can be added easily.  It works for a local or remote
> instance.
> >
> > Now the kicker...  Waiting to working out our corporate open source
> policy
> > before I can make it available outside.  Its basic structure is on the
> > WAS4, just changing the "executable" and command line options.  If you
> take
> > a look at WAS5's documentation of migrating from the old wscp to
> wsadmin,
> > it's not too difficult, with some minor tricks you need to know, such
> > as using $$ when you have to pass a string into the command line with
> > $ and such.
> >
> > Jun Ying
> >
> >
> >
> > |-+>
> > | |   [EMAIL PROTECTED]|
> > | |   m.au |
> > | ||
> > | |   03/04/2004 06:32 |
> > | |   PM   |
> > | |   Please respond to|
> > | |   "Maven Users |
> > | |   List"|
> > |-+>
> >
> >
> >---
> >-
> > |
> >   ||
> >   |   To:   "Maven Users List" <[EMAIL PROTECTED]>|
> >   |   cc:|
> >   |   Subject:  Re: Anyone working on WebSphere AppServer 5.0
> > Plugin?  |
> >
> >
> >---
> >-
> > |
> >
> >
> >
> >
> > Not AFAIK,
> >
> > [EMAIL PROTECTED] wrote on 05/03/2004 12:48:58 AM:
> >
> > >
> > > Is anyone working on a WebSphere AppServer 5.0 plugin?
> > >
> > > - Tom
> >
> > But if you wanted to start one, come over and join the AppServer 4.0
> > plugin team on http://maven-plugins.sf.net.
> > --
> > dIon Gillard, Multitask Consulting
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anyone working on WebSphere AppServer 5.0 Plugin?

2004-03-09 Thread Richard Lewis-Shell
I've committed what I've got so far into the maven-plugins project on
sourceforge (mavin-plugins/was5) .  It's in CVS, but not released as a jar.
The documentation is not great yet, and not all the wsanttask.jar tasks have
been exposed, but enough to ejbdeploy, start/stop servers, un/install ears
(and probably ejb-jars, wars), start/stop/list applications.  The biggy
that's missing is the wsadmin task, although I'm yet to really see how that
would be used - it may end up being easier to fall back to calling the ant
task directly.

I believe that this plugin will work with both WAS 5.0 and 5.1, as they both
contain wsanttasks.jar, and appear to be compatible.  I've only tested with
WAS 5.0 so far though.

I'm publishing this plugin in its current state so that those who have
expressed interest can have a look at it, suggest improvements, and
hopefully even make use of it.  I'm a maven newbie too, so happy to hear any
comments...

Richard

- Original Message - 
From: "Gautham Pamu" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 09, 2004 3:59 AM
Subject: Re: Anyone working on WebSphere AppServer 5.0 Plugin?


> Hi Richard,
>
> I am new to Maven, but even I am interested to install
> my ear file on WAS 5.0 after the maven build is
> completed, if you have a goal in maven.xml for
> installing/configuring/operating on WAS 5.0, can you
> send some goals and instructions on how to setup the
> project to use wsanttasks.jar
>
> Thanks
> Gautham Pamu
>
> --- Richard Lewis-Shell <[EMAIL PROTECTED]> wrote:
> > The difference is that I am just calling/wrapping
> > the ant tasks that IBM
> > supplies in their wsanttasks.jar, rather than
> > calling the .bat/.sh scripts.
> > My SF id is rlewisshell - I was hoping that this
> > might end up along side the
> > was40 plugin one day...
> >
> > Richard
> >
> > - Original Message - 
> > From: <[EMAIL PROTECTED]>
> > To: "Maven Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, March 05, 2004 12:32 PM
> > Subject: Re: Anyone working on WebSphere AppServer
> > 5.0 Plugin?
> >
> >
> > > I've done this for WAS 4.0. That's what the was40
> > plugin is up on
> > > sourceforge. If you want to join the team, pop
> > someone an email with your
> > > sourceforge id.
> > >
> > > If it could have a similar set of goals to the 40
> > plugin, that'd be even
> > > better!
> > > --
> > > dIon Gillard, Multitask Consulting
> > >
> > >
> > >
> > > "Richard Lewis-Shell" <[EMAIL PROTECTED]> wrote
> > on 05/03/2004 11:27:14
> > > AM:
> > >
> > > > Oh, and ejbdeploy
> > > >
> > > > - Original Message - 
> > > > From: "Richard Lewis-Shell"
> > <[EMAIL PROTECTED]>
> > > > To: "Maven Users List" <[EMAIL PROTECTED]>
> > > > Sent: Friday, March 05, 2004 11:21 AM
> > > > Subject: Re: Anyone working on WebSphere
> > AppServer 5.0 Plugin?
> > > >
> > > >
> > > > > I am.  I am basically building a plugin
> > wrapper around the wsanttasks.
> > > > It's
> > > > > early days yet, but so far server
> > starting/stopping and application
> > > > listing
> > > > > is working.  Am happy to share/collaborate to
> > get it done...
> > > > >
> > > > > Richard
> > > > >
> > > > > - Original Message - 
> > > > > From: <[EMAIL PROTECTED]>
> > > > > To: "Maven Users List"
> > <[EMAIL PROTECTED]>
> > > > > Sent: Friday, March 05, 2004 12:48 AM
> > > > > Subject: Anyone working on WebSphere AppServer
> > 5.0 Plugin?
> > > > >
> > > > >
> > > > > >
> > > > > > Is anyone working on a WebSphere AppServer
> > 5.0 plugin?
> > > > > >
> > > > > > - Tom
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > >
> >
> -
> > > > > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > > > >
> > > > >
> > > > >
> > > > >
> >
> -
> > > > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > > >
> > > >
> > > >
> > > >
> >
> -
> > > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > >
> > >
> >
> >
> >
> -
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
>
>
> __
> Do you Yahoo!?
> Yahoo! Search - Find what you're looking for faster
> http://search.yahoo.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anyone working on WebSphere AppServer 5.0 Plugin?

2004-03-04 Thread Richard Lewis-Shell
The difference is that I am just calling/wrapping the ant tasks that IBM
supplies in their wsanttasks.jar, rather than calling the .bat/.sh scripts.
My SF id is rlewisshell - I was hoping that this might end up along side the
was40 plugin one day...

Richard

- Original Message - 
From: <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 12:32 PM
Subject: Re: Anyone working on WebSphere AppServer 5.0 Plugin?


> I've done this for WAS 4.0. That's what the was40 plugin is up on
> sourceforge. If you want to join the team, pop someone an email with your
> sourceforge id.
>
> If it could have a similar set of goals to the 40 plugin, that'd be even
> better!
> --
> dIon Gillard, Multitask Consulting
>
>
>
> "Richard Lewis-Shell" <[EMAIL PROTECTED]> wrote on 05/03/2004 11:27:14
> AM:
>
> > Oh, and ejbdeploy
> >
> > - Original Message - 
> > From: "Richard Lewis-Shell" <[EMAIL PROTECTED]>
> > To: "Maven Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, March 05, 2004 11:21 AM
> > Subject: Re: Anyone working on WebSphere AppServer 5.0 Plugin?
> >
> >
> > > I am.  I am basically building a plugin wrapper around the wsanttasks.
> > It's
> > > early days yet, but so far server starting/stopping and application
> > listing
> > > is working.  Am happy to share/collaborate to get it done...
> > >
> > > Richard
> > >
> > > - Original Message - 
> > > From: <[EMAIL PROTECTED]>
> > > To: "Maven Users List" <[EMAIL PROTECTED]>
> > > Sent: Friday, March 05, 2004 12:48 AM
> > > Subject: Anyone working on WebSphere AppServer 5.0 Plugin?
> > >
> > >
> > > >
> > > > Is anyone working on a WebSphere AppServer 5.0 plugin?
> > > >
> > > > - Tom
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anyone working on WebSphere AppServer 5.0 Plugin?

2004-03-04 Thread Richard Lewis-Shell
Oh, and ejbdeploy

- Original Message - 
From: "Richard Lewis-Shell" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 11:21 AM
Subject: Re: Anyone working on WebSphere AppServer 5.0 Plugin?


> I am.  I am basically building a plugin wrapper around the wsanttasks.
It's
> early days yet, but so far server starting/stopping and application
listing
> is working.  Am happy to share/collaborate to get it done...
>
> Richard
>
> - Original Message - 
> From: <[EMAIL PROTECTED]>
> To: "Maven Users List" <[EMAIL PROTECTED]>
> Sent: Friday, March 05, 2004 12:48 AM
> Subject: Anyone working on WebSphere AppServer 5.0 Plugin?
>
>
> >
> > Is anyone working on a WebSphere AppServer 5.0 plugin?
> >
> > - Tom
> >
> >
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anyone working on WebSphere AppServer 5.0 Plugin?

2004-03-04 Thread Richard Lewis-Shell
I am.  I am basically building a plugin wrapper around the wsanttasks.  It's
early days yet, but so far server starting/stopping and application listing
is working.  Am happy to share/collaborate to get it done...

Richard

- Original Message - 
From: <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 12:48 AM
Subject: Anyone working on WebSphere AppServer 5.0 Plugin?


>
> Is anyone working on a WebSphere AppServer 5.0 plugin?
>
> - Tom
>
>
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: EAR plugin: application.xml generation without java

2004-02-17 Thread Richard Lewis-Shell
Seems I'm talking to myself here!  This issue is in JIRA already - MPEAR-14

- Original Message - 
From: "Richard Lewis-Shell" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 17, 2004 5:56 PM
Subject: Re: EAR plugin: application.xml generation without java 


> Would it make sense to create a new dependency type for J2EE client
> applications (eg. 'client-jar'), and only have those dependencies end up
> with a  in the application.xml (with jar dependencies still being
> bundled in the ear, but without any mention in application.xml)?
>
> Or would it be better to add a property for dependencies that specifies if
> it is a J2EE client application, and only then is the  created.
> This would be much like the existing ear.bundle property is used to decide
> which jars go in the ear.
>
> Or is there a better way to do this?  Any thoughts appreciated...
>
> Richard
>
> - Original Message - 
> From: "Richard Lewis-Shell" <[EMAIL PROTECTED]>
> To: "Maven Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, February 17, 2004 9:37 AM
> Subject: EAR plugin: application.xml generation without java 
>
>
> > Hi,
> >
> > I am wanting maven to produce an ear file that contains the
> ear.bundle=true
> > dependent jars, but withOUT the maven generated application.xml
containing
> a
> >  definition for those jars.  Is this possible?
> >
> > From my cursory reading of the J2EE spec, a java type  is for a
> J2EE
> > client application, rather than for a supporting jar (eg.
> log4j-1.2.8.jar),
> > and I am finding WebSphere won't deploy these maven generated ear files.
> >
> > Thanks,
> >
> > Richard
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: EAR plugin: application.xml generation without java

2004-02-16 Thread Richard Lewis-Shell
Would it make sense to create a new dependency type for J2EE client
applications (eg. 'client-jar'), and only have those dependencies end up
with a  in the application.xml (with jar dependencies still being
bundled in the ear, but without any mention in application.xml)?

Or would it be better to add a property for dependencies that specifies if
it is a J2EE client application, and only then is the  created.
This would be much like the existing ear.bundle property is used to decide
which jars go in the ear.

Or is there a better way to do this?  Any thoughts appreciated...

Richard

- Original Message - 
From: "Richard Lewis-Shell" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 17, 2004 9:37 AM
Subject: EAR plugin: application.xml generation without java 


> Hi,
>
> I am wanting maven to produce an ear file that contains the
ear.bundle=true
> dependent jars, but withOUT the maven generated application.xml containing
a
>  definition for those jars.  Is this possible?
>
> From my cursory reading of the J2EE spec, a java type  is for a
J2EE
> client application, rather than for a supporting jar (eg.
log4j-1.2.8.jar),
> and I am finding WebSphere won't deploy these maven generated ear files.
>
> Thanks,
>
> Richard
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



test dependencies

2004-02-16 Thread Richard Lewis-Shell
Hi again,

Last month there was mention of a backwards-compatible change to maven to
allow different dependencies for test source code. eg. allow test source to
be dependent on junit.jar without junit.jar turning up in the manifest's
classpath.  Has there been any progress on this?

Thanks,

Richard

PS. The thread was "Re: Dependency issues for junit tests" from Jan 8


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



EAR plugin: application.xml generation without java

2004-02-16 Thread Richard Lewis-Shell
Hi,

I am wanting maven to produce an ear file that contains the ear.bundle=true
dependent jars, but withOUT the maven generated application.xml containing a
 definition for those jars.  Is this possible?

>From my cursory reading of the J2EE spec, a java type  is for a J2EE
client application, rather than for a supporting jar (eg. log4j-1.2.8.jar),
and I am finding WebSphere won't deploy these maven generated ear files.

Thanks,

Richard


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]