Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Instructions to build che with php plugin

Hi Job:

To add a plug-in to Che, you need to have the plugin & then add it to the Che assembly.

Get the PHP Plugin

There are two ways to get this:
1. Build it directly, or:
2. Reference from Codenvy's central nexus

To build directly:
2. mvn clean install.
3. This will build the JARs of all plugins and install them into your local maven repo.

Add Plugin to Che
You have to update a couple descriptor files and then tell Che to repackage itself.  This is documented here.

1. Add plugin as dependency: Navigate to /che/assembly-sdk-war/ and open pom.xml. You will need to add your plug-in as a dependency.

<dependency>
           <groupId>org.eclipse.che.plugin</groupId>
           <artifactId>che-plugin-php-ext-php</artifactId>
           <version>${che.plugins.version}</version>
</dependency>

2. Add plugin as IDE dependency: Navigate to /che/assembly-sdk-war/src/main/resources/com/codenvy/ide and open IDE.gwt.xml. 

<inherits name="org.eclipse.che.ide.ext.php.PHP"/>

3. Rebuild Che.  assembly-sdk/target/tomcat-ide/extInstall. This command will rebuild Che with the new dependencies.

4. Start Che. Start Che normally.

Let us know how it goes.

Tyler Jewell | CEO | tyler@​codenvy.​com | 9​78​.8​84​.53​55


On Sun, Sep 6, 2015 at 1:34 PM, Job Cespedes <jobcespedes@xxxxxxxxx> wrote:
Hi,

I've been playing around with che and the docker installation. Can someone provide further instrucction on how to build che with aditional plugins, like php, (from che-plugins github repo)?

Thanks.

--
Job Céspedes

_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/che-dev



Back to the top