Hi,

The following differences were observed in analyzing the two project
mentioned in $Subject in-order to get a basic idea on integrating an editor
to Codenvy SDK

1.In IDE.gwt.xml inherit the codenvy extension

  <inherits name='com.codenvy.ide.ext.wso2.WSO2'/>

2. In IDE_dev.gwt.xml inherit similarly (I fail to understand why a single
project has two gwt.xml files)

  <inherits name='com.codenvy.ide.ext.wso2.WSO2'/>

3. In main pom.xml add the property within the properties tag


<codenvy-plugin-wso2-version>1.0.0-M1-SNAPSHOT</codenvy-plugin-wso2-version>

4. In assembly-platformapi pom.xml add codenvy-ext-wso2-core as a dependency

5. In assmbly-ide pom.xml add codenvy-ext-wso2-core as a dependency

6. have the wso2-editor-1.0.0-M1-SNAPSHOT.jar
and codenvy-ext-wso2-core-1.0.0-M1-SNAPSHOT.jar in the following locations:

*a.* sdk/assembly-ide/target/assembly-ide-3.0.0/WEB-INF/lib/
*wso2-editor-1.0.0-M1-SNAPSHOT.jar*
*b.* sdk/assembly-platform-api/target/api/WEB-INF/lib/
*wso2-editor-1.0.0-M1-SNAPSHOT.jar*
*c.* sdk/assembly-sdk/target/tomcat-ide/webapps/api/WEB-INF/lib/
*wso2-editor-1.0.0-M1-SNAPSHOT.jar*
*d.* sdk/assembly-ide/target/assembly-ide-3.0.0/WEB-INF/lib/
*codenvy-ext-wso2-core-1.0.0-M1-SNAPSHOT.jar*
*e.* sdk/assembly-platform-api/target/api/WEB-INF/lib/
*codenvy-ext-wso2-core-1.0.0-M1-SNAPSHOT.jar*
*f.* sdk/assembly-sdk/target/tomcat-ide/webapps/api/WEB-INF/lib/
*codenvy-ext-wso2-core-1.0.0-M1-SNAPSHOT.jar*


Therefore our approach needs to be not developing a basic GWT project as it
will not be extendable from Codenvy as a plugin. We need to write our GWT
project as a codenvy extension to be possible to be integrated with
codenvy-sdk.

Approach to follow->

create a basic Codenvy extension project template from codenvy-> Develop
our editor using the generated project's Entry point extensions and MVP
structure (preferably using IntelliJ)

Please advice on this approach.

thanks and regards
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to