On Jun 18, 2007, at 4:24 PM, Karan Malhi wrote:
Thanks Mohammed,
I have been able to finally fix the issue (and understand quite a bit
of maven in the process :) ). The whole thing was a combination of a
broken plugin and my lack of understanding of lifecycle phases and how
it applies differently to packaging types like war, jar and pom.
Finally with the help of the resources-plugin, I have been able to fix
the build issue.
That's an impressive amount of debugging. It's no small task chasing
down plugin issues with little maven experience.
Currently I couldnt find much on eclipse on the openejb website. If
Dario has already started to document this, then I would wait for him
to post. Meanwhile, I am going to use this snapshot build to create
some examples of creating EJB's with openejb.
Don't wait! Two people working in isolation from each other on the
same thing is bad, yes, but two people working together on the same
thing is magic.... I just think back when Mohammad and Manu were
both hacking on the itests together, did wonders for encouraging
others to jump -- not to mention showing them how.
Whatever the two of you'd like to do, I started a page here:
http://cwiki.apache.org/OPENEJB/openejb-and-eclipse.html
What happened to the eclipse plugin though? Is anybody working on
that?. I have a semi-working swing based admin console. An eclipse
plugin would've been cool. Also, do you know if there is any web based
administrative console for openejb?
Don't think anything is going on with the Eclipse plugin, feel
encouraged to grab the yoke and start pulling. We did have a web
console at one point, but it didn't survive the 1.0 -> 3.0 refactor.
The code is definitely there in 1.0 if you wanted to try porting in
over.
Here are some docs on it: http://cwiki.apache.org/OPENEJB/webadmin.html
Not fancy but it was an extremely small amount of code.
-David
On 6/18/07, Mohammad Nour El-Din <[EMAIL PROTECTED]> wrote:
Hi Karan...
On 6/15/07, Karan Malhi <[EMAIL PROTECTED]> wrote:
>
> SNAPSHOT RELEASE
> I really want to be able to have a downloadable snapshot
release. We
> want to make it easy for people to download and extract a zipped
file
> and get started with openejb quickly. Downloading maven first, then
> checking out the whole thing and building it and then extracting
the
> snapshot for usage is really not a very comfortable thought if
> somebody had to try to use openejb. It would easily take more
than 1.5
> hours of somebody's time, before they can even start using
openejb. On
> top of that they will have to find the zip file from
> openejb3\assembly\openejb-standalone\target directory. I dont think
> this is very intuitive , even though it is well documented by
Jacek on
> the wiki.
> Maybe we already have a link to the snapshot release, but I dont
know
> where to find it
For this issue I have a nice solution Prasad follows for providing
daily
snapshots for Apache Gernimo. At the end of each day, I will provide
snapshots of OpenEJB3.0.0 with the build logs, just like what
Prasad does
and I will send a note with that on the dev-list.
SETUP DOCS
>
> I want to be able to add some documentation, so that if anybody
wanted
> to use openejb with eclipse, then they should be able to setup
their
> environment in a few minutes, provided they have downloaded eclipse
> and openejb. I would also like to provide some step by step
kind of
> docs to write a few ejb's in eclipse, deploy and test them in
openejb.
Did u give sometime to search for that on the OpenEJB confluence
http://docs.codehaus.org/display/OPENEJB/Home, I think you will
find such
info there. And if not I am glad to provide these info for OpenEJB
users.
THE PROBLEM
>
> My biggest hurdle at this point is Maven. I do not fully
understand it
> and cannot spend enough time on it to be able to fix the problem
> mentioned below:
>
> If i run mvn -Dassemble clean install from root, filtering doesnt
> work. however, if i simply run mvn from the openejb-standalone
module,
> filtering works fine. I did try to spend some time on it, but could
> not spend too much time. One thing which i have learnt is that
we need
> to specify explicit versions of any plugins we are using in
maven. In
> future, maven is going to make it mandatory to specify explicit
> versions, so it is going to be a good idea to adopt that strategy
> right away.
>
> May I also suggest that we do not use beta versions of plugins
if they
> have not been properly tested. Lets stick to the stable releases
even
> if we lose some cool functionality provided by the beta. We atleast
> know that it works and will continue to work (unless some bug was
> overlooked, but chances of that happening are lesser for stable
than
> beta versions)
>
> MAVEN and OPENEJB GURUS -- If you can point me in the right
direction
> to fix the above issue, that would be awesome!!. Once the above
> problem is fixed, then if somebody can provide any guidance on
how to
> automatically link the snapshot release on the openejb website,
that
> would be a big help.
In this point I am just like you :), I think we both need help
from Apache
Maven2 gurus.
--
> Karan Malhi
>
--
Thanks
- Mohammad Nour
--
Karan Malhi