Re: Creating WebSphere Specific Config Files

2007-05-09 Thread Eric Helfrich

XDoclet  works ok for  Websphere 6.0.  XDoclet 2 seems to be a no go with
Websphere --at least for a while -- unless they have hidden the
documentation really well.  The ejbs and mdb's we built give us no trouble
under WAS 6.0.   XDoclet does have trouble with multi-module builds as it
seems to use the same directory for generated sources as it uses the first
time it runs.  You can work around this by hooking into the maven lifecycle
with :

   
   true
   maven-antrun-plugin
   
   
   process-classes
   
   
   
   
   
   
   
   run
   
   
   
   

and the xdoclet plugin config:
   
   true
   org.codehaus.mojo
   xdoclet-maven-plugin
   
   
   generate-sources
   
   xdoclet
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   


On 5/9/07, David J. M. Karlsen <[EMAIL PROTECTED]> wrote:


Bala Rajamani skrev:

> Hello,
>
>
>
> I would like to create WebSphere specific application.xml and related
> ibm-application-bnd.xmi and MANIFEST.MF files. How do I this achieve
this
> with maven?

The IBM specific deploymentfiles (sigh) can be generated by the xdoclet
plugin, sadly xdoclet does not seem to be maintained anymore.
It covers support for was 5.x fairly well, but not 6.1.

You might be lucky with xdoclet2 also - but I have no was-expirience
with this.

Good luck - if you find any good solutions - please post back on the list.

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




Re: Creating WebSphere Specific Config Files

2007-05-09 Thread David J. M. Karlsen

Bala Rajamani skrev:


Hello,



I would like to create WebSphere specific application.xml and related
ibm-application-bnd.xmi and MANIFEST.MF files. How do I this achieve this
with maven?


The IBM specific deploymentfiles (sigh) can be generated by the xdoclet 
plugin, sadly xdoclet does not seem to be maintained anymore.

It covers support for was 5.x fairly well, but not 6.1.

You might be lucky with xdoclet2 also - but I have no was-expirience 
with this.


Good luck - if you find any good solutions - please post back on the list.

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



Re: Creating WebSphere Specific Config Files

2007-05-08 Thread Wayne Fay

OK. As suggested, you can do this with filtering. This is pretty well
documented on the Maven site.

Wayne

On 5/8/07, Bala Rajamani <[EMAIL PROTECTED]> wrote:

Hello Wayne,

Before creating EAR, I would like to change some content with in the XMI
file... thinking of having some variables and replacing through Maven during
build time.

Thanks again.



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



Re: Creating WebSphere Specific Config Files

2007-05-08 Thread Bala Rajamani

Hello Wayne,

Before creating EAR, I would like to change some content with in the XMI
file... thinking of having some variables and replacing through Maven during
build time.

Thanks again.


Re: Creating WebSphere Specific Config Files

2007-05-08 Thread Wayne Fay

What (exactly) do you want to do to the file with Maven? There are
ways to alter the contents of files through filtering, so that might
work for you. But we need to know more about what you are hoping to
achieve.

Wayne

On 5/8/07, Bala Rajamani <[EMAIL PROTECTED]> wrote:

As per your suggestion, I tried the following the EAR was created with the
required .XMI files.

 

  
org.apache.maven.plugins
maven-ear-plugin
  
  
 src/main/resources
  
  
   
 
  

Is it possible to edit the file through Maven?

Thanks,
Bala



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



Re: Creating WebSphere Specific Config Files

2007-05-08 Thread Bala Rajamani

As per your suggestion, I tried the following the EAR was created with the
required .XMI files.


   
 
   org.apache.maven.plugins
   maven-ear-plugin
 
 
src/main/resources
 
 
  

 

Is it possible to edit the file through Maven?

Thanks,
Bala


RE: Creating WebSphere Specific Config Files

2007-05-08 Thread hermod.opstvedt
Hi

If its a WAS5, there is a plugin for it in the codehaus sandbox.

Hermod

-Original Message-
From: Regis Decamps [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 08, 2007 1:15 PM
To: Maven Users List
Subject: Re: Creating WebSphere Specific Config Files


[EMAIL PROTECTED] wrote:
> Hello,
>
> I would like to create WebSphere specific application.xml and related
> ibm-application-bnd.xmi and MANIFEST.MF files. How do I this achieve this
> with maven?
>
> I tried "maven-ear-plugin" but unable to create the WebSphere specific
> files. Also I'm thinking of using some copy plugins (if one available) 
> but
> not sure whether it's an appropriate way to do it.
As far as I know, there is no maven plugin to generate this specific files.

The best approach I have found so far is to use IRAD as usual -- letting 
IRAD generate IBM specific files. I can build the war/ear with Maven 
though (and the maven-war-plugin and maven-ear-plugin), because I 
redefine the warSource (from memory) property to "Webcontent".

-- 
Régis

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

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

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



Re: Creating WebSphere Specific Config Files

2007-05-08 Thread Regis Decamps

[EMAIL PROTECTED] wrote:

Hello,

I would like to create WebSphere specific application.xml and related
ibm-application-bnd.xmi and MANIFEST.MF files. How do I this achieve this
with maven?

I tried "maven-ear-plugin" but unable to create the WebSphere specific
files. Also I'm thinking of using some copy plugins (if one available) 
but

not sure whether it's an appropriate way to do it.

As far as I know, there is no maven plugin to generate this specific files.

The best approach I have found so far is to use IRAD as usual -- letting 
IRAD generate IBM specific files. I can build the war/ear with Maven 
though (and the maven-war-plugin and maven-ear-plugin), because I 
redefine the warSource (from memory) property to "Webcontent".


--
Régis

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



Re: Creating WebSphere Specific Config Files

2007-05-07 Thread Mick Knutson

are you just trying to include the xmi file and application.xml after you
edit it? If so, just add those files into your ./module/src/main/resources
directory

You can then also filter some properties at build time.


On 5/7/07, Bala Rajamani <[EMAIL PROTECTED]> wrote:


Hello,



I would like to create WebSphere specific application.xml and related
ibm-application-bnd.xmi and MANIFEST.MF files. How do I this achieve this
with maven?



I tried "maven-ear-plugin" but unable to create the WebSphere specific
files. Also I'm thinking of using some copy plugins (if one available) but
not sure whether it's an appropriate way to do it.



Any thoughts/suggestions are appreciated.

Bala.





--
---
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---


Creating WebSphere Specific Config Files

2007-05-07 Thread Bala Rajamani

Hello,



I would like to create WebSphere specific application.xml and related
ibm-application-bnd.xmi and MANIFEST.MF files. How do I this achieve this
with maven?



I tried "maven-ear-plugin" but unable to create the WebSphere specific
files. Also I'm thinking of using some copy plugins (if one available) but
not sure whether it's an appropriate way to do it.



Any thoughts/suggestions are appreciated.

Bala.