I have a bean property that is displayed on a page. The value of the
property needs to be initialized by making a service layer call. When
should this initialization be done? Currently I am doing a lazy
initialization when the property is first accessed:
public class ForumDetailsBean {
Please ignore - sent to wrong forum accidentally.
Naresh
-Original Message-
From: Naresh Bhatia
Sent: Thursday, December 07, 2006 1:21 PM
To: 'Maven Users List'
Subject: When to initialize bean properties?
I have a bean property that is displayed on a page. The value of the
property
I would like to find out how people use Maven to integrate database
builds into the Maven build cycle. My team is currently using a
multiple-pass approach, i.e. invoking Maven multiple times with
different goals - primary reason is that the database schema is
generated from a UML model during the
of phases?
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl
e.html
Sounds to me like you might want to hook it up like:
@generate-test-resources drop-schema
@process-test-resourcescreate-schema
Wayne
On 10/27/06, Naresh Bhatia [EMAIL PROTECTED] wrote:
I would like to find
to this thread check out
http://jira.codehaus.org/browse/MNG-1683 this gave me my solution for
packaging stuff in a zip deploying as an artifact then unpacking in a
war.
Peter
-Original Message-
From: Naresh Bhatia [mailto:[EMAIL PROTECTED]
Sent: Sunday, 15 October 2006 1:01 PM
Hi,
I would like to unpack a zip file into a source directory using Maven.
What is the best way to do this? Here are the details of what I am
trying to do:
- The zip file is essentially the Dojo JavaScript library
(ajax-2006.10.10.zip ) - it simply contains JavaScript source.
- I would like to
Please ignore this message. I had sent it to the mailing list without
realizing that I was not subscribed to the list. This message has
already been answered satisfactorily.
Naresh
-Original Message-
From: Naresh Bhatia [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 14, 2006 11:11 AM
Hi,
I would like to unpack a zip file into a source directory using Maven.
What is the best way to do this? Here are the details of what I am
trying to do:
- The zip file is essentially the Dojo JavaScript library
(ajax-2006.10.10.zip ) - it simply contains JavaScript source.
- I would like to
Thanks so much Wendy. That is exactly what I was looking for.
Naresh
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 14, 2006 11:34 AM
To: Maven Users List
Subject: Re: How to unpack a zip file into a source directory
On 10/14/06, Naresh Bhatia
: Saturday, October 14, 2006 11:34 AM
To: Maven Users List
Subject: Re: How to unpack a zip file into a source directory
On 10/14/06, Naresh Bhatia [EMAIL PROTECTED] wrote:
I would like to unpack a zip file into a source directory using Maven.
What is the best way to do this?
I'm doing something
I have a multi-project with several properties defined in an active
profile in the root pom:
profiles
profile
idlocal/id
activation
activeByDefaulttrue/activeByDefault
/activation
properties
Perfect! That worked like a charm. Thanks again Wendy.
Naresh
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 14, 2006 10:32 PM
To: Maven Users List
Subject: Re: How to unpack a zip file into a source directory
On 10/14/06, Naresh Bhatia [EMAIL
Does anyone know how to join the mevenide mailing list? The Lists link
on http://codehaus.org/ is broken so I don't know how to join that list.
Thanks.
version2.0-rc2/version
/dependency
... and Maven (or maybe it's the poms) doesn't recognize that this JAR
is the same (and newer!) as all the Acegi dependencies.
Matt
On 8/29/06, Henry S. Isidro [EMAIL PROTECTED] wrote:
On Saturday, August 26, 2006 13:52, Naresh Bhatia wrote:
I am packaging
I am packaging my web application as an ear file because it uses EJBs. I
am using Acegi for security. However if I add Acegi as a dependency in
the war subproject then it pulls in bunch of other jars that are also
needed in my ejb subproject (such as spring) and I run into classloader
issues at
The only thing that surprises me is that I never faced this issue with
Maven 1. It would either connect to the repository perfectly and
download everything in one shot or if it could not connect, it would
come to a dead stop - repeated tries never helped. Is Maven 2 different
somehow in how it
This is not an answer to your question, but FYI, the tutorial you are trying is
dated. The latest tutorial is at
http://galaxy.andromda.org/index.php?option=com_contenttask=categorysectionid=11id=42Itemid=89
and tells you step-by-step how to use AndroMDA with Maven 2.
Naresh
-Original
List
Subject: Re: How to test an ejb package with Maven and TestNG?
Hi,
see comment inline...
Naresh Bhatia schrieb:
I have a maven project with packaging set to ejb. I would like to test
this project outside an ejb container by simply calling POJO classes
inside it. I have written a very simple
I have a maven project with packaging set to ejb. I would like to test
this project outside an ejb container by simply calling POJO classes
inside it. I have written a very simple test using TestNG:
public class UserServiceTest {
@Test
public void testGetAllUsers() {
...
I am running the following command to generate a simple J2EE app:
mvn archetype:create -DgroupId=TestEarApp -DartifactId=TestEarApp
-DarchetypeArtifactId=maven-archetype-j2ee-simple
But I am getting the following error. Can someone give me a helping hand
on this one?
[INFO]
with the maven until I started to run the
command with the -U flag.. it forced the maven to update its libraries and
the things started to happens.
On 6/16/06, Naresh Bhatia [EMAIL PROTECTED] wrote:
I am running the following command to generate a simple J2EE app:
mvn archetype:create -DgroupId
to happens.
On 6/16/06, Naresh Bhatia [EMAIL PROTECTED] wrote:
I am running the following command to generate a simple J2EE app:
mvn archetype:create -DgroupId=TestEarApp -DartifactId=TestEarApp
-DarchetypeArtifactId=maven-archetype-j2ee-simple
But I am getting the following error
, Naresh Bhatia [EMAIL PROTECTED] wrote:
Yep, that's exactly the problem. Any idea on release cycle of
maven-archetype?
Thanks.
Naresh
-Original Message-
From: Kieran Brady [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 12:17 PM
To: users@maven.apache.org
Subject: RE: RE: Error
verify also if some other VM is in your PATH variable, like the IBM
websphere ones or an old configuration...
good luck my friend :)
On 6/16/06, Naresh Bhatia [EMAIL PROTECTED] wrote:
Yep, JAVA_HOME=D:\Program Files\Java\jdk1.5.0_06 which is where my JDK is
installed. I agree, sometimes
24 matches
Mail list logo