Where is the bundles directory in Eclipse-Liferay IDE? - eclipse

I installed the liferay 7 portal/Eclipse IDE and created a liferay workspace in the IDE. The tomcat server is running but how can I see the data folder / hypersonic script in the Eclipse IDE?

To open a hypersonic script in the Eclipse IDE, please follow these steps:
Open your Eclipse-Liferay IDE and at the top, click on:
Window -> Perspective -> Open Perspective -> Other and select: "Database Development"
Right-click on "Database Connections" and select: "new"
Select "HSQLDB" and click on "next"
Click on the round icon called "new driver definition" and highlight "HSQLDB JDBC Driver" and then go to the "JAR List" tab.
Once there, click on Edit JAR/Zip and browse to your liferay7\tomcat-8.0.32\lib\ext folder and select hsqldb.jar
Click on "Test Connection" and you'll get "ping succeeded"
Click on Finish.
On the left side within your Eclipse, you will see the "NEW HSQLDB" connection. Expand it and browse to this location:
SAMPLE / Catalogs / PUBLIC / schemas /PUBLIC / tables
You should be able to see your tables listed here.
You can find a video with the instructions here:
https://www.youtube.com/watch?v=GHfF9h0-GYY
Hope this helps!

Related

How to setup tomcat with intelliJ?

I used to use eclipse for my java project till now. In that I used to give a server.xml corresponding to a tomcat server. But in IntelliJ I can't find where should I give that server.xml. Can anyone help me out?
You can find this file in Directories Used by IntelliJ IDEA to Store Settings, Caches, Plugins and Logs.
For my computer, I am using window 10, I found that in following path:
C:\Users\<USER ACCOUNT NAME>\.IntelliJIdea15\system\tomcat\<project name>\conf\server.xml
In intellij, you should click on Run > Edit configurations... > Add new configuration (clicking on "+" icon) > Tomcat (select local or remote) and complete the configuration using your settings.
I hope this can help you.
Thanks
Goto File, then New Project.
Create from Scratch.
Click Next, give the Project a Name, and keep Clicking Next until the Desired Technologies window comes.
Click Web-Application, then Finish.
Click File, then Settings.
Click on Application Servers and Hit the + to add a new Tomcat Server.
Set the Home Directory of the application server you have just installed(ex: c:/Program Files/Apache Software Foundation// and then Click ok.
Click on the run button, and then then Edit Defaults.
Click on the + in the top left hand corner and add a Tomcat Server, then Local configuration.
Select the Tomcat in the pulldown menu next to Application Server.
I hope this will help you.

Eclipse (STS) Open Resource "Show In" menu

When using STS 3.7.1.RELEASE (on Windows, based on Eclipse Mars.1 4.5.1), I'd like to navigate to a file using "Open Resource" dialog and show the file in Package or Project Explorer using the "Show In" button.
But the Show In menu only shows "Terminal" and no "Project Explorer" option. Why is that and how can I fix it? Are there any options to be configured to get it working?
4 years later, that has been fixed with Eclipse 2019-09:
The Show In context menu is now available for an element inside a resource project on the Project Explorer.

How do I disable "Run Monitor" in NetBeans?

I'm using NetBeans IDE v7.0.1.
When I try to run a program (F6 Shortcut), There is a pop-up window in the left side named "Run Monitor". How do I disable it?
Thank you all.
go into your project properties (right-click on the project --> properties or go to the "File" menu and select your project properties), select "profile" and uncheck the box "Show profiling indicators during run"
In more recent versions of NetBeans, we can disable HTTP monitor
in the Server Properties dialog. In the Services tab, we expand
the Server node. We right click on Apache Tomcat and select Properties.
In the Connection tab we uncheck the Enable HTTP monitor option.
We also may need to restart Tomcat.

"Open Project" button in Eclipse is disabled

I have just downloaded Eclipse, started it and found that "Open Project" button is disabled. So how do I open my project =) ?
"Open Project" button will only be enabled when there is a project selected in the active view. If you just downloaded Eclipse and started on a brand new workspace without any project created or imported, you would need to use File > New > Project... or File > Import... to add a project in your workspace.
Go to File->Import and select "General" and from the list select "Existing Projects into Workspace" then click "Next". After that in the next dialog, for the root directory, if your project exists in the "D:\Projects\Android\Test" folder (for example), type "D:\Projects\Android" and click on "Refresh" button. You will see your project(s) in the result list. Click on "Finish" and done.
The Reason is that if anyone is using the IDE for the first time the option of "open Project" is unavailable ,thus one may have to migrate to file->import->general->Existing Projects into Work space.That's it and browse up to that location as well select the type of project that means if you have unzipped type of files then select "select Root directory" option and if you have a zip version of it then select "select archive file" option.

upload only current file with netbeans

I'm using netbeans 6.9.1 to work on a php project, how do I manually upload a file without having to 'run' the project?
Under the options->keymap, I mapped Ctrl-L to upload, which is easy enough.
The only other place to upload is to right-click the file in the project browser and 'upload', unlike aptana there's no button for it, which is what got me stumped.
If you have the project's "Run Configuration" properly configured as a "Remote Web Site (FTP, SFTP)", then simply right-click on the file in the "Projects" pane and click on "Upload" in the file's context menu.
If you want to upload automatically on save instead of on run,
Right-click on the project node in the "Projects" pane (it's the top-most node in the tree)
Click on "Properties" in the project's context menu.
Click on "Run Configuration" in "Categories"
Change "Upload Files" to "On Save"
Click "OK"
If you sometimes want to upload on run, sometimes on save, sometimes only manually, sometimes to one server, sometimes to another server, or any combination of the run configuration options, then you can click on the "New..." button to create and save one or more run configurations. You can then choose which one is active on the run configurations project properties page, or set it through "Set Configuration..." on the project's context menu.