Import alfresco project into eclipse - eclipse

I'm new in Alfresco I have download and installed "alfresco-community-4.2.f-installer-win-x64.exe" and I'm looking if I can import it as an eclipse project

The Alfresco Installer provides everything you need to run Alfresco. Install it, start it, away you go
However, if you want to either write your own Java code to run on Alfresco, or to extend/change Alfresco, it isn't what you need.
To build your own code on top of Alfresco, you'll most likely want the Alfresco SDK. That contains everything you need to:
Develop Alfresco Repository plug-ins such as:
Custom Actions / Conditions
Custom Aspects
Custom Transformers
Develop Applications against a standalone Alfresco server via Alfresco's Web Service API. In this case, the SDK works as a wrapper for the Alfresco API.
Embed Alfresco into existing Applications via Alfresco's Java Foundation API or standards-compliant JCR API
Alternately, if you want to make changes to Alfresco itself, then you'll need to grab the source code for it. The Source Code Wiki Page has the details of how to do that, and the 4.2f code is here

if you are using Maven you can try with Maven Alfresco SDK

Related

I get "Can't find any GWT Modules on this page"

I am trying to set up my eclipse with gwt and after I installed Jdk 8 and eclipse 2019-06 and gwt eclipse plugin 3.0 I created the sample project with code generated and when I try to run the sample code in GWT Development mode it gives me url http://localhost:9876 and when I open it I get "Can't find any GWT Modules on this page" Can you please help why It is giving me Can't find any GWT Modules on this page. I am assuming if I am running it in development mode I don't need to set up web server so I didn't. I didn't used gwt for long time and I am lost why it is giving me this can't find gwt module message when I load the page. Can you please help?
You still need a server, if you want to run any java code on your server. Such as code for talking to your database.
Gwt only does 2 things:
1: is is handling the client side, where it generate javascript from your java code.
2: It includes a .jar file, which can be used together with a java servlet server such as apache tomcat to serialize java objects which can then be send between the client and the server. And this .jar file will serialize all needed objects. And gwt will generate the needed javascript code.
Gwt does not itself include any http server. The address http://localhost:9876 is only used to configure gwt. It is just a page with 2 buttons to turn dev mode on/off.
The eclipse plugin does include a embeded webserver which can be used for gwt development. I have newer done this and I think that installing an independent java tomcat server is the best solution.
But if you want to use the eclipse embeded webserver you need the "Run in development mode with Jetty." - Jetty is the name of the embeded java servlet server.
Are you using the plugin from Google ?
If so, this is outdated. I advice you to use the plugin from branflake. You can find this plugin on GitHub : https://github.com/gwt-plugins/gwt-eclipse-plugin
Also on that GitHub page a lot of documentation is available. Like a link to a very helpfull YouTube playlist: https://www.youtube.com/watch?v=DU7ZQVLR5Zo&list=PLBbgqtDgdc_TqzA-qXrjgTFMC_6DKAQyT
My advice is to watch these YouTube videos to get you started. If you follow them all should be working without a problem.
I haven't used this plugin for a while since I switched to IntelliJ. But I did use it in GWT2.8.2 so it should still work fine.

Where do you put the libraries(sap.ui.core.js etc.) when downloading OPENUI5 SDK locally

I have a SAPUI5 Application developed via Eclipse(Using SAPUI5 Plugins) and now i want to call it to deploy on a Web Server.
But, in eclipse, i downloaded the plugins and libraries through Eclipse->New Software. Now, i want to download all libraries from http://openui5.org/download.html and place it locally.
Now, in eclipse version the code was
<script src="resources/sap-ui-core.js">
Now that i have downloaded the OPENUI5 SDK, where should i put it and how to refer it.
Most probably you will use Tomcat as a web server for testing, see here the basic steps for installation.

How do I use SASS in IBM MobileFirst project?

I have been engaged in developing IBM MobileFirst + Ionic applications for the last few months, but I still couldn't figure out a way to use SASS. How I managed till date is, I will have a static Ionic project with SASS setup and I re-use/copy-paste the HTML and CSS from this static www folder to actual MobileFirst project common folder.
Is there a better way around, like to have a node + gulp setup on the MobileFirst project?
NB: I'm using IBM MobileFirst 7.0.0
Cheers!
In Hybrid apps in v7.0, you use Eclipse. This makes things more complicated. In Eclipse you can use Ant scripts to alter the generated folder with anything you may need. Perhaps the Ant script could execute whatever it is that you need.
You can see an Ant script integration example in Studio, here: https://mobilefirstplatform.ibmcloud.com/blog/2015/08/03/integrating-3rd-party-cordova-plug-ins/
This will be easier for you in v7.1, where you can create "pure Cordova" apps using the command line, thus your integration points with other tools such as Node.js and gulp is much more natural, and more feasible.

Eclipse(+AppEngine SDK) & Google "push-to-deploy" GIT repository

Is it possible to use Eclipse (with AppEngine SDK plugin) and Google "push-to-deploy" together? I have managed to install "gcloud"-tools and initialize a project fine! But now I can't figure out how to combine Eclipse project structure and the structure generated by "gcloud init". I mean I would like to do this:
1) Use Eclipse to edit the application and test it locally in Development server as before
2) But also utilize Google "Push-to-deploy" GIT repository (instead of GitHub)
Is this possible or feasible and is there any instructions how to do this kind of project setup correctly.
Thanks for any tips!
After some more experiments with gcloud (Google Cloud SDK) I would recommend creating the project with Maven and use Maven for building & running the development server. Still you can import the Maven project in Eclipse and use that as Java editor + remote debugger. Here's the instruction to get started:
https://developers.google.com/appengine/docs/java/tools/maven
Also Google Endpoints is quite nice tool for building REST APIs (though it still has some weaknesses, like limited support for HttpServletRequest data and poor authorization support in Development server)
https://developers.google.com/appengine/docs/java/endpoints/

Consuming Web Services in Netbeans

I've setup a project in Netbeans 6.5 with some web services that I've created myself and some web services that I've imported from WSDL files. I've setup a couple of desktop application through Netbeans in order to consume these web services. I'm not too sure where to go from here.
I have the GUI setup but not sure how to reference the web services so they can be consumed. I was wondering would anybody be able to guide me through this process or point me in the direction of a relevant tutorial. I'd also like to learn how to consume a web service through a JSP (also created in Netbeans) if possible.
Thanks.
You may find this tutorial useful:
http://netbeans.org/kb/docs/websvc/client.html, but since you are using Netbean 6.5 this may be the correct version:
http://netbeans.org/kb/61/websvc/client.html. As the steps show, it isn't difficult to build a jax-ws client using Netbeans.
But, it depends on what version of Java you are using also, most likely. You may want to download the latest version of jax-ws, if you get errors with your wsdl.
For a JSP, just create a custom tag to call the client.