-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using che-install-plugin.sh to install example IDE plugin #1148
Comments
Hello: Everything that you said was accurate. If you ran the script without modifying any options then the Che assembly should be modified with your changes. The output seems to indicate that happened. Do you have the full output to share? |
@TylerJewell I confirm that the extension never ends up in the assembly. No entries in GWT.xml and pom, no jar in tomcat's webapps. |
Ok great - was just about to upload the build log, but I guess not necessary now. |
@objectiser @eivantsov -- Head scratcher for me. I just installed from master (4.3.0 RC1-SNAPSHOT) and was able to get the server-side extension to compile and was able to use the utility script to get it added. I did not yet try the IDE extension, however. Will you go ahead and post your logs for output? |
@TylerJewell I tried IDE extension. Will give it another shot later today. |
@TylerJewell The log is here: http://paste.fedoraproject.org/361348/14620343 Thanks. |
@objectiser Thank you. Most helpful. Will you confirm that you ran the script with no options? You didn't have any flags on the command. |
I just used the assembly option. |
@objectiser @eivantsov I can confirm the issue and have a resolution. It turns out that pom model writing of the IDE extension was being overwritten because we use the InstallExtension utility twice. Long story short, your extension was being added and then it was being removed. I'll issue a fix to the che-install-plugin.sh script shortly. @eivantsov - FYI, the IDE extension no longer compiles with 4.3.0-RC1-SNAPSHOT. The dependencies have shifted around and it looks like the notify() method has different parameters. I had to update the pom.xml and the source file to make it work. |
I will update parent versions for example extentions. |
@objectiser @TylerJewell I merged the PR and updated sample extensions to use 4.2.1 parent. @objectiser you may just grab the updated script here https://raw.githubusercontent.com/eclipse/che/master/assembly/assembly-main/src/assembly/bin/che-install-plugin.sh and give it another shot. |
@objectiser This is now fixed in master. Going to close this issue. Thank you for reporting it. |
Sorry was away so didn't get to try - will try it out soon. Thanks for fixing so quickly. |
Hi
I built Che and the simple IDE extension from source. I then copied the che-examples-action-.jar into the plugins/ide folder of the Che assembly. Then I ran the che-install-plugin.sh command, which seemed to detect the plugin:
CHE SDK: Adding IDE extensions as dependencies
Extension found org.eclipse.che:che-examples-action:4.2.0-RC1-SNAPSHOT
Including GWT module examples.MyExtension
Found: 1 extension(s)
However, when I started up the server in the new'y build plugins/assembly/target folder, and opened the brower, created a workspace, etc, it didn't show the My Action menu item.
When looking at the documentation on https://eclipse-che.readme.io/docs/developing-extensions IDE Extension Example, it only talks about manually changing the maven files, etc, before doing a build - but I assume that these steps were automatically being performed by the che-install-plugin.sh script? If that is correct, any ideas what I have missed?
Thanks in advance.
The text was updated successfully, but these errors were encountered: