Liferay Plugin SDK and CVS - liferay

To those working with Liferay and the Plugin SDK, the tutorials teach you how to create projects from the Plugin SDK directory. Unfortunately, this also keeps the project folder inside of the Plugin SDK directory.
My question is, has anyone figured a way to leverage the Plugin SDK but have your project directory anywhere you choose?
This leads to another issue because with everything contained in the Plugin SDK folder, we have to checkin the entire thing in our CVS. If we didn't do this, then all developers will have to install their Plugin SDK in a controlled manner, and the projects checked out from CVS directly to the Plugin SDK folder.
Any strategies, tips or alternatives are appreciated.
Thanks in advance.

When using ANT based plugins SDK (which is default when you use Liferay IDE or Developer studio), I used to check in entire Plugins SDK to SVN/CVS at the time of starting the project. The entire development team would then check out the plugins sdk and check in their artifacts in appropriate folders i.e. portlets, hooks, themes, etc. It worked really well for us. The SDK itself doesn't have a big footprint, and it really helps organizing your plugins and building them.
Another approach is to maven-ize them. With this approach you don't have to commit your plugins SDK to CVS/SVN, but it Liferay IDE is not configured with Maven based plugins sdk yet (AFAIK).
You can decide the best approach that suits your needs. Hope this helps!

Related

Installing plugins in JetBrains Fleet

Hey guys I was trying out Fleet and really liked it but I had a hard time configuring it. I wanted to install a plugin but I couldn't find an option to add plugin anywhere.
Does anyone know how to install plugins in JetBrains Fleet?
I wanted to install a plugin but I couldn't find an option to add plugin anywhere.
That's because Fleet does not support custom (non-bundled) plugins yet (as of October 2022).
https://www.jetbrains.com/fleet/
Does Fleet support plugins?
Fleet will have its own extensibility model, and we are also looking into the option of re-using existing IntelliJ-platform plugins for Fleet. We will provide more information about these extensibility options at a later date.
https://blog.jetbrains.com/fleet/2022/10/introducing-the-fleet-public-preview/
At the same time, we’re working in the following areas:
API support and an SDK for plugin authors – Given that Fleet has a distributed architecture, we need to work on simplifying the approach for plugin authors. While we guarantee that we’ll be providing a platform for extending Fleet, we do ask for a bit more patience in this area.
with latest fleet preview, you could install plugins manually, e.g: use the famous vim plugin for fleet as an example:
download the latest zip from https://plugins.jetbrains.com/plugin/20568-fleetvim/versions#tabs
unzip the download file
copy the unzipped dir to the plugin dir of jetbrain fleet app, I installed the latest fleet preview by jetbrian toolbox, and the cp command would be:
cp -af ~/path/to/download/fleet.fleetVim-1.13.95 "~/Library/Application Support/JetBrains/Toolbox/apps/Fleet/ch-1/1.13.92/Fleet.app/Contents/Frameworks/FleetBackend 2023.1 EAP.app/Contents/plugins/"
restart the fleet app and choose Enable vim emulation from the General tab of the fleet app preference.
There's no information on how to install it, but I notice that the Svelte plugin claims to be Fleet compatible:
https://plugins.jetbrains.com/plugin/20504-svelte/
Fleet doesn't support plugins yet. JetBrain Fleet page
Sorry, screenshot is in French

How to use makeappx to create msixbundle files that can be uploaded to the store according to the appxmanifest file?

For some reason(about the digital signature of the desktop bridge app, see here), I can't use visual studio to package my project. Makeappx seems to be able to do this, but those commands are too complex for me. Is there an easier way to achieve this?
Or to put it another way, how can I directly refer to the EXE file (which I can sign) rather than just the project in the application package project?
If Visual Studio is too complicated I recommend you get the free Express edition from Advanced Installer.
In the link include you can find a video that shows how to build an MSIX package (for bundle just change the radio button option from Builds page).
Additional info -
Publishing an MSIX package in the MS store.
Disclaimer: I work on the team building Advanced Installer.

Android studio sdk does not contain any platforms

I downloaded Android studio from their website for windows. It contained 790 Mb. But there is a message shown like
SDK is missing
I followed answers for this issue of missing android studio SDK in here. But my problem is not solved yet.
I have another problem. There is a message shown
SDK does not contain any platforms
when I chose the SDK location by going to configure > project defaults > project structure.
May be some files are not downloaded,try again with your internet connection.It will ask to download some additional files, press allow.
this problem faced by almost everyone due to network problem .
You can easily resolve this error. I suggest you ,if any of your friends already installed android studio then copy sdk from him/her and paste into your sdk path and don't forget to delete sdk.
In this process ,your internet should work so that rest of the things it can download .
this is the best and easy way to resolve sdk error.After that you can download platform tools easily by going to settings>>Android sdk>> sdk tools.
Open the SDK Manager to download the NDK bundle.When your download completed, maybe there'r two different folders you have. One is ndk-bundle the other is ndk/22.0.7026061(the version you choose to download). And just use the behind one
As the log said before. Make sure you have config the ndk.dir in local.properties or the system global path variable.Or you also can open the project structure dialog to choose the Ndk location.Still use the behind folder( ndk/22.0.7026061).
If you have config it and still have the same problem.you can use the SDK Manager to download the NDK lower version one(like 21.0.6113669).Cause it may not match to your AS version
Then repeat the step two
That's work nice for me

Android Rss Reader Library gradle integration

I am trying to use this Rss reader library in android studio.But the project site does not state any gradle integration link. I searched and followed the link here. However, that link is also not working. Can anyone give me any solution to this?
https://github.com/matshofman/Android-RSS-Reader-Library
This project is very old, and it doesn't have a gradle support.
However it has only 4 classes without dependencies.
The quickest way to integrate in your project is to clone the 4 classes inside your project.

Is there a NodeJS plugin for Aptana Studio?

Is there a NodeJS plugin for Aptana Studio?
At least for NodeJS code-assist
And perhaps a way to create NodeJS project
And local NodeJS debugging
We have no NodeJS support currently. If this is something the community is interested in, it'd be helpful to file a feature request and vote it up: http://jira.appcelerator.org/secure/CreateIssue!default.jspa
Since we are built on eclipse, you should be able to try out the instructions for NodeJS debugging on Eclipse, found here: https://github.com/joyent/node/wiki/Using-Eclipse-as-Node-Applications-Debugger
As for special NodeJs projects, there's no notion of that. You would likely just create a normal Web project. We do have the concept of libraries that you can add to a project, wherein you could point to js files/libs for NodeJS. We also has special syntax files for describing JS libraries/APIs so it can be integrated into our content assist. A good example might be the ruble we have for jQuery which contains that file for two versions of the jQuery API. Here's the 1.6.2 version: https://github.com/aptana/javascript-jquery.ruble/blob/master/support/jquery.1.6.2.sdocml The bundle.rb up in the parent directory hooks up the file in the ruble/bundle.
My guess is that creating an analogous NodeJS ruble and building up an sdocml (xml) file that described the API would be the easiest way to get started. Sharing that on github and sending it to us would allow for others to contribute as well. There are docs for creating rubles here: http://wiki.appcelerator.org/display/tis/Creating+a+new+Ruble
UPDATE: Project URL is http://nodeclipse.github.io/
There is Nodeclipse.org effort. Current version is 0.11 see http://www.nodeclipse.org/history .
Recommended installation for Aptana users through Enide - Eclipse Node.js IDE
Features
Creating default structure for New Node Project and New Node Source File
JavaScript Syntax highlighting
Content Assistant
NPM support
Debugging - Breakpoint, Trace, etc... via modified Eclipse debugger plugin for V8
CoffeeScript support
Installing
Update Site : http://www.nodeclipse.org/updates/
Read also Hints (section Aptana Studio)
(source: nodeclipse.org)
Read http://www.nodeclipse.org/ for more & latest information.
I highly recommend using Sublime Text 2.
There are a few nodejs plugins as well as v8 javascript [Sublime v8] and standard ECMA-262.
This is not a direct answer to your question, but if you're looking for a good IDE for node.js, you should definitely try Microsoft WebMatrix 2. It basically does what you requested to do.
I was fed up of fighting with Aptana Studio and plugins and all this stuff... until I found out Sublime Text. Simple and wonderful.

Resources