Skip to content
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

Problems with Eclipse Che build. #2576

Closed
friendRU opened this issue Sep 23, 2016 · 3 comments
Closed

Problems with Eclipse Che build. #2576

friendRU opened this issue Sep 23, 2016 · 3 comments
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.

Comments

@friendRU
Copy link

friendRU commented Sep 23, 2016

Hello. I've some problems with build an Eclipse Che.

Actually, I want to write a plugin.

When I make 'git clone 5.0.0-M2' and trying to build it, then I receive "build-log.txt". Look it.
When I'm trying make 'mvn clean install -Dmaven.test.failure.ignore=true' or something similar, then I receive "build-log1.txt". E.t.c.

I can solve some of the problems that arise, but not all. In the end, I get too difficult problems for my understanding.

Maybe I'm doing something wrong?

Che version: 5.0.0-M2
Maven version: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T20:41:47+04:00)
Maven home: C:\Tools\apache-maven-3.3.9
Java version: 1.8.0_101, vendor: Oracle Corporation
Java home: C:\Tools\Java\jdk1.8.0_101\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"

@friendRU
Copy link
Author

friendRU commented Sep 23, 2016

Then I'm also trying to build Che with simple extension.

I downloaded a simple extension from here

  1. Add to "..\che\assembly\assembly-ide-war\src\main\resources\org\eclipse\che\ide.IDE.gwt.xml":
<module rename-to='_app'>
        <inherits name="examples.MyExtension"/>
</module>
  1. Add to "..\che\assembly\assembly-ide-war\pom.xml":
<dependencyManagement>
    <dependencies>
           <dependency>
              <groupId>org.eclipse.che</groupId>
              <artifactId>che-examples-action</artifactId>
              <version>4.3.0-RC1</version>
           </dependency>
    </dependencies>
 </dependencyManagement>
<dependencies>
        <dependency>
           <groupId>org.eclipse.che</groupId>
           <artifactId>che-examples-action</artifactId>
        </dependency>
 </dependencies>
  1. Make mvn sortpom:sort from "..\che\assembly\assembly-ide-war"

  2. Make mvn clean install from "..\che"

All I'm doing right?

@TylerJewell
Copy link

After you have updated your dependencies, then you should try building in /che/assembly/assembly-main. This will generate the full assembly for you. You don't need to rebuild the entirety of che itself, as that goes into rebuilding every module one at a time, and some of those modules will not build without special utilities.

@TylerJewell TylerJewell added the kind/question Questions that haven't been identified as being feature requests or bugs. label Sep 23, 2016
@ghost
Copy link

ghost commented Sep 25, 2016

@friendRU just run mvn clean install in /assembly - this will be enough to recompile modules you have made changes in, as well as build the assembly-main module with binaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.
Projects
None yet
Development

No branches or pull requests

2 participants