Nodeclipse / coffeescript-eclipse

CoffeeScript plugin for Eclipse using XText (moved to Nodeclipse; looking for new owner)
http://www.nodeclipse.org/coffeescript/
20 stars 9 forks source link

Build is not explicit / slow #9

Closed paulvi closed 11 years ago

paulvi commented 11 years ago

@pulse00

Currently mvn build downloads some Kepler build. I have slow connection (China is far from Canada), and several attempts finished with error.

Question: is there sense to select exact version of Eclipse platform?

Related #3

pulse00 commented 11 years ago

You can try to change to juno here, https://github.com/Nodeclipse/coffeescript-eclipse/blob/master/pom.xml#L20 but i doubt that it'll reduce the size of the packages maven needs to download.

Eclipse maven builds are large, yes ;)

paulvi commented 11 years ago

Should go to our FAQ

paulvi commented 11 years ago

However I still have problem with build, and every build maven needs to downloads 10-20 files. That make build 3-20 minutes long. I don't wait for it. I just check in half an hour....

I will update after several more tries at home & at work PC.

pulse00 commented 11 years ago

@PaulVI sorry, that's just the way maven works. you can have a look here at our build times of several projects: http://ci.pdt-extensions.org/ - they range between 20 seconds and 14 minutes, depending on the project size.

pulse00 commented 11 years ago

fyi, the build takes about 2 minutes on my 2009 mac book pro:

[INFO] parent ............................................ SUCCESS [0.264s]
[INFO] csep .............................................. SUCCESS [15.493s]
[INFO] csep.ui ........................................... SUCCESS [5.829s]
[INFO] csep.feature ...................................... SUCCESS [0.435s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:56.989s
[INFO] Finished at: Tue May 21 22:49:43 CEST 2013
[INFO] Final Memory: 108M/597M
[INFO] ------------------------------------------------------------------------
paulvi commented 11 years ago

mvn package result

[INFO] --- tycho-compiler-plugin:0.17.0:compile (default-compile) @ csep ---
[INFO] Compiling 25 source files to C:\Users\weibl\Documents\GitHub\coffeescript-eclipse\csep\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] parent ............................................ SUCCESS [0.001s]
[INFO] csep .............................................. FAILURE [5.915s]
[INFO] csep.ui ........................................... SKIPPED
[INFO] csep.feature ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:21.850s
[INFO] Finished at: Thu May 23 17:31:21 CST 2013
[INFO] Final Memory: 86M/330M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.17.0:compile (default-compile) on project csep: Compilation failure: Compilation failure:
[ERROR] C:\Users\weibl\Documents\GitHub\coffeescript-eclipse\csep\src\csep\validation\CoffeeScriptJavaValidator.java:[4,0]
[ERROR] public class CoffeeScriptJavaValidator extends AbstractCoffeeScriptJavaValidator {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] AbstractCoffeeScriptJavaValidator cannot be resolved to a type
paulvi commented 11 years ago

The same when using <url>http://download.eclipse.org/releases/juno</url>

[INFO] --- tycho-compiler-plugin:0.17.0:compile (default-compile) @ csep ---
[INFO] Compiling 10 source files to C:\Users\weibl\Documents\GitHub\coffeescript-eclipse\csep\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] parent ............................................ SUCCESS [0.001s]
[INFO] csep .............................................. FAILURE [1.440s]
[INFO] csep.ui ........................................... SKIPPED
[INFO] csep.feature ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:16.268s
[INFO] Finished at: Thu May 23 18:31:10 CST 2013
[INFO] Final Memory: 86M/460M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.17.0:compile (default-compile) on project csep: Compilation failure: Compilation failure:
[ERROR] C:\Users\weibl\Documents\GitHub\coffeescript-eclipse\csep\src\csep\validation\CoffeeScriptJavaValidator.java:[4,0]
[ERROR] public class CoffeeScriptJavaValidator extends AbstractCoffeeScriptJavaValidator {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] AbstractCoffeeScriptJavaValidator cannot be resolved to a type
pulse00 commented 11 years ago

@PaulVI the build issue should be resolved through https://github.com/Nodeclipse/coffeescript-eclipse/commit/810712b157d1bd83bdad20e60daff2e4fd31a208

paulvi commented 11 years ago

Excellent. Waiting.

I noticed there are a lot of generated files. Would it make sense to add them (or folder they are in) to .gitignore ?

By the way, I started with Nodeclipse/nodeclipse-1#26

paulvi commented 11 years ago

Worked well with Kepler repository