Hybrid View

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    9
    Vote Rating
    0
    arnoldc is on a distinguished road

      0  

    Default Unable to create ExtJs workspace with Eclipse

    Unable to create ExtJs workspace with Eclipse


    I have trouble to create a ExtJS project with Eclipse (Helios) on OS-X. I have no issue with any other PHP/Javascript projects. Eclipse will simply stuck in "Building workspace", suck up most of the CPU time and eventually die out with java heap space.

    I have tried the following:
    - modified eclipse.ini file to crank up memory, try both 512M and 1024M with same result
    - clean up Eclipse workspace with "-clean" and "-initialize"
    - remove .metadata data to start from fresh
    - download latest Eclipse IDE

    It seems Eclipse is stuck in some recursive operations. Any insight. What other IDEs will you recommend as I am out of idea with Eclipse....

  2. #2
    Sencha User brittongr's Avatar
    Join Date
    Jun 2007
    Location
    Panama
    Posts
    109
    Vote Rating
    3
    brittongr is on a distinguished road

      0  

    Default


    try Unchecking Build Automatically option under Project menu. There is a thread about recommendations http://www.sencha.com/forum/showthre...ptana-Studio-3
    Greivin Britton

    My Extensions:
    Ext.ux.NumericField: Number field with support for currencySymbol, thousand separator, international...
    Ext.ux.PagerSizeSelector: A plugin that allows the change page size with just one click.
    Ext.ux.FieldAccess: A plugin to let the user know which fields are editable.

  3. #3
    Sencha User
    Join Date
    Jun 2011
    Posts
    9
    Vote Rating
    0
    arnoldc is on a distinguished road

      0  

    Default


    Thanks. It solves the initial workspace issue by skipping it but Eclipse remains very sluggish and causes a bus exception when I try to open up a file. My Eclipse is stable for any other projects just not with ExtJs in it.

    I switch to NetBean IDE and work like a charm on the same project folder. Not sure what gives. Will take a closer look at other IDEs per your suggestion later.

  4. #4
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,310
    Vote Rating
    112
    ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice

      1  

    Default


    Disable "JavaScript Validator" in "project properties" > "Builders":

    s1.jpg

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  5. #5
    Sencha User
    Join Date
    Jun 2011
    Posts
    9
    Vote Rating
    0
    arnoldc is on a distinguished road

      0  

    Default


    Thanks, by disabling the javascript validators, my eclipse drops back from constant 20-30%CPU usage back to normal 1-2% idle cycle and it becomes usable.

    So in order to use Eclipse with ExtJs, one has to do the following
    1. uncheck Build->Build Automatically
    2. uncheck Project->Properties->Javascript Validtors

    So essentially, I am using it as a text editor. Probably not a good choice for ExtJS development.

  6. #6
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,310
    Vote Rating
    112
    ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice

      0  

    Default


    Quote Originally Posted by arnoldc View Post
    1. uncheck Build->Build Automatically
    This is not necesary.

    Are you developing your server code in Java (Servlet, JSP, JAX, etc.)?

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!