How to download "portal-impl.jar" jar file's source code? - liferay

How to download "portal-impl.jar" jar file's source code?

Liferay sources are hosted on GitHub - https://github.com/liferay/liferay-portal.
You can download them from there.

Related

How To Add External Dependency in Guidewire

I need an external library to be used in Guidewire. Below is the name of the library in which I am interested which is available on the maven repository.
I am not sure how to add an external java library inside ClaimCenter or PolicyCenter. Any suggestion will be much appreciated.
https://mvnrepository.com/artifact/com.docusign/docusign-esign-java
You can add external .jar files inside jdk installation directory.
Ex: jdk1.8.0_25\jre\lib\ext\docusign.jar.
Local machine - after adding the jar, Check in IDE: File->ProjectStructure->SDKs->Classpath. If added jar is not present, add it manually by '+'.
Higher env -> add the jdk1.8.0_25\jre\lib\ext\docusign.jar in same jdk dir, which tomcat is using.

Upload linux binary file to maven repository

I have searched a lot how I can upload files to maven, but I did not succeed.
I have got a binary file (called textgenerator) that I want to upload to one of maven repositories so it will be available to a lot more people.
Now I have some questions about it:
Could you tell me how I need to do this in steps (like a tutorial)?
Do I need a repo url? Where can I find one?
Is it possible to just upload a single binary (no jar file)?
I hope to hear from people soon.
I have tried this:
mvn deploy:deploy-file \
-Durl=https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/ \
-DrepositoryId=com.textgenerator \
-DgroupId=org.textgenerator \
-DartifactId=textgenerator \
-Dversion=1.2.3 \
-Dpackaging=rar \
-Dfile=textgenerator.rar
And I zipped the binary into a rar file with nothing else. But this fails with code 301
Firstly, the command line you are using is correct.
Secondly, yes, it is possible to upload any kind of file on maven repositories.
But you won't be allowed to upload anything on a public repository such as jboss's repository. This is managed by jboss and it is up to them to install new binaries (see the procedure here: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
).
If you want to share your binary file with your colleagues, you'll have to setup your own maven repository (such as artifactory (just a zip to decompress and a service to launch)).
This repository will be a kind of proxy in your company. All the maven libraries will be downloaded once and stored on this server. And as you'll be the administrator of this server, you'll be allowed to upload your binaries and share them with all your friends !
HIH
M.

phonegap Blackberry webworks plugin

I am trying to create a BlackBerry Webworks plugin using Phone gap. I am trying to follow the instructions given in this link:
http://wiki.phonegap.com/w/page/35799737/How%20To%20Create%20a%20PhoneGap%20Plugin%20for%20BlackBerry%20WebWorks
however, the directory structure mentioned in the link and mine vary significantly, also there is no build.xml in the root directory to run the
ant create-plugin command,
Since Phonegap being converted to Cordova Project, has something changed in the process to be followed?
Thanks in advance.
Currently the way plugin is added is different:
Add customplugin.js to your project's www folder and include a reference to it in your html file after cordova.js.
Add the plugin source to your cordova.jar in your projects ext folder. Open cordova.jar with your favorite archive manager or use the jar to copy the CustomPlugin.java file into org/apache/cordova/plugins directory.
In your projects plugins.xml file add the following line:
ref:
https://github.com/phonegap/phonegap-plugins/tree/master/BlackBerry/ChildBrowser

How to download this source code?

I want to download the source code from here: https://github.com/vimeo/vimeo-php-lib
I know I should do something like this on my Ubuntu 10.10 terminal:
git clone git://******.git
But I don't know the details. Where can I find the git://******.git?
Its written on that Url itself: Click on Git Read-only
git://github.com/vimeo/vimeo-php-lib.git
Otherwise, if you don't intend to do further development, fork or contribute and just want to see the source code, you can also download as .ZIP or .TAR.GZ from the Downloads button.

Where to download glassfish-3.0.1-b22 source code archive

Can anyone provide a link to a downloadable archive of the source code for GlassFish 3.0.1-b22?
I have tried using TortoiseSVN to checkout this directory without success,
https://svn.java.net/svn/glassfish~svn
The error is,
Checkout from https://svn.java.net/svn/glassfish~svn, revision HEAD, Fully recursive, Externals included
OPTIONS of 'https://svn.java.net/svn/glassfish~svn': could not connect to
server (https://svn.java.net)
I do not have access to the svn command.
The url should be
https://svn.java.net/svn/glassfish~svn/tags/3.0.1-b22/
Just verified, this one works.

Resources