Re: Maven WAR/EAR projects and the WebSphere test server
in jaboss you have to need hibernateservice.xml and mysql-ds.xml file i am using the multiproject pom and deploy ear in jboss no ideya in webspere On 10/7/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: Hello, not sure if it can help but i have just completed to move a WAS project to jboss using maven. yes you'd need to play around maven2 when you have to build your artifacts (suchca sgetting sources from JavaSource rather than src/main/java) and i had problems witn resources .. but if you need to deploy to certain places on WSAS, i thihnk it's enough to specify for your ear (and war i guess) hth marco On 10/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm wondering if anybody has experience setting up a war/ear project in a > multimodule pom and then having this run on WebSphere Application > Developer's Test Server environment. > > Did you have to fiddle around with any of the settings? I know WSAD > expects code in the web module to be in a certain place (JavaSource for > java files and WebContent for web/jsp/properties/lib files - which > contradicts Maven's /src/main/java/ and /src/main/webapp/ ), and likewise > for the EAR project. > > Many thanks in advance! > > -j > > --- > Justin Fung > [EMAIL PROTECTED] > Consultant, Business Systems > IT Banking Systems, e-Business > HSBC Bank Canada > http://www.hsbc.ca > p: (604) 643-6605 > f: (604) 643-6727 > > *** > This email may contain confidential information, and is intended only for > the named recipient and may be privileged. Distribution or copying of this > email by anyone other than the named recipient is prohibited. If you are not > the named recipient, please notify us immediately and permanently destroy > this email and all copies of it. Internet email is not private, secure, or > reliable. No member of the HSBC Group is liable for any errors or omissions > in the content or transmission of this email. Any opinions contained in this > email are solely those of the author and, unless clearly indicated otherwise > in writing, are not endorsed by any member of the HSBC Group. > *** > Ce courriel peut renfermer des renseignements confidentiels et privilégiés > et s'adresse au destinataire désigné seulement. La distribution ou la > copie de ce courriel par toute personne autre que le destinataire désigné > est interdite. Si vous n'êtes pas le destinataire désigné, veuillez nous en > aviser immédiatement et détruire de façon permanente ce courriel ainsi que > toute copie de celui-ci. La transmission de courriel par Internet ne > constitue pas un mode de transmission confidentiel, sécuritaire ou fiable. > Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des omissions > relatives au contenu ou à la transmission de ce courriel. L'auteur de ce > courriel est seul responsable des opinions émises dans ce courriel, > lesquelles, à moins d'un avis contraire fourni par écrit, ne sont pas > endossées par aucun membre du Groupe HSBC. > *** > > "SAVE PAPER - THINK BEFORE YOU PRINT!" > > "ÉCONOMISEZ LE PAPIER – PENSEZ-Y À DEUX FOIS AVANT D'IMPRIMER!" > > >
Re: Maven WAR/EAR projects and the WebSphere test server
Hello, not sure if it can help but i have just completed to move a WAS project to jboss using maven. yes you'd need to play around maven2 when you have to build your artifacts (suchca sgetting sources from JavaSource rather than src/main/java) and i had problems witn resources .. but if you need to deploy to certain places on WSAS, i thihnk it's enough to specify for your ear (and war i guess) hth marco On 10/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello, I'm wondering if anybody has experience setting up a war/ear project in a multimodule pom and then having this run on WebSphere Application Developer's Test Server environment. Did you have to fiddle around with any of the settings? I know WSAD expects code in the web module to be in a certain place (JavaSource for java files and WebContent for web/jsp/properties/lib files - which contradicts Maven's /src/main/java/ and /src/main/webapp/ ), and likewise for the EAR project. Many thanks in advance! -j --- Justin Fung [EMAIL PROTECTED] Consultant, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca p: (604) 643-6605 f: (604) 643-6727 *** This email may contain confidential information, and is intended only for the named recipient and may be privileged. Distribution or copying of this email by anyone other than the named recipient is prohibited. If you are not the named recipient, please notify us immediately and permanently destroy this email and all copies of it. Internet email is not private, secure, or reliable. No member of the HSBC Group is liable for any errors or omissions in the content or transmission of this email. Any opinions contained in this email are solely those of the author and, unless clearly indicated otherwise in writing, are not endorsed by any member of the HSBC Group. *** Ce courriel peut renfermer des renseignements confidentiels et privilégiés et s'adresse au destinataire désigné seulement. La distribution ou la copie de ce courriel par toute personne autre que le destinataire désigné est interdite. Si vous n'êtes pas le destinataire désigné, veuillez nous en aviser immédiatement et détruire de façon permanente ce courriel ainsi que toute copie de celui-ci. La transmission de courriel par Internet ne constitue pas un mode de transmission confidentiel, sécuritaire ou fiable. Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des omissions relatives au contenu ou à la transmission de ce courriel. L'auteur de ce courriel est seul responsable des opinions émises dans ce courriel, lesquelles, à moins d'un avis contraire fourni par écrit, ne sont pas endossées par aucun membre du Groupe HSBC. *** "SAVE PAPER - THINK BEFORE YOU PRINT!" "ÉCONOMISEZ LE PAPIER – PENSEZ-Y À DEUX FOIS AVANT D'IMPRIMER!"
Maven WAR/EAR projects and the WebSphere test server
Hello, I'm wondering if anybody has experience setting up a war/ear project in a multimodule pom and then having this run on WebSphere Application Developer's Test Server environment. Did you have to fiddle around with any of the settings? I know WSAD expects code in the web module to be in a certain place (JavaSource for java files and WebContent for web/jsp/properties/lib files - which contradicts Maven's /src/main/java/ and /src/main/webapp/ ), and likewise for the EAR project. Many thanks in advance! -j --- Justin Fung [EMAIL PROTECTED] Consultant, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca p: (604) 643-6605 f: (604) 643-6727 *** This email may contain confidential information, and is intended only for the named recipient and may be privileged. Distribution or copying of this email by anyone other than the named recipient is prohibited. If you are not the named recipient, please notify us immediately and permanently destroy this email and all copies of it. Internet email is not private, secure, or reliable. No member of the HSBC Group is liable for any errors or omissions in the content or transmission of this email. Any opinions contained in this email are solely those of the author and, unless clearly indicated otherwise in writing, are not endorsed by any member of the HSBC Group. *** Ce courriel peut renfermer des renseignements confidentiels et privilégiés et s'adresse au destinataire désigné seulement. La distribution ou la copie de ce courriel par toute personne autre que le destinataire désigné est interdite. Si vous n'êtes pas le destinataire désigné, veuillez nous en aviser immédiatement et détruire de façon permanente ce courriel ainsi que toute copie de celui-ci. La transmission de courriel par Internet ne constitue pas un mode de transmission confidentiel, sécuritaire ou fiable. Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des omissions relatives au contenu ou à la transmission de ce courriel. L'auteur de ce courriel est seul responsable des opinions émises dans ce courriel, lesquelles, à moins d'un avis contraire fourni par écrit, ne sont pas endossées par aucun membre du Groupe HSBC. *** "SAVE PAPER - THINK BEFORE YOU PRINT!" "ÉCONOMISEZ LE PAPIER PENSEZ-Y À DEUX FOIS AVANT D'IMPRIMER!"
Re: Ear projects
On 2/7/06, Max Cooper <[EMAIL PROTECTED]> wrote: > On Mon, 2006-02-06 at 15:40 -0700, Brad O'Hearne wrote: > > I'm trying to convert an existing project to a maven ear project and I'm > > having some difficulty. I have several questions: > > > > 1) Is there any solid documentation surrounding EAR projects? There > > doesn't seem to be much of anything in any depth discussing EARs or > > structuring ear projects. I found this link to be invaluable: http://jira.codehaus.org/browse/ARCHETYPE-8 I didn't use the attached archetype, instead unzipped the sample project. It is a multi-module build which includes jars, a war, ejbs and an ear project. It worked great for me. Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ear projects
On Mon, 2006-02-06 at 15:40 -0700, Brad O'Hearne wrote: > I'm trying to convert an existing project to a maven ear project and I'm > having some difficulty. I have several questions: > > 1) Is there any solid documentation surrounding EAR projects? There > doesn't seem to be much of anything in any depth discussing EARs or > structuring ear projects. > > 2) How do I create an EAR project? The command line in the brief > documentation returns errors. > > 3) I have an existing Java project with Java source and I tried to build > it as an EAR project. It doesn't seem to compile java source code. Is > there some rule that states an EAR can't have java source code? Ear files are assemblies of other archives (EJB jars, wars, etc.), so it doesn't make sense to have Java source code directly associated with an ear project. Create a jar project for your Java code, and then make your ear project depend on it. However, even that won't be very useful unless you have a war (webapp) or EJB jar that uses the code. -Max > > Thanks for your help > > Brad > > - > 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]
Ear projects
I'm trying to convert an existing project to a maven ear project and I'm having some difficulty. I have several questions: 1) Is there any solid documentation surrounding EAR projects? There doesn't seem to be much of anything in any depth discussing EARs or structuring ear projects. 2) How do I create an EAR project? The command line in the brief documentation returns errors. 3) I have an existing Java project with Java source and I tried to build it as an EAR project. It doesn't seem to compile java source code. Is there some rule that states an EAR can't have java source code? Thanks for your help Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]