jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject Maven plugin problem (was RE: DO NOT REPLY [Bug 25983] - jboss port is not changed ifcactus.port is used)
Date Wed, 14 Jan 2004 07:32:47 GMT
Hi Stephane,

I'm also currently having a problem with the cactus plugin for maven
(when running the servlet sample). Not the same error as yours but it
may be related.

I'm currently working on trying to solve this. I'll let you know when I
have it fixed. If you have any idea, please feel free to submit it! :-)

Thanks
-Vincent

> -----Original Message-----
> From: Stephane Nicoll [mailto:snicoll@kiala.com]
> Sent: 14 January 2004 08:23
> To: Cactus User ML
> Subject: RE: DO NOT REPLY [Bug 25983] - jboss port is not changed
> ifcactus.port is used
> 
> All,
> 
> As you can see below I was trying to use the latest version of cactus
> plugin for maven (the CVS head). I got fancy errors while trying to
> build the ear.
> 
> Vincent, I tried with the sample ejb below and I got exactly the same
> error. Is there something wrong with the plugin or what?
> 
> java:compile:
>     [echo] Compiling to
> /home/snicoll/workspace/CACTUS/jakarta-
> cactus/integration/maven/samples/ejb/target/classes
> 
> java:jar-resources:
> 
> test:prepare-filesystem:
> 
> test:test-resources:
> 
> test:compile:
>     [echo] No test source files to compile.
> 
> test:test:
>     [echo] No tests to run.
> 
> 
> ejb:ejb:
>     [echo] Building ejb maven-cactus-sample-ejb-1.0
>     [jar] Building jar:
> /home/snicoll/workspace/CACTUS/jakarta-
> cactus/integration/maven/samples/ejb/target/maven-cactus-sample-ejb-
> 1.0.jar
> 
>     [ear] error while reading original manifest: Is a directory
>     [ear] Building ear:
> /home/snicoll/workspace/CACTUS/jakarta-
> cactus/integration/maven/samples/ejb
> 
> BUILD FAILED
> File...... file:/home/snicoll/.maven/plugins/cactus-maven-1.6dev/
> Element... ant:ear
> Line...... 764
> Column.... 53
> Problem creating ear:
> /home/snicoll/workspace/CACTUS/jakarta-
> cactus/integration/maven/samples/ejb (Is a directory) (and the archive
is
> probably corrupt but I could not delete it)
> Total time: 7 seconds
> Finished at: Wed Jan 14 08:19:56 CET 2004
> 
> I have maven RC1 and the ear plugin version 1.3
> 
> I didn't change anything on my local copy of the CVS repository.
> 
> Any idea?
> 
> Regards,
> 
> Stephane
> 
> 
> On Tue, 2004-01-13 at 23:37, Vincent Massol wrote:
> > Hi Stephane,
> >
> > Here it is:
> >
> >
http://cvs.apache.org/viewcvs.cgi/jakarta-cactus/integration/maven/sampl
> > es/ejb/
> >
> > I don't see how the JBoss local interfaces could be a problem with
> > Cactus.
> >
> > Thanks
> > -Vincent
> >
> > > -----Original Message-----
> > > From: Stephane Nicoll [mailto:snicoll@kiala.com]
> > > Sent: 13 January 2004 23:24
> > > To: Vincent Massol; cactus-dev@jakarta.apache.org
> > > Subject: RE: DO NOT REPLY [Bug 25983] - jboss port is not changed
if
> > > cactus.port is used
> > >
> > >
> > > Vincent,
> > >
> > > I checked CVS and it uses ant, not maven (I mean the cactus maven
> > plugin
> > > wich
> > > is currently in CVS). Any maven sample somewhere?
> > >
> > > Also I am fighting with JBoss and local interfaces. Seems I am
unable
> > to
> > > use
> > > them in my cactus tests. Any info?
> > >
> > > Regards,
> > >
> > > Stephane
> > >
> > > -----Original Message-----
> > > From:	Vincent Massol [mailto:vmassol@pivolis.com]
> > > Sent:	Mon 1/12/2004 10:30
> > > To:	'Cactus Developers List'
> > > Cc:	Stephane Nicoll
> > > Subject:	RE: DO NOT REPLY [Bug 25983]  -     jboss port is not
> > changed
> > > if cactus.port is used
> > > Hi Stephane,
> > >
> > > There is an ejb sample in CVS. It's in samples/ejb. Could you try
it
> > and
> > > see if it works for you?
> > >
> > > For the full cycle, it must be because I've changed something
> > yesterday.
> > > I'll have a look later in the week.
> > >
> > > Thanks
> > > -Vincent
> > >
> > > > -----Original Message-----
> > > > From: Stephane Nicoll [mailto:snicoll@kiala.com]
> > > > Sent: 12 January 2004 10:05
> > > > To: Vincent Massol
> > > > Subject: RE: DO NOT REPLY [Bug 25983] - jboss port is not
changed if
> > > > cactus.port is used
> > > >
> > > > Vincent,
> > > >
> > > > Using 1.6dev I am not able to cactify my ear anymore. My plugin
was
> > > the
> > > > original one (maven-cactus-plugin-3.1) patched with a patch I
found
> > on
> > > > JIRA
> > > > to support EAR.
> > > >
> > > > Well can you quickly tell me which properties I need to set to
be
> > able
> > > to
> > > > generate the cactus ear?
> > > >
> > > > Here's the error I got:
> > > >
> > > > ejb:ejb:
> > > >     [echo] Building ejb kserver-b2b-inbound-1.10.2
> > > >
> > > >     [ear] error while reading original manifest: Is a directory
> > > >     [ear] Building ear:
> > > > /home/snicoll/workspace/KSERVER/kserver/modules/b2b-inbound
> > > >
> > > > BUILD FAILED
> > > > File......
file:/home/snicoll/.maven/plugins/cactus-maven-1.6dev/
> > > > Element... ant:ear
> > > > Line...... 764
> > > > Column.... 53
> > > > Problem creating ear:
> > > > /home/snicoll/workspace/KSERVER/kserver/modules/b2b-inbound (Is
a
> > > > directory)
> > > > (and the archive is probably corrupt but I could not delete it)
> > > > Total time: 36 seconds
> > > > Finished at: Mon Jan 12 10:04:20 CET 2004
> > > >
> > > >
> > > > Also, when I do cactus:test-ear It will go through the complete
> > cycle
> > > > several
> > > > times (that is compile, jar, unit test), which is really
annoying.
> > Any
> > > way
> > > > to
> > > > do this only once?
> > > >
> > > > Regards,
> > > >
> > > > Stephane
> > > >
> > > > -----Original Message-----
> > > > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > > > Sent: Monday, January 12, 2004 9:42 AM
> > > > To: 'Cactus Developers List'
> > > > Cc: Stephane Nicoll
> > > > Subject: RE: DO NOT REPLY [Bug 25983] - jboss port is not
changed if
> > > > cactus.port is used
> > > >
> > > >
> > > > Hi Stephane,
> > > >
> > > > > -----Original Message-----
> > > > > From: bugzilla@apache.org [mailto:bugzilla@apache.org]
> > > > > Sent: 12 January 2004 07:09
> > > > > To: cactus-dev@jakarta.apache.org
> > > > > Subject: DO NOT REPLY [Bug 25983] - jboss port is not changed
if
> > > > > cactus.port is used
> > > > >
> > > >
> > > > [snip]
> > > >
> > > > >
> > > > > PS: maybe a stupid question, but how the hell can I jar the
maven
> > > > plugin
> > > > > from  CVS?
> > > >
> > > > You need Maven installed first. Then cd to integration/maven and
> > type
> > > > "maven plugin:install". That will not only create a jar but also
> > > install
> > > > it as a plugin in your Maven install. If you want to only
generate a
> > > > jar, type "maven jar".
> > > >
> > > > Thanks
> > > > -Vincent
> > >
> > >
> > >
> > >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message