You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Ashish Jain <as...@gmail.com> on 2008/03/21 10:17:35 UTC
where to find the latest Eclipse plugin for OpenEJB
Hi,
I am looking to setup development environment for OpenEJB. These are the
steps I followed
1) Checkout the code.
2) Ran the build.
3) Ran the command *C:\OpenEjb>mvn -Peclipse eclipse:eclipse
*4) Finally I followed the steps as mentioned in *
https://issues.apache.org/jira/browse/OPENEJB-674.
*5) For Step4 I downloaded *xxx_final.zip.
*
Now I am a stuck at *B. Adding a new installed runtime * 4. Click next and
specify the location of the installation directory of OpenEJB
During the 4th step I get the error
*Missing classpath entry C:\openejb3.0b2\openejb-
3.0-beta-2\lib\openejb-core-3.0.0-SNAPSHOT.jar
*
There are no snapshots jar present in *<openejb_home>/lib*. what it suggests
is plugin is referring to some old jars. Is that the reason? Is there any
way we can modify the the classpath entry to point to correct jar. Is there
an alternate plugin available?
PS: I am using WindowsXp.
Thanks
Ashish
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Jonathan Gallimore <jo...@gmail.com>.
Ashish,
I think the OpenEJB plugin to launch a server runtime is hardcoded to look
for jars with openejb-*-3.0.0-SNAPSHOT version number which I think is what
the jars have in the filename when I do a build manually on my machine, but
not what the binaries on the site have (they are openejb-*3.0-beta-2).
I'll have a look this afternoon and see if I can do something to improve
this.
Cheers
Jon
On Fri, Mar 21, 2008 at 1:09 PM, Karan Malhi <ka...@gmail.com> wrote:
> Ashish,
>
> Also look at this (
> http://www.nabble.com/New-patch-for-OpenEJB-Eclipse-Plugin-td16166987.html
> ).
> Jonathan has an update site which you could use to download and install
> the
> plugin.
>
> On Fri, Mar 21, 2008 at 8:06 AM, Karan Malhi <ka...@gmail.com>
> wrote:
>
> > Ashish,
> >
> > There are two things here.
> > 1. You want to work with the OpenEjb source in eclipse:- Just follow
> the
> > steps listed here (http://openejb.apache.org/source-code.html) to build
> > and assemble. Then follow the steps here (
> > http://maven.apache.org/guides/mini/guide-ide-eclipse.html) to import
> the
> > projects into eclipse.
> >
> > 2. You want to create EJB's and deploy and test them on OpenEJB using
> > Eclipse:- For this scenario, checkout the code from
> >
> http://svn.apache.org/repos/asf/openejb/trunk/sandbox/openejb-eclipse-plugin
> > Read the README.txt file for further instructions.
> >
> >
> >
> >
> > On Fri, Mar 21, 2008 at 5:17 AM, Ashish Jain <as...@gmail.com> wrote:
> >
> > > Hi,
> > > I am looking to setup development environment for OpenEJB. These are
> the
> > > steps I followed
> > > 1) Checkout the code.
> > > 2) Ran the build.
> > > 3) Ran the command *C:\OpenEjb>mvn -Peclipse eclipse:eclipse
> > > *4) Finally I followed the steps as mentioned in *
> > > https://issues.apache.org/jira/browse/OPENEJB-674.
> > > *5) For Step4 I downloaded *xxx_final.zip.
> > > *
> > > Now I am a stuck at *B. Adding a new installed runtime * 4. Click next
> > > and
> > > specify the location of the installation directory of OpenEJB
> > > During the 4th step I get the error
> > > *Missing classpath entry C:\openejb3.0b2\openejb-
> > > 3.0-beta-2\lib\openejb-core-3.0.0-SNAPSHOT.jar
> > > *
> > > There are no snapshots jar present in *<openejb_home>/lib*. what it
> > > suggests
> > > is plugin is referring to some old jars. Is that the reason? Is there
> > > any
> > > way we can modify the the classpath entry to point to correct jar. Is
> > > there
> > > an alternate plugin available?
> > >
> > > PS: I am using WindowsXp.
> > >
> > > Thanks
> > > Ashish
> > >
> >
> >
> >
> > --
> > Karan Singh Malhi
>
>
>
>
> --
> Karan Singh Malhi
>
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Karan Malhi <ka...@gmail.com>.
Ashish,
Also look at this (
http://www.nabble.com/New-patch-for-OpenEJB-Eclipse-Plugin-td16166987.html).
Jonathan has an update site which you could use to download and install the
plugin.
On Fri, Mar 21, 2008 at 8:06 AM, Karan Malhi <ka...@gmail.com> wrote:
> Ashish,
>
> There are two things here.
> 1. You want to work with the OpenEjb source in eclipse:- Just follow the
> steps listed here (http://openejb.apache.org/source-code.html) to build
> and assemble. Then follow the steps here (
> http://maven.apache.org/guides/mini/guide-ide-eclipse.html) to import the
> projects into eclipse.
>
> 2. You want to create EJB's and deploy and test them on OpenEJB using
> Eclipse:- For this scenario, checkout the code from
> http://svn.apache.org/repos/asf/openejb/trunk/sandbox/openejb-eclipse-plugin
> Read the README.txt file for further instructions.
>
>
>
>
> On Fri, Mar 21, 2008 at 5:17 AM, Ashish Jain <as...@gmail.com> wrote:
>
> > Hi,
> > I am looking to setup development environment for OpenEJB. These are the
> > steps I followed
> > 1) Checkout the code.
> > 2) Ran the build.
> > 3) Ran the command *C:\OpenEjb>mvn -Peclipse eclipse:eclipse
> > *4) Finally I followed the steps as mentioned in *
> > https://issues.apache.org/jira/browse/OPENEJB-674.
> > *5) For Step4 I downloaded *xxx_final.zip.
> > *
> > Now I am a stuck at *B. Adding a new installed runtime * 4. Click next
> > and
> > specify the location of the installation directory of OpenEJB
> > During the 4th step I get the error
> > *Missing classpath entry C:\openejb3.0b2\openejb-
> > 3.0-beta-2\lib\openejb-core-3.0.0-SNAPSHOT.jar
> > *
> > There are no snapshots jar present in *<openejb_home>/lib*. what it
> > suggests
> > is plugin is referring to some old jars. Is that the reason? Is there
> > any
> > way we can modify the the classpath entry to point to correct jar. Is
> > there
> > an alternate plugin available?
> >
> > PS: I am using WindowsXp.
> >
> > Thanks
> > Ashish
> >
>
>
>
> --
> Karan Singh Malhi
--
Karan Singh Malhi
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Karan Malhi <ka...@gmail.com>.
Ashish,
There are two things here.
1. You want to work with the OpenEjb source in eclipse:- Just follow the
steps listed here (http://openejb.apache.org/source-code.html) to build and
assemble. Then follow the steps here (
http://maven.apache.org/guides/mini/guide-ide-eclipse.html) to import the
projects into eclipse.
2. You want to create EJB's and deploy and test them on OpenEJB using
Eclipse:- For this scenario, checkout the code from
http://svn.apache.org/repos/asf/openejb/trunk/sandbox/openejb-eclipse-plugin
Read the README.txt file for further instructions.
On Fri, Mar 21, 2008 at 5:17 AM, Ashish Jain <as...@gmail.com> wrote:
> Hi,
> I am looking to setup development environment for OpenEJB. These are the
> steps I followed
> 1) Checkout the code.
> 2) Ran the build.
> 3) Ran the command *C:\OpenEjb>mvn -Peclipse eclipse:eclipse
> *4) Finally I followed the steps as mentioned in *
> https://issues.apache.org/jira/browse/OPENEJB-674.
> *5) For Step4 I downloaded *xxx_final.zip.
> *
> Now I am a stuck at *B. Adding a new installed runtime * 4. Click next and
> specify the location of the installation directory of OpenEJB
> During the 4th step I get the error
> *Missing classpath entry C:\openejb3.0b2\openejb-
> 3.0-beta-2\lib\openejb-core-3.0.0-SNAPSHOT.jar
> *
> There are no snapshots jar present in *<openejb_home>/lib*. what it
> suggests
> is plugin is referring to some old jars. Is that the reason? Is there any
> way we can modify the the classpath entry to point to correct jar. Is
> there
> an alternate plugin available?
>
> PS: I am using WindowsXp.
>
> Thanks
> Ashish
>
--
Karan Singh Malhi
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Ashish Jain <as...@gmail.com>.
yeah I too get the same error message :).
Thanks
Ashish
On Sun, Mar 23, 2008 at 6:46 PM, Jonathan Gallimore <
jonathan.gallimore@gmail.com> wrote:
> I'm having a similar problem too, the error message is:
>
> "You do not have permission to view this page.
>
> You have to be a member of *all* the following groups to access this page.
> If this is incorrect please contact your administrator."
> And the list of groups underneath is empty.. :-)
>
> Jon
>
> On Sun, Mar 23, 2008 at 10:46 AM, Jacek Laskowski <ja...@laskowski.net.pl>
> wrote:
>
> > On Sun, Mar 23, 2008 at 10:51 AM, Ashish Jain <as...@gmail.com>
> wrote:
> >
> > > I will be happy to that but I need access to add contents to OpenEJB
> > wiki.
> > > Please provide me the contributor access.
> >
> > You say you couldn't sign in and add content to wiki? That's strange.
> > What error message did you get? I know the policy of adding content to
> > Wiki changed as some ASF projects asked people to put the content to a
> > jira so it could be added to a project. I'll have to dig it up in the
> > ASF docs.
> >
> > Jacek
> >
> > --
> > Jacek Laskowski
> > http://www.JacekLaskowski.pl
> >
>
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by "Daniel S. Haischt" <da...@googlemail.com>.
I am in the process of adding OPENEJB-674-15.diff and
OPENEJB-674-16.zip.
Jacek Laskowski wrote:
> On Mon, Mar 24, 2008 at 10:36 PM, Jonathan Gallimore
> <jo...@gmail.com> wrote:
>
>> I've attached OPENEJB-674-15.diff and OPENEJB-674-16.zip to Jira issue
>> 674. These are the patch and binary files to add a Maven site to the
>> project. I've added some basic pages showing installation, building and
>> using the plugin.
>
> I won't be able to do it right now. I'm going to commit it tomorrow
> unless someone beats me to it.
>
> Jacek
>
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Mon, Mar 24, 2008 at 10:36 PM, Jonathan Gallimore
<jo...@gmail.com> wrote:
> I've attached OPENEJB-674-15.diff and OPENEJB-674-16.zip to Jira issue
> 674. These are the patch and binary files to add a Maven site to the
> project. I've added some basic pages showing installation, building and
> using the plugin.
I won't be able to do it right now. I'm going to commit it tomorrow
unless someone beats me to it.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Jonathan Gallimore <jo...@gmail.com>.
Hi All,
I've attached OPENEJB-674-15.diff and OPENEJB-674-16.zip to Jira issue
674. These are the patch and binary files to add a Maven site to the
project. I've added some basic pages showing installation, building and
using the plugin.
Regards
Jon
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Sun, Mar 23, 2008 at 2:16 PM, Jonathan Gallimore
<jo...@gmail.com> wrote:
> I'm having a similar problem too, the error message is:
>
> "You do not have permission to view this page.
>
> You have to be a member of *all* the following groups to access this page.
> If this is incorrect please contact your administrator."
> And the list of groups underneath is empty.. :-)
I can't decipher the message so I'd wait for Daves, Dain or others to
look into it.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Jonathan Gallimore <jo...@gmail.com>.
I'm having a similar problem too, the error message is:
"You do not have permission to view this page.
You have to be a member of *all* the following groups to access this page.
If this is incorrect please contact your administrator."
And the list of groups underneath is empty.. :-)
Jon
On Sun, Mar 23, 2008 at 10:46 AM, Jacek Laskowski <ja...@laskowski.net.pl>
wrote:
> On Sun, Mar 23, 2008 at 10:51 AM, Ashish Jain <as...@gmail.com> wrote:
>
> > I will be happy to that but I need access to add contents to OpenEJB
> wiki.
> > Please provide me the contributor access.
>
> You say you couldn't sign in and add content to wiki? That's strange.
> What error message did you get? I know the policy of adding content to
> Wiki changed as some ASF projects asked people to put the content to a
> jira so it could be added to a project. I'll have to dig it up in the
> ASF docs.
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Karan Malhi <ka...@gmail.com>.
Jonathan,
You can probably use this class :- org.apache.openejb.util.OpenEjbVersion
On Sun, Mar 23, 2008 at 10:09 AM, Jonathan Gallimore <
jonathan.gallimore@gmail.com> wrote:
> I've attached a patch OPENEJB-674-14.diff to JIRA. This changes the
> version string in the jar filenames the plugin looks for to
> 3.0-SNAPSHOT, so the plugin should work with OpenEJB built from trunk.
>
> Making it work with different version strings (e.g. 3.0-beta-2) has
> proved to be somewhat tricky. I haven't found a way of doing this with
> the Generic Server support in the WST. I'll look into writing a bit of
> code to do this, but it'll take a little longer.
>
> Jon
>
>
--
Karan Singh Malhi
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Jonathan Gallimore <jo...@gmail.com>.
I've attached a patch OPENEJB-674-14.diff to JIRA. This changes the
version string in the jar filenames the plugin looks for to
3.0-SNAPSHOT, so the plugin should work with OpenEJB built from trunk.
Making it work with different version strings (e.g. 3.0-beta-2) has
proved to be somewhat tricky. I haven't found a way of doing this with
the Generic Server support in the WST. I'll look into writing a bit of
code to do this, but it'll take a little longer.
Jon
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Sun, Mar 23, 2008 at 10:51 AM, Ashish Jain <as...@gmail.com> wrote:
> I will be happy to that but I need access to add contents to OpenEJB wiki.
> Please provide me the contributor access.
You say you couldn't sign in and add content to wiki? That's strange.
What error message did you get? I know the policy of adding content to
Wiki changed as some ASF projects asked people to put the content to a
jira so it could be added to a project. I'll have to dig it up in the
ASF docs.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Ashish Jain <as...@gmail.com>.
Hi Jacek,
I will be happy to that but I need access to add contents to OpenEJB wiki.
Please provide me the contributor access.
Thanks
Ashish
On Sat, Mar 22, 2008 at 9:30 PM, Jacek Laskowski <ja...@laskowski.net.pl>
wrote:
> On Fri, Mar 21, 2008 at 10:17 AM, Ashish Jain <as...@gmail.com> wrote:
>
> > I am looking to setup development environment for OpenEJB. These are
> the
> > steps I followed
>
> > *4) Finally I followed the steps as mentioned in *
> > https://issues.apache.org/jira/browse/OPENEJB-674.
>
> It's still work in progress so expect unexpected, esp. no docs - only
> source code and mailing list. I think your next assignment could be to
> document what Jonathan Gallimore have done so far. What do you think?
>
> To download the Eclipse plugin for OpenEJB, do the following:
>
> 1. svn co http://svn.apache.org/repos/asf/openejb/trunk/sandboxopenejb-sandbox
> 2. cd openejb-sandbox/openejb-eclipse-plugin
> 3/ mvn clean install
> ...install the plugin -
> assembly\target\openejb-eclipse-plugin-1.0.0-SNAPSHOT-deployable.zip -
> as you do with other plugins (I copy it over to a directory with
> .eclipseextension and link it with *.link file).
>
> Run Eclipse and you should notice OpenEJB menu.
>
> I've just committed the latest changes of Jonathan's. They built fine
> and worked well.
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>
Re: where to find the latest Eclipse plugin for OpenEJB
Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Fri, Mar 21, 2008 at 10:17 AM, Ashish Jain <as...@gmail.com> wrote:
> I am looking to setup development environment for OpenEJB. These are the
> steps I followed
> *4) Finally I followed the steps as mentioned in *
> https://issues.apache.org/jira/browse/OPENEJB-674.
It's still work in progress so expect unexpected, esp. no docs - only
source code and mailing list. I think your next assignment could be to
document what Jonathan Gallimore have done so far. What do you think?
To download the Eclipse plugin for OpenEJB, do the following:
1. svn co http://svn.apache.org/repos/asf/openejb/trunk/sandbox openejb-sandbox
2. cd openejb-sandbox/openejb-eclipse-plugin
3/ mvn clean install
...install the plugin -
assembly\target\openejb-eclipse-plugin-1.0.0-SNAPSHOT-deployable.zip -
as you do with other plugins (I copy it over to a directory with
.eclipseextension and link it with *.link file).
Run Eclipse and you should notice OpenEJB menu.
I've just committed the latest changes of Jonathan's. They built fine
and worked well.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl