Jboss 6.1 Eclipse 4.19.0 Integration - eclipse

I have joined a new company where they do not allow us to download anything (Eclipse Marketplace). The default installation of eclipse does not have JBoss wildfly plugin.
Currently, even if I remove a comma in my code, it take 7 to 8 minutes to build/deploy/test
I need to configure Jboss in eclipse and able to do hot deployment whenever I change code. To download the plugin, I need to raise a request. Can I raise a request for below? would it solve my purpose? Can I install this plugin to my eclipse and configure jboss server in the server tab?
https://tools.jboss.org/downloads/jbosstools/2021-03/4.19.1.Final.html#update_site
Jboss 6.1 Eclipse 4.19.0 (I have eclipse 4.2 as well)
Any other idea would be helpful

Yes if you download the update site as a zip file, you will be able to install JBoss Tools plugins in your local Eclipse even in the case you don't have access to network

Related

Wildfly servers are not listed in eclipseIDE 2021-06

I am using EclipseIDE 2021-06 , Wildfly server 21.02. and jdk-11.0.14.0.1
Due to system restrictions unable to download it from eclipse market place. Also no link is working whlie trying installing new software in eclipse.
How can I get the wildfly server listed in eclipse?

Integrating JBOSS and Eclipse

I have JBOSS server. I used to make web applications using just notepad++. I used to create the necessary folders like web-inf and files like web.xml. For larger projects doing all this and manually compiling has become cumbersome. I want to use eclipse for that. I saw this tutorial - http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html . But I don't understand how to make a server. I already have a server. What I want to do is write JSPs and Servlets in eclipse and the build should automatically be deployed in jboss server.
How to to this?
Install JBoss Tools
After that follow the instructions from here to get started and deploy apps to JBoss Server.
To automatically deploy apps after the build you could use a build tool such as ANT or Maven.
I wrote a tutorial for this some time ago: Setting up web development environments with Eclipse
It shows how to setup JBoss within Eclipse (in addition, it also shows how to setup Tomcat and Weblogic), and also shows how to build a simple sample Servlet to verify the proper installation.
If you already use JBoss on the server side, then have a look at the client side as well: http://www.jboss.org/developer
(I haven't tried it myself, but...)
Just open eclipse then go to:
"Help-> Check For Updates" It will check for eclipse updates and installs new availables.
Now "Help -> Eclipse Market Place" Search for "Jboss tools" from search result select one(as your eclipse version) and install it. It will add adapter for new jboss versions.
Now add new server from server view select Jboss version then next add your Home directory of jboss. Then finish.
Step 1 is optional but it sometime it helps.

Is it possible to integrate Glassfish support into Liferay IDE yet?

I am looking for a bit of Liferay/Glassfish assistance here.
I am currently using a Liferay 6.0.6 portal running on Glassfish 3.0.1 and developing in Eclipse 3.7 (Indigo). I have downloaded the Liferay IDE for Eclipse as well.
The trouble I am having is in actually developing in Eclipse against a Glassfish server. I cannot create an actual Liferay project in Eclipse because the wizard requires me to specify a Liferay-Tomcat runtime environment.
Now I realize that this is the only server that is supported for the Liferay IDE as it is clearly documented in multiple places on the Liferay website and various forums around the web. However, I seem to recall one site (which, of course, I didn't bookmark :/ ) that gave instructions on a workaround for using Glassfish within the Liferay IDE. I believe it had something to do with creating the initial project as a Tomcat project, then going behind the scenes and changing some configuration files' Tomcat references to point to my Glassfish server.
I have set up my Liferay SDK environment correctly, including the build.username.properties file. I have this file pointing to my Glassfish server.
#
# Specify the paths to an unzipped Glassfish bundle.
#
project.dir=C:\\DEV\\myworkspace
app.server.type=glassfish
app.server.dir=${project.dir}\\..\\bundles\\liferay-portal-6.0.6\\glassfish-3.0.1
app.server.deploy.dir=${app.server.dir}\\autodeploy
app.server.lib.global.dir=${app.server.dir}\\domains\\domain1\\lib
app.server.portal.dir=${app.server.dir}\\domains\\domain1\\applications\\liferay-portal
However, everytime I try to do a deploy through Eclipse...
...this build.username.properties file gets overwritten with Tomcat settings from the runtime environment.
app.server.type = tomcat
app.server.dir = C:\\DEV\\bundles\\liferay-tomcat-6.0.6\\tomcat-6.0.29
app.server.deploy.dir = C:\\DEV\\bundles\\liferay-tomcat-6.0.6\\tomcat-6.0.29\\webapps
app.server.lib.global.dir = C:\\DEV\\bundles\\liferay-tomcat-6.0.6\\tomcat-6.0.29\\lib\\ext
app.server.portal.dir = C:\\DEV\\bundles\\liferay-tomcat-6.0.6\\tomcat-6.0.29\\webapps\\ROOT
Is there somewhere else that I need to make a change in order to get Eclipse to recognize my Glassfish server?
Any help or tips would be greatly appreciated.
It is not currently possible to use a Liferay+Glassfish bundle directly as a runtime or server adapter in Eclipse with the Liferay IDE plugins. As you pointed out the only runtime and server adapters for Liferay IDE are the tomcat bundles. However, you can still use Liferay IDE to develop with Glassfish by using the following receipe with version 6.0.6 and current version of Liferay IDE.
Download Liferay+tomcat bundle
Configure it as a Liferay runtime
Create the project pointing to Liferay runtime
Go to Window > Preferences > Liferay > Installed SDKs, switch "update build.properties" option to Never
Launch Glashfish externally using startup script
Modify the build.properties in your SDK to point to Glasshfish as runtime
For deployment use the SDK deploy action just as you showed and it should be deployed to glassfish.
This should work for now. In the future, we will be adding support for Glassfish server to our Server Manager plugin that can be using with Liferay IDE and Liferay 6.1 for remote deployment and development, so it will work just like a local tomcat instance except it will be remote Liferay running on glassfish or jboss, or whatever you like. But right now the Server manager plugin in 6.1 beta4 only supports Tomcat6/7 and Jboss7. We hope to add Glassfish very soon.

how to get jboss tools to not automatically deploy on server start

ive just upgraded to eclipse 3.6 and i have a seam application running on jboss 5 with the latest version of jboss tools. my problem is that when i opened an xhtml page it asked me to activate the jsf components. i went ahead and did so and now my problem is that when i start jboss inside of eclipse it automatically deploys an exploded version of my app. i don't want this, i use ant to build and deploy the app and just use jboss tools to start and stop the server. i need to turn this feature off, does anyone have an idea how to do it?
Double click the server and select the radiobutton that says "Never publish automatically"
btw. you can also enable "Deploy projects as compressed archives" if your problem is that the deployment is exploded.

doubts installing hibernate ,hsqldb plugins for eclipse helios

I am taking my first steps developing web apps using Eclipse, Java EE, Hibernate, spring and hsqldb.
I installed the Helios version of Eclipse and installed WTP through the updater. But trying to install the plugins for others, I am having doubts.
Hibernate:
I tried the download jboss.org/jbosstools/updates/stable/ as the hostname in updater and it shows
JBoss Tools - 3.0.3.v200910211631N-H194-GA
JBoss Tools Integration for TPTP, BIRT - 3.0.3.v200910211631N-H194-GA
in the list.Which am I supposed to install?Where is the hibernate plugin?
hsqldb:
when I googled ,I got these links
sourceforge.net/projects/hsqldb-plugin/
Is this the one?what is the update host name I am supposed to give to eclipse?
spring:
i tried springide.org/updatesite/ .It shows a list of some 10 or more items..What should I select?core /spring IDE?
The HSQLDB plugin for eclipse is an extension that can be added from within eclipse. See here for details on how to set up and use.
http://article.gmane.org/gmane.comp.java.hsqldb.user/4633/